A web-based collection game inspired by the "2 Cars" concept. Control six squares to collect adventure-themed emojis moving across roads!
- 42 Unique Adventures: Collect different adventure emojis categorized into Places & Nature, Transport, and Wildlife
- Progressive Difficulty: Game gets harder over 60 seconds with increasing speed and spawn rates
- 2-Minute Challenges: Quick, exciting gameplay sessions
- Collection Tracking: Keep track of your unique discoveries
- Smooth Animations: Built with modern web technologies for optimal performance
- Python 3.8+
- pip
- Clone the repository
git clone https://github.com/oib/adventurehopper.git
cd adventurehopper- Create and activate virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies
pip install -r requirements.txt- Run the game
uvicorn main:app --reload --host 0.0.0.0 --port 8000- Open your browser and navigate to
http://localhost:8000
- Click ๐ฎ Start Game to begin
- Click on the blue pipes to move orange squares up or down
- Collect adventure emojis as they pass by
- Try to collect all 42 unique adventures before time runs out!
- The game gets progressively harder - speed increases and more obstacles appear
adventurehopper/
โโโ main.py # FastAPI server and API endpoints
โโโ requirements.txt # Python dependencies
โโโ static/ # Frontend assets
โ โโโ index.html # Main game HTML
โ โโโ style.css # Game styling and animations
โ โโโ config.js # Game configuration constants
โ โโโ app.js # Main game logic
โโโ docs/ # Documentation
โโโ game-programming-documentation.md
- Backend: Python with FastAPI
- Frontend: Vanilla JavaScript (ES6 Modules)
- Styling: CSS3 with CSS Variables
- Animation: Web Animations API
- Server: Uvicorn ASGI
For detailed technical documentation about how the game is programmed, see game-programming-documentation.md.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Score persistence with database
- User profiles and statistics
- Achievement system
- Sound effects and music
- Mobile touch support
- Pause functionality
- Multiplayer mode
This project is open source and available under the MIT License.
| Action | Control |
|---|---|
| Move Square Up/Down | Click on corresponding pipe |
| Start Game | Click ๐ฎ Start Game button |
| Reset Game | Click ๐ Reset Game during play |
Happy adventuring! ๐