Spring Deals - hours only!Up to 70% off on all courses and bundles.-Close
Introduction
Cyber Battle Game
Game elements
Main Game Loop
Robot moves
Final game

Instruction

Now we need a function which clears all laser beams from the game board after both robots have moved.

Exercise

Write a function named clear_lasers(board). The function should turn all asterisks on the game board back into hyphens (empty fields).