Skip to content

DevNick21/WhackAMole_QLearning

Repository files navigation

Whack A Mole

Whack-a-mole is a popular arcade game which challenges the reaction time of the player to the random or patterned appearance of a mole in a hole in this project we implemented Q-learning to train the agent to maximise the rewards by learning from the game and predicting the mole position.

Run Locally

Clone the project

  git clone https://github.com/DevNick21/WhackAMole_QLearning

Go to the project directory

  cd my-project

Install dependencies

  pip install numpy==1.26.4 matplotlib==3.9.2 pandas==2.2.3 pygame==2.6.1 seaborn==0.13.2

License

Apache License 2.0

About

This project demonstrates Q-learning, a reinforcement learning algorithm, to train the agent to maximise the rewards by learning from the game and predicting the mole position in a Whack-a-mole game environment

Resources

License

Stars

Watchers

Forks

Contributors

Languages