generated from mwc/project_game
35 lines
518 B
Python
35 lines
518 B
Python
from retro.game import Game
|
|
from random import randint
|
|
import score
|
|
import config
|
|
import roll
|
|
|
|
state = {
|
|
#state displayed in the bootom section of the game
|
|
"1. Current Team": 1,
|
|
"2. Current Round": 1,
|
|
"3. Blue Team Score": 0,
|
|
"4. Red Team Score": 0
|
|
}
|
|
|
|
agents = [
|
|
roll.Roller(),
|
|
roll.Die((20, 15), "die1"),
|
|
roll.Die((30, 15), "die2"),
|
|
roll.Die((40, 15), "die3"),
|
|
|
|
]
|
|
|
|
game = Game(agents, state, color="black_on_white")
|
|
game.play()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|