Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Cyber Battle Game
Game elements
Main Game Loop
Robot moves
Final game


Well done! The third helper function checks if a given field is empty.


Write an is_empty(board, row, column) function. This checks if the field indicated by that row and column is empty, i.e. whether it equals '-'. It should return either True or False.

Stuck? Here's a hint!

Simply check if

board[row][column] == '-'