So many cows! This is pretty simple, but I hope you had fun making this!
Error message with Python 3.8:
Traceback (most recent call last): File "run.py", line 3, in <module> from coweverywhere.game.game import Game File "Cows Everywhere\coweverywhere\game\game.py", line 19 def __init__(self, modes, difficulty, (width, height)): ^SyntaxError: invalid syntax
Was excited to play the game but unfortunately cant run it. After trying to fix the indentation in the code, I ended up with
AttributeError: module 'pyglet.clock' has no attribute 'ClockDisplay'
Couldnt find that in pyglet docs. So let it at that.
It only runs with py 2.x.... I would really recommend to switch to py3.x
It impossible to catch all cows because the fire rate is so slow.
Traceback (most recent call last):** IDLE Internal Exception: File "C:\Users\Starbuck\AppData\Local\Programs\Python\Python37-32\lib\idlelib\run.py", line 550, in runcode exec(code, self.locals) File "C:\Users\Starbuck\Desktop\Pyweek29Games\Cows_Everywhere\Cows Everywhere\run.py", line 3, in <module> from coweverywhere.game.game import Game File "C:\Users\Starbuck\Desktop\Pyweek29Games\Cows_Everywhere\Cows Everywhere\coweverywhere\game\game.py", line 19 def __init__(self, modes, difficulty, (width, height)): ^SyntaxError: invalid syntax
No installation instructions. Trying to run run.py ends up traceback with missing packages.
The game requires Python 2, which is past end-of-life.
So I installed Python 2.7 for this game.After installing Pyglet, it says it doesn't work with Python 2:
Traceback (most recent call last): File "run.py", line 4, in <module> from coweverywhere.ui.gamerunner import GameRunner File "/home/terka/pyweek/29/29/baby-unicorp/Cows Everywhere/coweverywhere/ui/gamerunner.py", line 3, in <module> import pyglet File "/home/terka/pyweek/29/29/baby-unicorp/Cows Everywhere/venv/lib/python2.7/site-packages/pyglet/__init__.py", line 66, in <module> raise Exception('pyglet %s requires Python 3.5 or newer.' % version)Exception: pyglet 1.5.2 requires Python 3.5 or newer.
When I downgrade to Pyglet 1.4.10, I get a different error:
Traceback (most recent call last): File "run.py", line 13, in <module> runner = GameRunner(game, (600, 800)) File "/home/terka/pyweek/29/29/baby-unicorp/Cows Everywhere/coweverywhere/ui/gamerunner.py", line 47, in __init__ self.fps_display = pyglet.clock.ClockDisplay()AttributeError: 'module' object has no attribute 'ClockDisplay'
Downgrading even further, to Pyglet 1.3.0, it finally worked!
The game itself is quite basic – as noted in the README.
Failed with a SynaxError when trying to run with Python 3.7.
The game had some errors. I tried to fix them in order to play your game, but it ended up being a pretty big bunch of problems that I didn't want to dive into right at this minute (most of them were problems with indentation). From what I could tell of the screenshots though, your game looked pretty fun!
- game.py line 18 had parenthesis around width and height- inconsistent use of tabs and spaces errorAfter converting all tabs to spaces, indentation was completely broken and I gave up.