added a method for gameOver and tests to cover it
fixed the issue with play again, only AI remains to be done