combined start and lobby frame
This commit is contained in:
18
vckonline.py
18
vckonline.py
@@ -8,24 +8,6 @@ player_list = [player1, player2]
|
||||
try:
|
||||
base1_new_game_state = load_game_data(str(uuid.uuid4()), "base1", player_list)
|
||||
game = Game(base1_new_game_state)
|
||||
game.hire_citizen(player1_id, 1, 0, 0)
|
||||
game.hire_citizen(player1_id, 3, 0, 0)
|
||||
game.hire_citizen(player1_id, 4, 0, 0)
|
||||
game.hire_citizen(player1_id, 5, 0, 0)
|
||||
game.hire_citizen(player1_id, 6, 0, 0)
|
||||
game.hire_citizen(player1_id, 7, 0, 0)
|
||||
game.hire_citizen(player1_id, 8, 0, 0)
|
||||
game.hire_citizen(player1_id, 9, 0, 0)
|
||||
game.hire_citizen(player1_id, 10, 0, 0)
|
||||
game.hire_citizen(player2_id, 1, 0, 0)
|
||||
game.hire_citizen(player2_id, 3, 0, 0)
|
||||
game.hire_citizen(player2_id, 4, 0, 0)
|
||||
game.hire_citizen(player2_id, 5, 0, 0)
|
||||
game.hire_citizen(player2_id, 6, 0, 0)
|
||||
game.hire_citizen(player2_id, 7, 0, 0)
|
||||
game.hire_citizen(player2_id, 8, 0, 0)
|
||||
game.hire_citizen(player2_id, 9, 0, 0)
|
||||
game.hire_citizen(player2_id, 10, 0, 0)
|
||||
game.play_turn()
|
||||
game_json = json.dumps(game, cls=GameObjectEncoder, indent=2)
|
||||
with open("game_state.txt", "w") as dump:
|
||||
|
||||
Reference in New Issue
Block a user