game works correctly