Score whenever a robot gets destroyed. Closes #7.

This commit is contained in:
Sacha Ligthert 2023-12-04 01:11:33 +01:00
parent d77d84a891
commit 371de84218

View File

@ -88,4 +88,6 @@ func (game *Game) deleteRobot(robot int) {
game.robots = nil
game.robots = rowboz
game.player.score++
}