Master :
Develop:
This is the classic Tetris game in Common Lisp.
You will need :
and dependencies :
$ sudo apt-get install libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev
-
Install tools and dependencies :
$ make init $ make deps
-
Make binary :
$ make binary
-
Launch game :
$ roswell/cletris
Available commands :
- s : Start a new game
- Left : Move the current block to the left
- Right : Move the current block to the right
- Up : Rotate the current block
- Down : Move the current block down
- Space : Move the current block all the way down.
- p : Pause game
- v : View score (when user not playing a game).
- q : Quit Cletris
-
Install [roswell][] to setup the Common Lisp environment and install your Common Lisp implementation using it.:
$ make init $ ros install sbcl
-
Install dependencies :
$ make deps
-
Launch unit tests :
$ make test
See here
A changelog is available here.
See LICENSE.
Nicolas Lamirault nicolas.lamirault@gmail.com