fixed game turn logic