Added rudimentary game end conditions