├── .github ├── ISSUE_TEMPLATE │ └── bug_report.md └── PULL_REQUEST_TEMPLATE │ └── pull_request_template.md ├── .gitignore ├── .pre-commit-config.yaml ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── README.rst ├── doc ├── Makefile ├── _static │ └── css │ │ └── custom.css ├── code_docs.rst ├── conf.py ├── features.rst ├── how_to_play.rst ├── index.rst ├── install.rst ├── make.bat └── screenshot.png ├── license.rst ├── make.bat ├── requirements.txt ├── setup.py ├── source ├── __init__.py ├── __main__.py ├── constants.py ├── entities │ ├── ai.py │ ├── astar.py │ ├── creature_factory.py │ ├── creatures.tsv │ ├── entity.py │ ├── fighter.py │ ├── fireball_scroll.py │ ├── inventory.py │ ├── item.py │ ├── lightning_scroll.py │ ├── potion.py │ ├── restore_entity.py │ └── stairs.py ├── game_engine.py ├── game_window.py ├── get_blocking_sprites.py ├── images │ ├── empty_grid.aseprite │ ├── player.aseprite │ ├── plus_button.aseprite │ ├── plus_button.png │ └── wall.aseprite ├── map_to_sprites.py ├── procedural_generation │ └── game_map.py ├── recalculate_fov.py ├── sounds │ ├── bookFlip2.ogg │ ├── error5.ogg │ ├── explosion2.ogg │ ├── footstep00.ogg │ ├── footstep04.ogg │ ├── footstep_concrete_002.ogg │ ├── gameover5.ogg │ ├── hitHelmet4.ogg │ ├── impactPunch_heavy_001.ogg │ ├── impactPunch_heavy_004.ogg │ ├── knifeSlice.ogg │ ├── laser3.ogg │ ├── powerUp1.ogg │ ├── secret4.ogg │ └── sinkWater1.ogg ├── status_bar.py ├── themes │ ├── code_page_437_constants.py │ ├── code_page_437_textures.py │ ├── current_theme.py │ ├── custom_1 │ │ ├── bugbear.aseprite │ │ ├── bugbear.png │ │ ├── dead_body.aseprite │ │ ├── dead_body.png │ │ ├── floor.aseprite │ │ ├── floor.png │ │ ├── goblin.aseprite │ │ ├── goblin.png │ │ ├── orc.aseprite │ │ ├── orc.png │ │ ├── player.aseprite │ │ ├── player.png │ │ ├── rat.aseprite │ │ ├── rat.png │ │ ├── red_potion.aseprite │ │ ├── red_potion.png │ │ ├── scroll.aseprite │ │ ├── scroll.png │ │ ├── stairs_down.ase │ │ ├── stairs_down.png │ │ ├── troll.aseprite │ │ ├── troll.png │ │ ├── wall.aseprite │ │ └── wall.png │ ├── custom_1_constants.py │ └── custom_1_textures.py └── util.py └── tests └── test_game_window.py /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/README.rst -------------------------------------------------------------------------------- /doc/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/doc/Makefile -------------------------------------------------------------------------------- /doc/_static/css/custom.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/doc/_static/css/custom.css -------------------------------------------------------------------------------- /doc/code_docs.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/doc/code_docs.rst -------------------------------------------------------------------------------- /doc/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/doc/conf.py -------------------------------------------------------------------------------- /doc/features.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/doc/features.rst -------------------------------------------------------------------------------- /doc/how_to_play.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/doc/how_to_play.rst -------------------------------------------------------------------------------- /doc/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/doc/index.rst -------------------------------------------------------------------------------- /doc/install.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/doc/install.rst -------------------------------------------------------------------------------- /doc/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/doc/make.bat -------------------------------------------------------------------------------- /doc/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/doc/screenshot.png -------------------------------------------------------------------------------- /license.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/license.rst -------------------------------------------------------------------------------- /make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/make.bat -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/setup.py -------------------------------------------------------------------------------- /source/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/__init__.py -------------------------------------------------------------------------------- /source/__main__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/constants.py -------------------------------------------------------------------------------- /source/entities/ai.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/entities/ai.py -------------------------------------------------------------------------------- /source/entities/astar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/entities/astar.py -------------------------------------------------------------------------------- /source/entities/creature_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/entities/creature_factory.py -------------------------------------------------------------------------------- /source/entities/creatures.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/entities/creatures.tsv -------------------------------------------------------------------------------- /source/entities/entity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/entities/entity.py -------------------------------------------------------------------------------- /source/entities/fighter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/entities/fighter.py -------------------------------------------------------------------------------- /source/entities/fireball_scroll.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/entities/fireball_scroll.py -------------------------------------------------------------------------------- /source/entities/inventory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/entities/inventory.py -------------------------------------------------------------------------------- /source/entities/item.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/entities/item.py -------------------------------------------------------------------------------- /source/entities/lightning_scroll.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/entities/lightning_scroll.py -------------------------------------------------------------------------------- /source/entities/potion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/entities/potion.py -------------------------------------------------------------------------------- /source/entities/restore_entity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/entities/restore_entity.py -------------------------------------------------------------------------------- /source/entities/stairs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/entities/stairs.py -------------------------------------------------------------------------------- /source/game_engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/game_engine.py -------------------------------------------------------------------------------- /source/game_window.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/game_window.py -------------------------------------------------------------------------------- /source/get_blocking_sprites.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/get_blocking_sprites.py -------------------------------------------------------------------------------- /source/images/empty_grid.aseprite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/images/empty_grid.aseprite -------------------------------------------------------------------------------- /source/images/player.aseprite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/images/player.aseprite -------------------------------------------------------------------------------- /source/images/plus_button.aseprite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/images/plus_button.aseprite -------------------------------------------------------------------------------- /source/images/plus_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/images/plus_button.png -------------------------------------------------------------------------------- /source/images/wall.aseprite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/images/wall.aseprite -------------------------------------------------------------------------------- /source/map_to_sprites.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/map_to_sprites.py -------------------------------------------------------------------------------- /source/procedural_generation/game_map.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/procedural_generation/game_map.py -------------------------------------------------------------------------------- /source/recalculate_fov.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/recalculate_fov.py -------------------------------------------------------------------------------- /source/sounds/bookFlip2.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/sounds/bookFlip2.ogg -------------------------------------------------------------------------------- /source/sounds/error5.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/sounds/error5.ogg -------------------------------------------------------------------------------- /source/sounds/explosion2.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/sounds/explosion2.ogg -------------------------------------------------------------------------------- /source/sounds/footstep00.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/sounds/footstep00.ogg -------------------------------------------------------------------------------- /source/sounds/footstep04.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/sounds/footstep04.ogg -------------------------------------------------------------------------------- /source/sounds/footstep_concrete_002.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/sounds/footstep_concrete_002.ogg -------------------------------------------------------------------------------- /source/sounds/gameover5.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/sounds/gameover5.ogg -------------------------------------------------------------------------------- /source/sounds/hitHelmet4.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/sounds/hitHelmet4.ogg -------------------------------------------------------------------------------- /source/sounds/impactPunch_heavy_001.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/sounds/impactPunch_heavy_001.ogg -------------------------------------------------------------------------------- /source/sounds/impactPunch_heavy_004.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/sounds/impactPunch_heavy_004.ogg -------------------------------------------------------------------------------- /source/sounds/knifeSlice.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/sounds/knifeSlice.ogg -------------------------------------------------------------------------------- /source/sounds/laser3.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/sounds/laser3.ogg -------------------------------------------------------------------------------- /source/sounds/powerUp1.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/sounds/powerUp1.ogg -------------------------------------------------------------------------------- /source/sounds/secret4.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/sounds/secret4.ogg -------------------------------------------------------------------------------- /source/sounds/sinkWater1.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/sounds/sinkWater1.ogg -------------------------------------------------------------------------------- /source/status_bar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/status_bar.py -------------------------------------------------------------------------------- /source/themes/code_page_437_constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/code_page_437_constants.py -------------------------------------------------------------------------------- /source/themes/code_page_437_textures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/code_page_437_textures.py -------------------------------------------------------------------------------- /source/themes/current_theme.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/current_theme.py -------------------------------------------------------------------------------- /source/themes/custom_1/bugbear.aseprite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1/bugbear.aseprite -------------------------------------------------------------------------------- /source/themes/custom_1/bugbear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1/bugbear.png -------------------------------------------------------------------------------- /source/themes/custom_1/dead_body.aseprite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1/dead_body.aseprite -------------------------------------------------------------------------------- /source/themes/custom_1/dead_body.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1/dead_body.png -------------------------------------------------------------------------------- /source/themes/custom_1/floor.aseprite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1/floor.aseprite -------------------------------------------------------------------------------- /source/themes/custom_1/floor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1/floor.png -------------------------------------------------------------------------------- /source/themes/custom_1/goblin.aseprite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1/goblin.aseprite -------------------------------------------------------------------------------- /source/themes/custom_1/goblin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1/goblin.png -------------------------------------------------------------------------------- /source/themes/custom_1/orc.aseprite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1/orc.aseprite -------------------------------------------------------------------------------- /source/themes/custom_1/orc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1/orc.png -------------------------------------------------------------------------------- /source/themes/custom_1/player.aseprite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1/player.aseprite -------------------------------------------------------------------------------- /source/themes/custom_1/player.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1/player.png -------------------------------------------------------------------------------- /source/themes/custom_1/rat.aseprite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1/rat.aseprite -------------------------------------------------------------------------------- /source/themes/custom_1/rat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1/rat.png -------------------------------------------------------------------------------- /source/themes/custom_1/red_potion.aseprite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1/red_potion.aseprite -------------------------------------------------------------------------------- /source/themes/custom_1/red_potion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1/red_potion.png -------------------------------------------------------------------------------- /source/themes/custom_1/scroll.aseprite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1/scroll.aseprite -------------------------------------------------------------------------------- /source/themes/custom_1/scroll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1/scroll.png -------------------------------------------------------------------------------- /source/themes/custom_1/stairs_down.ase: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1/stairs_down.ase -------------------------------------------------------------------------------- /source/themes/custom_1/stairs_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1/stairs_down.png -------------------------------------------------------------------------------- /source/themes/custom_1/troll.aseprite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1/troll.aseprite -------------------------------------------------------------------------------- /source/themes/custom_1/troll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1/troll.png -------------------------------------------------------------------------------- /source/themes/custom_1/wall.aseprite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1/wall.aseprite -------------------------------------------------------------------------------- /source/themes/custom_1/wall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1/wall.png -------------------------------------------------------------------------------- /source/themes/custom_1_constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1_constants.py -------------------------------------------------------------------------------- /source/themes/custom_1_textures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/themes/custom_1_textures.py -------------------------------------------------------------------------------- /source/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/source/util.py -------------------------------------------------------------------------------- /tests/test_game_window.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pythonarcade/roguelike/HEAD/tests/test_game_window.py --------------------------------------------------------------------------------