Skip to content

bnegreve/tetrisml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

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

About

A simple tetris game in OCaml

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages