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 }
Pre-requisites:
Python 3.6+
sly
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