Alex Chapman (author of the OpenGL binding and gap buffer data structure) has submitted a tetris game written in Factor to contrib. To run it, you probably need Factor from darcs, and then: "contrib/tetris" require USE: tetris tetris-window It looks like this: The implementation uses an infinite lazy list to draw the next piece from. That is just so cool.
No comments:
Post a Comment