Skip to content

game in python (ascii mode, 2d only) inspired by the tron game

Notifications You must be signed in to change notification settings

sgaudart/tron2d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tron2d

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)

Screenshot 1

Requirement

  • 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

Usage

(python) tron2d.py

Usefull Keys

  • UP/DOWN/RIGHT/LEFT : navigate
  • ESC : exit

About

game in python (ascii mode, 2d only) inspired by the tron game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages