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()
def start_first_player_rotate_left(): if not tank.is_some_tank_respawning(): command_history.add(tank.first_player_rotate_left)
def start_first_player_walk(): if not tank.is_some_tank_respawning(): command_history.add(tank.first_player_walk)
def start_second_player_rotate_right(): if not tank.is_some_tank_respawning(): command_history.add(tank.second_player_rotate_right)