blob: e264f22295f12a103350b5e2b1c68a87165689d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
class Renderer(object):
"""
renderBoard
@param gameBoard -- dictionary of tuples of location (x,y), 0 indexed from
the top left of the board.
@param boardIndex -- 0 for the left board, 1 for the right board.
"""
def render_board(gameBoard, boardIndex):
raise NotImplementedError
"""
renderScore
@param score -- int representing the score of the player
@param board index -- 0 for the left board, 1 for the right board.
"""
def render_score(score, boardIndex):
raise NotImplementedError
|