Simple plateformer game playing

This commit is contained in:
2026-10-10 13:38:11 +02:00
commit 5cc2f19887
17 changed files with 531 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
from game.game import Game
from game.gameState import GameState
from game.handlers import GAME_HANDLERS
from game.map import Map
from game.mapReader import MapReader
from game.mapSet import MapSet
if __name__ == "__main__":
mapReader = MapReader()
mapSet = MapSet(mapReader, mapReader.get_map_names())
map = mapSet.get_maps_by_difficulty(0, 1)[0]
gameState = GameState()
game = Game(map, gameState)
gameHandler = GAME_HANDLERS["user player"](game)
game.start_game()
# run_game()