Compare commits

..

2 commits

Author SHA1 Message Date
dvorakmortonxd
4b4bdd6f8d removed uneccessary folder that I have no idea how it got made 2026-05-21 12:43:34 +02:00
dvorakmortonxd
0def2f4a02 removed uneccessary folder that I have no idea how it got made 2026-05-21 12:41:40 +02:00
12 changed files with 54 additions and 24 deletions

8
.idea/.gitignore generated vendored Normal file
View file

@ -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

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Ask2AgentMigrationStateService">
<option name="migrationStatus" value="COMPLETED" />
</component>
</project>

View file

@ -0,0 +1,10 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="SpellCheckingInspection" enabled="false" level="TYPO" enabled_by_default="false">
<option name="processCode" value="true" />
<option name="processLiterals" value="true" />
<option name="processComments" value="true" />
</inspection_tool>
</profile>
</component>

View file

@ -0,0 +1,6 @@
<component name="InspectionProjectProfileManager">
<settings>
<option name="USE_PROJECT_PROFILE" value="false" />
<version value="1.0" />
</settings>
</component>

8
.idea/modules.xml generated Normal file
View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/sas2py.iml" filepath="$PROJECT_DIR$/.idea/sas2py.iml" />
</modules>
</component>
</project>

10
.idea/sas2py.iml generated Normal file
View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.venv" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

6
.idea/vcs.xml generated Normal file
View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

View file

@ -1 +0,0 @@

View file

@ -1 +0,0 @@

View file

@ -1 +0,0 @@

View file

@ -1 +0,0 @@

View file

@ -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