Skip to content

ajithhraj/Alrcade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

AIrcade — AI-Powered Arcade Games

Classic arcade games where the AI opponent learns and adapts using Q-Learning (Reinforcement Learning).

Games

  • Pong — AI paddle learns your shot patterns and adapts its strategy
  • Snake — AI snake evolves across generations, getting smarter each time

How It Works

The AI uses Q-Learning — a model-free reinforcement learning algorithm. It starts with zero knowledge and learns purely from experience:

  • Reward for scoring / eating food
  • Penalty for losing / crashing
  • Q-Table maps game states → optimal actions
  • Epsilon-greedy exploration decays over time

Features

  • Live Q-Value visualization — see what the AI is thinking in real time
  • AI generation tracking (Snake)
  • Pattern detection — AI identifies your play style
  • Difficulty levels

Run Locally

pip install -r requirements.txt
streamlit run app.py

Author

Ajith Raj — github.com/ajithhraj

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages