have endGame logic working in console