├── .gitignore ├── LICENSE ├── README.md ├── game_screens ├── __init__.py ├── game.py ├── logic │ ├── __init__.py │ ├── city.py │ ├── game_logic.py │ ├── garrison.py │ ├── granary.py │ ├── player.py │ ├── tests │ │ ├── __init__.py │ │ ├── buildings_tests.py │ │ ├── city_tests.py │ │ ├── combat_tests.py │ │ ├── granary_tests.py │ │ └── movement_tests.py │ ├── tiles.py │ └── units.py └── ui │ ├── __init__.py │ ├── city_view.py │ ├── diplomacy │ ├── __init__.py │ ├── build_building_window.py │ ├── build_unit_window.py │ ├── buy_city_window.py │ └── buy_goods_window.py │ ├── enemy_city_view.py │ ├── game_view.py │ └── popups.py ├── main.py ├── map_generation ├── __init__.py ├── map_generator.py ├── spread_players.py └── test_map_generation.py ├── resources ├── fonts │ └── november.ttf ├── images │ ├── aod_logo.png │ ├── buildings │ │ ├── armory.png │ │ ├── astronomic_tower.png │ │ ├── free_market.png │ │ ├── mines.png │ │ └── passiflora.png │ ├── choose_civ_background.png │ ├── connect_window_background.png │ ├── example_map.png │ ├── kaedir │ │ ├── slav_city_1.jpeg │ │ └── slav_city_2.jpeg │ ├── kintsugese │ │ ├── jap_city_1.jpg │ │ └── jap_city_2.jpg │ ├── main_square.jpg │ ├── mixtec │ │ ├── aztec_city1.png │ │ ├── toltec_city1.jpg │ │ └── zapotec_city1.jpg │ ├── northern │ │ ├── nord_city_1.jpg │ │ └── nord_city_3.jpg │ └── question_mark.png ├── promo │ ├── city_build.gif │ ├── city_capture.gif │ ├── cityview.png │ ├── cityview1.png │ ├── cityview2.png │ ├── mapgen.png │ └── mapgen1.png └── sprites │ ├── border_corner.png │ ├── border_side.png │ ├── cities │ ├── kaedir_city.png │ ├── kintsugese_city.png │ ├── mixtec_city.png │ └── northern_city.png │ ├── tiles │ ├── hills.png │ ├── mountains.png │ ├── plains.png │ └── water.png │ └── units │ ├── archer.png │ ├── cavalry.png │ ├── infantry.png │ └── settler.png ├── server_utils ├── __init__.py ├── client.py ├── player.py └── server.py └── start_screens ├── __init__.py ├── about_window.py ├── connect_window.py ├── img_gen.py ├── lobby_window.py ├── map_generator_window.py ├── nick_civ_window.py └── welcome_window.py /.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__/ 2 | .idea 3 | venv -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/README.md -------------------------------------------------------------------------------- /game_screens/__init__.py: -------------------------------------------------------------------------------- 1 | from .game import Game 2 | -------------------------------------------------------------------------------- /game_screens/game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/game_screens/game.py -------------------------------------------------------------------------------- /game_screens/logic/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/game_screens/logic/__init__.py -------------------------------------------------------------------------------- /game_screens/logic/city.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/game_screens/logic/city.py -------------------------------------------------------------------------------- /game_screens/logic/game_logic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/game_screens/logic/game_logic.py -------------------------------------------------------------------------------- /game_screens/logic/garrison.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/game_screens/logic/garrison.py -------------------------------------------------------------------------------- /game_screens/logic/granary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/game_screens/logic/granary.py -------------------------------------------------------------------------------- /game_screens/logic/player.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/game_screens/logic/player.py -------------------------------------------------------------------------------- /game_screens/logic/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /game_screens/logic/tests/buildings_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/game_screens/logic/tests/buildings_tests.py -------------------------------------------------------------------------------- /game_screens/logic/tests/city_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/game_screens/logic/tests/city_tests.py -------------------------------------------------------------------------------- /game_screens/logic/tests/combat_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/game_screens/logic/tests/combat_tests.py -------------------------------------------------------------------------------- /game_screens/logic/tests/granary_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/game_screens/logic/tests/granary_tests.py -------------------------------------------------------------------------------- /game_screens/logic/tests/movement_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/game_screens/logic/tests/movement_tests.py -------------------------------------------------------------------------------- /game_screens/logic/tiles.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/game_screens/logic/tiles.py -------------------------------------------------------------------------------- /game_screens/logic/units.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/game_screens/logic/units.py -------------------------------------------------------------------------------- /game_screens/ui/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/game_screens/ui/__init__.py -------------------------------------------------------------------------------- /game_screens/ui/city_view.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/game_screens/ui/city_view.py -------------------------------------------------------------------------------- /game_screens/ui/diplomacy/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/game_screens/ui/diplomacy/__init__.py -------------------------------------------------------------------------------- /game_screens/ui/diplomacy/build_building_window.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/game_screens/ui/diplomacy/build_building_window.py -------------------------------------------------------------------------------- /game_screens/ui/diplomacy/build_unit_window.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/game_screens/ui/diplomacy/build_unit_window.py -------------------------------------------------------------------------------- /game_screens/ui/diplomacy/buy_city_window.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/game_screens/ui/diplomacy/buy_city_window.py -------------------------------------------------------------------------------- /game_screens/ui/diplomacy/buy_goods_window.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/game_screens/ui/diplomacy/buy_goods_window.py -------------------------------------------------------------------------------- /game_screens/ui/enemy_city_view.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/game_screens/ui/enemy_city_view.py -------------------------------------------------------------------------------- /game_screens/ui/game_view.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/game_screens/ui/game_view.py -------------------------------------------------------------------------------- /game_screens/ui/popups.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/game_screens/ui/popups.py -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/main.py -------------------------------------------------------------------------------- /map_generation/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/map_generation/__init__.py -------------------------------------------------------------------------------- /map_generation/map_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/map_generation/map_generator.py -------------------------------------------------------------------------------- /map_generation/spread_players.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/map_generation/spread_players.py -------------------------------------------------------------------------------- /map_generation/test_map_generation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/map_generation/test_map_generation.py -------------------------------------------------------------------------------- /resources/fonts/november.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/fonts/november.ttf -------------------------------------------------------------------------------- /resources/images/aod_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/images/aod_logo.png -------------------------------------------------------------------------------- /resources/images/buildings/armory.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/images/buildings/armory.png -------------------------------------------------------------------------------- /resources/images/buildings/astronomic_tower.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/images/buildings/astronomic_tower.png -------------------------------------------------------------------------------- /resources/images/buildings/free_market.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/images/buildings/free_market.png -------------------------------------------------------------------------------- /resources/images/buildings/mines.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/images/buildings/mines.png -------------------------------------------------------------------------------- /resources/images/buildings/passiflora.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/images/buildings/passiflora.png -------------------------------------------------------------------------------- /resources/images/choose_civ_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/images/choose_civ_background.png -------------------------------------------------------------------------------- /resources/images/connect_window_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/images/connect_window_background.png -------------------------------------------------------------------------------- /resources/images/example_map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/images/example_map.png -------------------------------------------------------------------------------- /resources/images/kaedir/slav_city_1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/images/kaedir/slav_city_1.jpeg -------------------------------------------------------------------------------- /resources/images/kaedir/slav_city_2.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/images/kaedir/slav_city_2.jpeg -------------------------------------------------------------------------------- /resources/images/kintsugese/jap_city_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/images/kintsugese/jap_city_1.jpg -------------------------------------------------------------------------------- /resources/images/kintsugese/jap_city_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/images/kintsugese/jap_city_2.jpg -------------------------------------------------------------------------------- /resources/images/main_square.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/images/main_square.jpg -------------------------------------------------------------------------------- /resources/images/mixtec/aztec_city1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/images/mixtec/aztec_city1.png -------------------------------------------------------------------------------- /resources/images/mixtec/toltec_city1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/images/mixtec/toltec_city1.jpg -------------------------------------------------------------------------------- /resources/images/mixtec/zapotec_city1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/images/mixtec/zapotec_city1.jpg -------------------------------------------------------------------------------- /resources/images/northern/nord_city_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/images/northern/nord_city_1.jpg -------------------------------------------------------------------------------- /resources/images/northern/nord_city_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/images/northern/nord_city_3.jpg -------------------------------------------------------------------------------- /resources/images/question_mark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/images/question_mark.png -------------------------------------------------------------------------------- /resources/promo/city_build.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/promo/city_build.gif -------------------------------------------------------------------------------- /resources/promo/city_capture.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/promo/city_capture.gif -------------------------------------------------------------------------------- /resources/promo/cityview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/promo/cityview.png -------------------------------------------------------------------------------- /resources/promo/cityview1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/promo/cityview1.png -------------------------------------------------------------------------------- /resources/promo/cityview2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/promo/cityview2.png -------------------------------------------------------------------------------- /resources/promo/mapgen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/promo/mapgen.png -------------------------------------------------------------------------------- /resources/promo/mapgen1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/promo/mapgen1.png -------------------------------------------------------------------------------- /resources/sprites/border_corner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/sprites/border_corner.png -------------------------------------------------------------------------------- /resources/sprites/border_side.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/sprites/border_side.png -------------------------------------------------------------------------------- /resources/sprites/cities/kaedir_city.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/sprites/cities/kaedir_city.png -------------------------------------------------------------------------------- /resources/sprites/cities/kintsugese_city.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/sprites/cities/kintsugese_city.png -------------------------------------------------------------------------------- /resources/sprites/cities/mixtec_city.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/sprites/cities/mixtec_city.png -------------------------------------------------------------------------------- /resources/sprites/cities/northern_city.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/sprites/cities/northern_city.png -------------------------------------------------------------------------------- /resources/sprites/tiles/hills.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/sprites/tiles/hills.png -------------------------------------------------------------------------------- /resources/sprites/tiles/mountains.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/sprites/tiles/mountains.png -------------------------------------------------------------------------------- /resources/sprites/tiles/plains.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/sprites/tiles/plains.png -------------------------------------------------------------------------------- /resources/sprites/tiles/water.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/sprites/tiles/water.png -------------------------------------------------------------------------------- /resources/sprites/units/archer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/sprites/units/archer.png -------------------------------------------------------------------------------- /resources/sprites/units/cavalry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/sprites/units/cavalry.png -------------------------------------------------------------------------------- /resources/sprites/units/infantry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/sprites/units/infantry.png -------------------------------------------------------------------------------- /resources/sprites/units/settler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/resources/sprites/units/settler.png -------------------------------------------------------------------------------- /server_utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/server_utils/__init__.py -------------------------------------------------------------------------------- /server_utils/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/server_utils/client.py -------------------------------------------------------------------------------- /server_utils/player.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/server_utils/player.py -------------------------------------------------------------------------------- /server_utils/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/server_utils/server.py -------------------------------------------------------------------------------- /start_screens/__init__.py: -------------------------------------------------------------------------------- 1 | from . import img_gen 2 | -------------------------------------------------------------------------------- /start_screens/about_window.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/start_screens/about_window.py -------------------------------------------------------------------------------- /start_screens/connect_window.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/start_screens/connect_window.py -------------------------------------------------------------------------------- /start_screens/img_gen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/start_screens/img_gen.py -------------------------------------------------------------------------------- /start_screens/lobby_window.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/start_screens/lobby_window.py -------------------------------------------------------------------------------- /start_screens/map_generator_window.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/start_screens/map_generator_window.py -------------------------------------------------------------------------------- /start_screens/nick_civ_window.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/start_screens/nick_civ_window.py -------------------------------------------------------------------------------- /start_screens/welcome_window.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p-maje/age-of-divisiveness/HEAD/start_screens/welcome_window.py --------------------------------------------------------------------------------