Skip to content

A command line implementation of Tetris, written in Clojure.

License

Notifications You must be signed in to change notification settings

netb258/console-tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

console-tetris

A command line implementation of Tetris, written in Clojure.

Uses clojure-lanterna for rendering.

Alt text

Usage

$ lein run

Running in system shell

By default the program is set to run in a swing based console (for portability).

If you want to run it in the OS shell, then you will need to change src/tetris/gui.clj slightly.

Notice that line 12 of gui.clj sets the WINDOW var with the :swing keyword.

Just change that keyword to :unix if you are on a Unix OS.

Under MS Windows only :cygwin is supported, so you will need to install Cygwin.

In addition, you will also need to remove lines 164 and 165 of src/tetris/core.clj.

License

Copyright © 2019 FIXME

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

A command line implementation of Tetris, written in Clojure.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published