diff --git a/README.md b/README.md index a1bd38a..4848f9a 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ US 2016. ## Getting Started -1. Install kivy (via Anaconda or pip) +1. Install kivy (via Anaconda or `pip install -r requirements.txt`) 1. Run the game using: `python main.py` ## License diff --git a/main.py b/main.py index 517a89e..9f47a5a 100644 --- a/main.py +++ b/main.py @@ -19,7 +19,7 @@ class StrategyGame(FloatLayout): super(StrategyGame, self).__init__(**kwargs) number_of_regions = self.map_rows * self.map_cols - for region in xrange(0, number_of_regions): + for region in range(0, number_of_regions): row = region / self.map_cols col = region % self.map_cols diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..f5b68ee --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +Cython +Kivy==1.9.1