Instruction
Great! We're almost done with our game. We just need to add the final touches.
Exercise
The last bits we're missing are:
- In
play_round(), after both robots performed their actions, do the following:- Print the board
- Print robots' lives
- Clear all laser beams.
- In the
main()function, before thewhileloop, print the initial board state and the lives left. - At the end of your code, invoke the
main()function.
Stuck? Here's a hint!
Ad. 1: Type the following code inside the play_round() function.
print_board(board, robot_a, robot_b) print_lives(lives_left) clear_lasers(board)
Ad. 2: Use the print_board() and print_lives() functions with accurate arguments before the while loop.



