diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/copilot.data.migration.ask2agent.xml b/.idea/copilot.data.migration.ask2agent.xml new file mode 100644 index 0000000..1f2ea11 --- /dev/null +++ b/.idea/copilot.data.migration.ask2agent.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..146ab09 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,10 @@ + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..5897eb6 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/sas2py.iml b/.idea/sas2py.iml new file mode 100644 index 0000000..2c80e12 --- /dev/null +++ b/.idea/sas2py.iml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/game/__init__.py b/game/__init__.py deleted file mode 100644 index 8b13789..0000000 --- a/game/__init__.py +++ /dev/null @@ -1 +0,0 @@ - diff --git a/game/__main__.py b/game/__main__.py deleted file mode 100644 index 8b13789..0000000 --- a/game/__main__.py +++ /dev/null @@ -1 +0,0 @@ - diff --git a/game/asset_loader.py b/game/asset_loader.py deleted file mode 100644 index 8b13789..0000000 --- a/game/asset_loader.py +++ /dev/null @@ -1 +0,0 @@ - diff --git a/game/game.py b/game/game.py deleted file mode 100644 index 8b13789..0000000 --- a/game/game.py +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/test_game.py b/tests/test_game.py deleted file mode 100644 index 410760f..0000000 --- a/tests/test_game.py +++ /dev/null @@ -1,20 +0,0 @@ -import os - -# Use the SDL dummy video driver so tests can run headless in CI -os.environ.setdefault("SDL_VIDEODRIVER", "dummy") - -import pygame -from game.game import Game - - -def test_game_initializes_and_runs_briefly(): - # Ensure pygame uses the dummy driver - assert pygame.get_sdl_version() is not None - - # Instantiate the game and run for a tiny amount of time - g = Game(width=320, height=240, fps=60) - # Run the loop for 0.1 seconds using run(max_run_seconds=...) - g.run(max_run_seconds=0.1) - - # If we reached cleanup without exception, consider test passed - assert not pygame.get_init() # pygame.quit() should have been called