Awesome
Interactive Guide to Tetris in ClojureScript
These are interactive slides that I put together for a Houston.js meetup party celebrating Tetris's 30th birthday.
Setup
For viewing, serve the public/
directory with something like:
$ cd public
$ python -m SimpleHTTPServer
For developing, use npm-cljs:
cljs watch dev
- http://localhost:8000/dev.html
For minified release build:
cljs build min
- http://localhost:8000/
Why
The presentation is intended to conclude our work on T3TR0S. You can read our devblog there to see how we built the game in small increments.
Want more code?
This repo presents the essence of our game. But you can see full implementations below:
- t3tr0s-full fully-featured multiplayer
- t3tr0s-bare simple version, easier to read
Thanks
Thanks to Chris Granger for his live-cljs demo, which served as the styling base for this presentation.
And thanks to the T3TR0S team:
- Elaine Looney
- Luis Gutierrez
- Chris Oakman
- Brett Darnell
- Phil Gambling