Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
A simple tetris game in OCaml
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
Minimalist Tetris clone in OCaml. Compile & run $> make $> ./tetris controls: Q (or A) : move left D : move right W (or Z) : rotate CW S : rotate CCW SPC (or F) : drop piece TODO: - Add block preview - Fix rotation algorithm - Use a real timer (impossible with the graphic module) DONE - Delete completed lines - Detect collision between blocks - Detect collision during rotation - Add score - Enable double buffering - Add game over detection - Increase speed Author: Benjamin Negrevergne License: GPLv3