Skip to content

Battle Tetromino is an online multiplayer Tetris game where powerups can be employed to wreck havoc on the opponent's game board. Created AI autoplay mode using Genetic Algorithm.

License

Notifications You must be signed in to change notification settings

BradHuang1999/Battle-Tetromino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Battle Tetromino

Battle Tetromino is a spin on the classic Tetris game where various powerups can be employed to wreck havoc on the opponent's game board.


Features:

  1. Local Player vs Player
  2. Local Player vs AI
  3. Online Multiplayer and Chatroom
  4. AI Demo Play
  5. Single Player

Genetic Algorithm

The machine modes were trained with ~ 30 generations using a genetic algorithm which assessed children from generation x with a fitness function and mutation operator using supervised heuristic optimization.


Machine Algorithm after 24 hours: reached score of 61,000,000 and cleared 7000 lines

Websocket Multiplayer

Used a low-latency message queue optimization on the websocket connection to eliminate 95% of game play delays

About

Battle Tetromino is an online multiplayer Tetris game where powerups can be employed to wreck havoc on the opponent's game board. Created AI autoplay mode using Genetic Algorithm.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages