A classic arcade-style game where you eat dots while dodging intelligent AI robots that learn your movement patterns and get smarter over time!
- ๐ง Intelligent AI: Robots that learn your movement patterns and adapt their hunting strategies
- ๐ Progressive Difficulty: Each level adds more robots AND makes them smarter
- โ๏ธ Fully Configurable: Customize robot count, lives, completion percentage, and power-up duration
- ๐ Persistent Leaderboard: Top 3 high scores with player names saved locally
- ๐ฏ Classic Gameplay: Eat dots, avoid robots, grab power-ups to turn the tables
- ๐จ Modern UI: Clean, responsive design with smooth animations
- Enter your name and click "Start Game"
- Use arrow keys to move your yellow character around the maze
- Eat the yellow dots to score points and progress through the level
- Avoid the red robots - they're learning your patterns and getting smarter!
- Grab green power-ups to temporarily become invincible and eat the robots
- Complete 80% of the board to advance to the next level
- Survive and score high to make it onto the top 3 leaderboard!
- โ โ โ โ Arrow Keys: Move your character
- Configuration Menu: Adjust game settings
- High Scores: View the top 3 players
- Node.js (version 14 or higher)
- npm (comes with Node.js)
-
Clone the repository
git clone https://github.com/yourusername/eaterai.git cd eaterai -
Install dependencies
npm install
-
Start the development server
npm start
-
Open your browser and navigate to
http://localhost:3000
npm run buildThis creates a build folder with optimized production files.
-
Update package.json with your GitHub username:
"homepage": "https://yourusername.github.io/eaterai"
-
Install gh-pages (if not already installed):
npm install --save-dev gh-pages
-
Deploy to GitHub Pages:
npm run deploy
Your game will be live at https://yourusername.github.io/eaterai
The robots in EaterAI aren't just simple chasers - they're genuinely intelligent:
- Pattern Recognition: Robots remember where you've been and predict where you're going
- Adaptive Pathfinding: AI learns your favorite escape routes and cuts them off
- Cross-Level Learning: Robots get smarter between levels, not just more numerous
- Coordinated Hunting: Multiple robots work together to corner you
- Dynamic Difficulty: The challenge evolves based on your playstyle
Customize your experience:
- Starting Robots: 1-8 robots to begin with
- Lives: 1-5 lives per game
- Completion Percentage: 70-90% board completion to advance
- Power-up Duration: 3-10 seconds of invincibility
- React 18.2.0 - Frontend framework
- Tailwind CSS - Styling and animations
- Lucide React - Modern icons
- Custom AI Algorithm - Smart robot behavior and learning
EaterAI works on all modern browsers:
- Chrome, Firefox, Safari, Edge
- Mobile browsers (iOS Safari, Chrome Mobile)
- Responsive design for desktop and mobile
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is open source and available under the MIT License.
- Study the robots: They learn from your movements, so try changing your patterns!
- Use walls strategically: Corner yourself deliberately to force robots into predictable paths
- Save power-ups: Don't grab them immediately - wait for the right moment
- Watch the progress bar: You only need 80% completion, so plan your route efficiently
- Each level teaches the AI: The robots get smarter, so adapt your strategy!
Found a bug? Please open an issue with:
- Description of the problem
- Steps to reproduce
- Expected vs actual behavior
- Browser and device information
If you enjoyed EaterAI, please give it a star! It helps others discover the game.
Happy Gaming! ๐ฎ
Challenge yourself against AI that actually learns and evolves. Can you outsmart the machines?