Skip to content

Commit

Permalink
added gui to board.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Samantha Wu committed May 18, 2016
2 parents d478c2c + 1d32b1b commit 828bae0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion board.py
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
class Board:
import Tkinter

class Board(Frame):
h = 640
w = 480

def __init__(self, parent):
Frame.__init__(self, parent, background = "black")

self.parent = parent

self.initUI()

def placeApple(self):
import random
apple_h = random.randomInt(0, 640)
apple_w = random.randomInt(0, 480)
Binary file removed python.pptx
Binary file not shown.

0 comments on commit 828bae0

Please sign in to comment.