A bike leaves a trail behind it, If the bike goes into a character, the game ends.
Proof of concept with python and curses...
Sorry the game is not finished as I would like.
I don't think improving the code but this training has allowed me to know the library "curses".
The script read a map file (sample : map1.txt 50 row)
- Python 2.7 (run perhaps for Python 3.X)
- curses module (please type help() and after modules to check)
- use the XTERM type console in case of linux environment
(python) tron2d.py
- UP/DOWN/RIGHT/LEFT : navigate
- ESC : exit