Skip to content

About

Pure terminal implementation of Tetris in Haskell + an AI agent

Resources

Stars

1 star

Watchers

2 watching

Forks

Repository files navigation

tetriskell

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).

demo

To run, simply: stack run.

  • j, k, l are left, down, right
  • u rotates CW, i rotates CCW
  • spacebar drops
  • h holds the current piece

About

Pure terminal implementation of Tetris in Haskell + an AI agent

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages