Skip to content

0xchukss/GenLayer-Racer-Game

Repository files navigation

# 🏎️ Crypto Racer - Web3 Racing Game

A decentralized racing game built on GenLayer Asimov Testnet. Players must pay an entry fee in GEN tokens to play and compete on the global leaderboard.

## 🎮 Features

- **Web3 Integration**: Connect wallet and pay to play
- **Blockchain Payments**: All transactions on GenLayer testnet
- **Real-time Racing**: Dodge obstacles and compete for high scores
- **Global Leaderboard**: On-chain score tracking
- **Persistent Storage**: Saves your progress

## 🚀 Tech Stack

- React + Vite
- Tailwind CSS
- Web3 (MetaMask)
- Smart Contracts (Solidity)
- GenLayer Asimov Testnet

## 📋 Prerequisites

- MetaMask or Web3 wallet
- GEN testnet tokens
- Modern web browser

## 🛠️ Local Development

\`\`\`bash
# Install dependencies
npm install

# Run development server
npm run dev

# Build for production
npm run build
\`\`\`

## 🎯 Game Configuration

- **Network**: GenLayer Asimov Testnet
- **Chain ID**: 4221
- **Entry Fee**: 0.001 GEN
- **Contract**: 0x78B212F2081468aFEE03F6c7f0b32f8E1aA12aFC

## 🎮 How to Play

1. Connect your Web3 wallet
2. Switch to GenLayer Asimov Testnet
3. Pay 0.001 GEN entry fee
4. Use arrow keys to control your car
5. Avoid obstacles and set high scores!

## 📝 License

MIT License

## 🤝 Contributing

Contributions welcome! Feel free to submit issues and pull requests.

---

Built by Chuksdakingz for the Genlayer community

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published