jiixing / graphics.py

Extended Graphics library for Python Students (Extends the graphics.py library by John Zelle to capture keyboard input for the creation of simple games)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

graphics.py

Extended Graphics library for Python Students (Extends the graphics.py library by John Zelle to capture keyboard input for the creation of simple games)

Example Usage:

w=GraphWin('Example!', 500, 500)
curKey=w.checkKey() #Get input from keyboard
if(curKey == "Up"):
	#Do something here if the key has been pressed!

About

Extended Graphics library for Python Students (Extends the graphics.py library by John Zelle to capture keyboard input for the creation of simple games)


Languages

Language:Python 100.0%