Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 752 Bytes

File metadata and controls

33 lines (24 loc) · 752 Bytes

Tetris

Tetris Game Language.

The language is called 'CCLang'. Snippet of CClang is shown below. User can set the values as per his/her choice in the cclang_script.txt file.

BOARD : 10 10
CONTROLS : horizon = 0, set_speed = 7
PIECE: @j, @z = "0110011011111111"
ACTION: myfunc()
FUNCTION: def myfunc(){ set_speed = 9 return }

To Run

Pre-requisites:

Python 3.6+
sly

Run

Run the makefile that will compile all the files and execute the game with the following command, NOTE: Your code should be in cclang_script.txt to compile successfully.

$ make

Links

linkedin