I made this over the course of a week to test out the features of textual, and felt like sharing it.
- Install the script and associated files:
pip install tuinty-forpy-eight
-
Launch the game by running
2048
in a terminal of your choice -
Infinite fun, at your terminal!
Supply the rgb values of the background colour you want along with the 2048 command
e.g 2048 -bg[--background] 0 0 0
it is optional and defaults to (143, 0, 255)
Supply the opacity as a float between 0 and 1
e.g. 2048 -op[--opacity] 0.2
it is optional and defaults to 0.13
Supply the rgb values of the tile colour you want along with the 2048 command
e.g. 2048 -tl[--tile] 0 0 0
it is optional and defaults to (237, 115, 255)
- For instructions on how to play, bring up the help screen by pressing "?" or the F1 key when in the game