adding game over detection, fixing possible moves calculation, working on repl
fixing merge conflicts in player class