Esempio n. 1
0
def second_player_fire():
    ball = second_player_ball
    if not tank.is_some_tank_respawning() and ball.isvisible() is False:
        ball.goto(tank.get_tank_position(tank.second_player))
        ball._tracer(0)
        ball.setheading(0)
        ball.right(tank.get_tank_angle(tank.second_player))
        ball.forward(35)
        ball.showturtle()
Esempio n. 2
0
def start_first_player_rotate_left():
    if not tank.is_some_tank_respawning():
        command_history.add(tank.first_player_rotate_left)
Esempio n. 3
0
def start_first_player_walk():
    if not tank.is_some_tank_respawning():
        command_history.add(tank.first_player_walk)
Esempio n. 4
0
def start_second_player_rotate_right():
    if not tank.is_some_tank_respawning():
        command_history.add(tank.second_player_rotate_right)