generated from mwc/project_game
I'm proud of making the circles fall from the top one at a time. I was stuck on making the circle fall.
16 lines
355 B
Python
16 lines
355 B
Python
from retro.game import Game
|
|
from player import Player
|
|
from circle import Circle
|
|
|
|
|
|
board_size = (100, 25)
|
|
player = Player(board_size)
|
|
circle= Circle ((board_size[0] // 2, 0))
|
|
|
|
def during_turn(game):
|
|
pass
|
|
|
|
game = Game([player, circle], {"score": 0, "fall_speed": 1}, board_size=board_size)
|
|
|
|
game.during_turn = during_turn
|
|
game.play() |