pal i was recording a video playing all 7 games currently in jam and i got an error while playing your game i copied it to show to u
Traceback (most recent call last):
File "odd_one_out.py", line 368, in <module>
main_menu()
~~~~~~~~~^^
File "odd_one_out.py", line 276, in main_menu
draw_button('Start', SCREEN_WIDTH // 2 - 75, SCREEN_HEIGHT // 2 - 50, 110, 50, start_game) # Adjusted position and size
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "odd_one_out.py", line 91, in draw_button
action()
~~~~~~^^
File "odd_one_out.py", line 128, in start_game
main()
~~~~^^
File "odd_one_out.py", line 359, in main
draw_leave_button()
~~~~~~~~~~~~~~~~~^^
File "odd_one_out.py", line 99, in draw_leave_button
draw_button('Leave', SCREEN_WIDTH - 110, 10, 100, 50, leave_game)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "odd_one_out.py", line 91, in draw_button
action()
~~~~~~^^
File "odd_one_out.py", line 110, in leave_game
main_menu()
~~~~~~~~~^^
File "odd_one_out.py", line 277, in main_menu
draw_button('Nightmare Mode', SCREEN_WIDTH // 2 - 75, SCREEN_HEIGHT // 2 + 20, 210, 50, start_nightmare_mode) # Adjusted position and size
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "odd_one_out.py", line 95, in draw_button
display_text(text, x + 10, y + 10, small_font)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "odd_one_out.py", line 62, in display_text
screen.blit(img, (x, y))
~~~~~~~~~~~^^^^^^^^^^^^^
pygame.error: display Surface quit