Skip to content

Instantly share code, notes, and snippets.

@Aethaeryn
Aethaeryn / adventure.py
Created December 17, 2011 05:17 — forked from PeterPorty/adventure.py
To help Pete learn Python.
# Turning Pete's program into a class.
class Adventure:
X = 0
Y = 1
def __init__(self):
location = [0, 0]
self.move(location, 1, 0)
print location