Added the boardgame tic-tac-toe without winning conditions, written entirely in Python.
This commit is contained in:
parent
0590fa6ca1
commit
affcb739b4
28 changed files with 448 additions and 0 deletions
8
games/tic-tac-toe/rectangle.py
Normal file
8
games/tic-tac-toe/rectangle.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
class Rectangle(object):
|
||||
def __init__(self, x, y, width, height):
|
||||
self.x = x
|
||||
self.y = y
|
||||
self.width = width
|
||||
self.height = height
|
||||
|
Reference in a new issue