AI Jenga
A downloadable game for Windows
AI Jenga is a digital take on the classic game of Jenga, but with a twist—AI opponents! This game was created as a final project for the Introduction to Artificial Intelligence course at the Hebrew University of Jerusalem.
The AI agents in the game learn from each of their moves. One uses a Deep Q Network (DQN), which estimates the best possible moves by predicting the future rewards of its actions, constantly improving through trial and error. The other agent uses SARSA, a method that updates its strategy based on the moves it actually takes, making it more cautious in risky situations. Both agents aim to maximize their chances of winning by learning which moves destabilize the tower for their opponent without toppling it.
Since machine learning is often done via Python, this project incorporates TCP communication between Unity and Python to connect the game environment with the AI agents, the diagram of which can be seen in the screenshots.
The game allows players to face off against AI opponents or each other, and even watch AI algorithms in action. Test your skills against smart opponents who calculate the risk of each move and balance strategy with the chance of causing the tower to fall. How long can you keep the tower standing?
Developers:
Published | 2 days ago |
Status | Released |
Platforms | Windows |
Author | Yonatan Vologdin |
Genre | Puzzle |
Tags | ai, machine-learning, ml |
Download
Install instructions
- You need to have Python installed.
- Unpack the zip file and run the
game.py
script, which should launch the game executable automatically. - If it doesn't, start the executable manually from the prod_environment directory and then run the script.
Leave a comment
Log in with itch.io to leave a comment.