Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+1)

Sorry, it just drops a lot of errors. Did you run it under a Linux?

[xtristrix@linux-2 unveil]$ ./main.py ./main.py:186: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if self.visited and clone.get() and self.shade is not 2:
./main.py:218: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if self.shade is 3:  # white gets -2 when taken away
./main.py:221: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif self.shade is 2:  # red gets +2 when sacrificed and can clone itself
./main.py:225: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif self.shade is 1:  # green gets +1 when sacrificed
./main.py:228: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif self.shade is 0:  # black gets -1 when sacrificed but gets +2 later
./main.py:284: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if column_padding is 0:
./main.py:314: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if hitbox.shade is 3:
Traceback (most recent call last):
  File "./main.py", line 21, in <module>
    import pygame


maybe it helps for debuging

(3 edits)

Yes, I wrote and ran it on Linux.

I’ll update the README with better instructions. Do you have python 3.7 or better installed?

Try specifically using python3 instead of just python as the command to start the game.

  1. Use Python to install the requirements:
$ python3 -m pip install -r requirements.txt
  1. Start the game:
$ python3 ./main.py

I encountered the same errors on ArchLinux. python 3.8.5, pygame 1.9.6. I think those are just warnings (though legit, I do think you want == and not is).

There was an actual error that prevented the game from launching though:

AttributeError: module 'pygame.sprite' has no attribute 'Sprite'

I noticed that requirements.txt doesn’t pin to a specific version of pygame, maybe that’s the issue?

Also FWIW the jam page tells you to source venv/bin/activate, which isn’t included in the download (but does appear to be commited to your repo).

(+1)

Thanks for the feedback.

I’ve updated the game with a numbered requirement, and I’ve changed some conditionals in the code to avoid warnings and errors.