MiniCiv is an 8-bit local-multiplayer browser-game recreation of Sid Meier's Civilization (1991) where players can play a Civ game with a map they can pick as anywhere in the world. Upon starting their game, players can choose their Civilization and their map using a Google Maps interactive map, and are then put into a game where they can found cities, build roads, create warriors to defend themselves, choose the production of their cities, all like an actual miniature Civ game! 🏙
Submission for MLH Hack-cade 2021 (Devpost)
Created by Simon Chen and Zhenia Sigayev
- Clone the repository to your machine.
- Open
api_key.py
and assign your Google Cloud API key to the variableAPI_KEY
. (Make sure you have Google Maps Static API and Google Maps Javascript API enabled in your Google Cloud console!) - Either install all the packages listed in
requirements.txt
, or create a virtual environment using those modules. (Note: The PyCharm IDE automatically detectsrequirements.txt
and suggests to create a virtual environment with those as dependencies.) - Run
server.py
. (If you made a virtual environment, make sure you are using the correct interpreter!) - Open http://localhost:5000/ in the browser
- Game on! 🕹️😊