Tetris implemented directly in the terminal (i.e. plain stdout, no curses) in order to better learn Haskell.
Includes both human play and an AI agent demoed below (see Agent.hs
).
To run, simply: stack run
.
j
,k
,l
are left, down, rightu
rotates CW,i
rotates CCWspacebar
dropsh
holds the current piece