Another Word For It Patrick Durusau on Topic Maps and Semantic Diversity

October 11, 2011

Writing Tetris in Clojure

Filed under: Clojure — Patrick Durusau @ 5:53 pm

Writing Tetris in Clojure

From the post:

Good evening to everyone. Today I want to guide you step-by-step through the process of writing a game of Tetris in Clojure. My goal was not to write the shortest version possible but the concisest one and the one that would use idiomatic Clojure techniques (like relying on the sequence processing functions and making a clear distinction between purely functional and side-effect code). The result I got is about 300 lines of code in size but it is very comprehensible and simple. If you are interested then fire up your editor_of_choice and let’s get our hands dirty.

Not that I really think you need a personal clone of Tetris but it looks like a very good way to explore Clojure.

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress