Tetris AI
A downloadable game for Windows
This is a project I developed for my Game Design II course in 2023. The goal was to design a game that utilized an AI which would be tested by other students in the class during development so we could get feedback. I wanted to build something more advanced than AI I have built in the past, so I chose to make an AI that could play Tetris against a player. After doing some research on different approaches to making an AI that can play Tetris, I decided on a system that utilized weights to control it's priorities for deciding the best move and optimizing those weights using a genetic algorithm. A genetic algorithm takes an initial sample of AI with random parameters and breeds the ones that perform the best to create the next generation. It then continues to do this until all the AI start to have the same values in each parameter. My genetic algorithm only had a generation size of 20 to begin with, but I would like to improve upon my AI and use larger generation sizes in the future.
Controls
W - Rotate Forward
S - Rotate Backward
A - Move Left
D - Move Right
Space - Drop faster
Right Click - Hard Drop
Credits
ΔriK - Tetris Theme Music - https://www.youtube.com/watch?v=Q7mcjjl_P3k
Status | In development |
Platforms | Windows |
Author | TheHammerSV |
Genre | Puzzle |
Tags | ai, competitive, Tetris, Unreal Engine |
Download
Install instructions
Extract the zip file and run MindMakerTest.exe
Development log
- Planning the AIApr 11, 2023
Leave a comment
Log in with itch.io to leave a comment.