Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 2c87092362
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (13 sloc) 1.502 kb


Lattice is a Drop7 clone implemented in Ruby. It includes a very minimal console "game" for dev purposes. Drop7 is awesome and you should buy it. If you don't know Drop7 and you want to try before you buy, or you can't figure out how to play the console version included here, check the original Web version in Flash.

Many features are not yet supported. Also, note that by "console game" I mean "console" in the programmer sense, not the gamer sense. It runs on your command line, not an XBox. Although it could in theory run on an XBox if you installed Linux and Ruby on it first.


This project makes no claims as to the awesomeness of its code base. This code may not be awesome.


Tests are done in test/unit, because it was fast. Console mini-game does not have tests but has reached the point where it should. Block hack in grid.rb (for console mini-game UI) also lacks tests.


Pretty much all the code lives in the grid, or game board; most of the code works on arrays rather than objects. This was not a conscious decision, and might just be a hangover from writing too much Perl when I was younger. (Ah, the wild days...)

Jump to Line
Something went wrong with that request. Please try again.