Skip to content

glider-gun/tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

  • tetris that works at terminal
  • common lisp (SBCL only)

Usage

  • move minos with arrow keys
  • rotete minos with up arrow key or space key
  • exit with q / ESC / Ctrl+C

How to launch

sbcl and quicklisp is required. clone this repository to ~/quicklisp/local-project/

Try

$ sbcl --eval '(ql:quickload :tetris :silent t)' --eval '(tetris:main)' --quit

to launch. Or

$ sbcl --eval '(ql:quickload :tetris :silent t)' --eval '(tetris:make-tetris-command)' --quit

to make executable file and do

$ ./tetris

Todo

  • tidier code

About

tetris that works on console

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published