Skip to content
A command line implementation of Tetris, written in Clojure.
Clojure
Branch: master
Clone or download
Latest commit ff4746b Aug 4, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/tetris Update score.clj Aug 4, 2019
LICENSE LICENSE Mar 24, 2019
README.md Update README.md May 3, 2019
project.clj Update project.clj Mar 24, 2019
score.dat Add files via upload Jun 2, 2018
screenshot_1.png Add files via upload May 3, 2019

README.md

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.

You can’t perform that action at this time.