Skip to content

Repository files navigation

Infinite Car Runner 🚗

An endless highway driving game built with Three.js and powered by Claude AI. Navigate through dynamic biomes while dodging traffic and avoiding obstacles on an infinite procedurally generated road. Features an environmental awareness system that tracks your carbon footprint as you drive.

🎮 Game Features

Current Features

  • Infinite Highway Generation: Procedurally generated road that extends endlessly as you drive
  • Two Distinct Biomes:
    • 🏙️ City: Urban landscape with buildings and road intersections
    • 🌾 Farmland: Rural scenery with railroad tracks
  • Dynamic Obstacles:
    • Traffic vehicles to dodge
    • Potholes to avoid
  • 🌍 Environmental Impact System: Real-time pollution calculation that tracks emissions generated by your car during gameplay
  • 3D Environment: Fully rendered 3D world using Three.js

🚧 Development Status

This game is currently in active development. Features and gameplay mechanics are being continuously improved and expanded.

🛠️ Technologies

  • Three.js: 3D graphics rendering
  • Claude AI: Game design and code generation assistance
  • JavaScript: Core game logic

🎯 How to Play

  • Control your car as it travels along the highway
  • Avoid oncoming traffic
  • Navigate around potholes
  • Watch your pollution meter increase as you drive
  • Experience seamless biome transitions between city and farmland environments

🚀 Getting Started

Click the link on the right or Play the Game to play

🎨 Game Elements

City Biome

  • Urban buildings
  • Road intersections
  • City atmosphere

Farmland Biome

  • Open fields
  • Railroad tracks
  • Rural landscape

Obstacles

  • Moving traffic
  • Road potholes
  • More obstacles coming soon!

Environmental Tracking

  • Real-time pollution calculation
  • Visual feedback on emissions
  • Environmental awareness gameplay element

📋 Planned Features

  • Score system
  • Power-ups and collectibles (eco-friendly bonuses?)
  • More biome variety
  • Enhanced traffic AI
  • Sound effects and music
  • Mobile touch controls
  • Difficulty progression
  • Visual effects and particles
  • Pollution reduction mechanics
  • Environmental impact statistics

🌱 Environmental Message

This game includes a pollution tracking feature to raise awareness about vehicle emissions and their environmental impact. The pollution calculator serves as both a gameplay element and an educational tool.

🤝 Contributing

This project is in early development. Contributions, ideas, and feedback are welcome!

📝 License

[Add your license here]

🙏 Acknowledgments


Note: This is a work-in-progress project. Expect bugs and frequent updates as development continues!

About

An infinite car running game made with ai

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages