Pong game with Genetic AI, written in Haskell
git clone https://github.com/foollbar/ponga.git
cd ponga
stack build
stack exec training
this will generate a pair of trained gene in gene.txt.
there is no interface to amend training parameters yet, you may edit Train.hs directly.
stack exec visualize
you can observe the play of the generated genes.
stack exec play
try defeat them if you want.
use i to move up the paddle, k to move down.
- Generation 10, 12 secs
- Generation 20, 25 secs
- Generation 60, almost a minute long


