Skip to content

kaizen108/flappy-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐾 Flappy Pokemon AI

An intelligent Flappy Pokemon game where Pokémon learn to play Flappy-style gameplay using AI.
Watch a crowd of Pokémon start clueless and evolve their behavior over time—no player input needed!

👉 Live Demo: https://flappy-pokemon.onrender.com/


🚀 What Is This?

Flappy Pokemon AI is a creative blend of game mechanics and artificial intelligence.
Inspired by classic AI-learning games like Flappy Bird AI, this project shows how simple evolutionary behaviors emerge as virtual agents (Pokémon) improve through repeated attempts. :contentReference[oaicite:0]{index=0}

Players don’t control anything — the Pokémon learn by trying, crashing, improving, and adapting over time.


🎮 Features

✔ AI-driven learning behavior
✔ 500 Pokémon simultaneously learning
✔ Adjustable AI speed via UI slider
✔ Lightweight, visual, and fun to watch
✔ Built with modern web stack


🛠 Built With

  • React & TypeScript – Frontend powered by modern UI
  • HTML/CSS – Interactive game display
  • AI logic in TypeScript – Evolution and learning behavior
  • Node / NPM – Package management & dev tooling

⚡ How It Works

When you run the project:

  1. A flock of Pokémon appears
  2. Each Pokémon tries to survive the Flappy-style obstacles
  3. AI logic adjusts behavior over time to avoid crashes
  4. A visible learning curve emerges right in the browser

The slider at the bottom lets you speed up or slow down the training loop so you can watch evolution happen faster or slower.


📦 Getting Started

Clone the repo

git clone https://github.com/rennyjr98/flappy-pokemon-ai.git

Install dependencies

npm install

Start the development server

npm start

Open your browser at http://localhost:3000 to see Pokémon evolve in real time

🎯 Project Structure

flappy-pokemon-ai/
├── public/                  # Static assets
├── src/                     # Frontend source code
│   ├── ai/                  # AI / evolution logic
│   ├── components/          # React UI components
│   ├── styles/              # CSS
│   └── App.tsx              # Main UI entry
├── package.json             # NPM dependencies
├── tsconfig.json            # TypeScript config
└── README.md                # This file

About

An intelligent Flappy Pokemon game where Pokémon learn to play Flappy-style gameplay using AI. Watch a crowd of Pokémon start clueless and evolve their behavior over time—no player input needed!

Topics

Resources

Stars

Watchers

Forks

Contributors