-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathModelTests.py
More file actions
39 lines (31 loc) · 875 Bytes
/
ModelTests.py
File metadata and controls
39 lines (31 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import Color
from Player import Player, PlayerColor
from Board import Board
"""
This file is a throwaway intended for doing standalone testing of other modules.
PlayerColor.build_player_colors()
print("Available colors: ", PlayerColor.get_available_colors())
print()
print("A player")
a_player = Player()
print(a_player)
print()
print("B player")
b_player = Player("Will")
print(b_player)
print()
c_player_chosen_color = PlayerColor.get_available_colors()[0]
print("C player")
c_player = Player(color_name=c_player_chosen_color)
print(c_player)
print()
d_player_chosen_color = PlayerColor.get_available_colors()[0]
print("D player")
d_player = Player("Fred", color_name=d_player_chosen_color)
print(d_player)
print()
print("Available colors: ", PlayerColor.get_available_colors())
"""
b = Board.create_board(8,8)
Board.print_board(b)
Board.update_board(b,"chrono", 3)