Formatting and IsGameOver()

Started using ReSharper, so used it to format the code. Also corrected
some Javaisms. Added IsGameOver() method to game, though I'm unsatisfied
with how nested it is.