fixed rest of type errors, game currently hangs when running test cases