Tetris built in Haskell using Reactive-banana for FRP and wxHaskell for GUI.
This is currently a work in progress but will include code for training a neural network to play Pong as part of my final project for Theory, Programming, and Simulation of Neuronal Networks with Reudi Stoop at ETH Zürich.
- Spurious segfaults. This seems to be related to drawing in wx. The frequency of segfaults has been reduced by changing the code so as to draw less. Currently tolerable for demonstration purposes, but not for "real" gameplay.
- Play Tetris theme song in the background. Unclear why this doesn't seem to work.
- Show piece drop to bottom before rows clear
- Add delay before locking in pieces (to allow for horizontal movement after hitting the bottom)
- Increase levels