Skip to content

Learning to play Tetris with the noisy cross entropy method

Notifications You must be signed in to change notification settings

lascar-pacagi/TetrisAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning to play Tetris with the noisy cross entropy method

We use an evolution strategy, the noisy cross entropy method, to learn the weights for a linear combination of heuristics to play the game of Tetris.

To compile:

mkdir build
cd build
cmake ..
make

To play the game with some learnt weights (~24h to learn those weights):

./play -w ../resource/weights.txt

you can see the different options with: ./play -h.

To learn the weights:

./learn -w ../resource/weights.txt

you can see the different options with: ./learn -h.

score

About

Learning to play Tetris with the noisy cross entropy method

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published