Fan-edit of the warrior cat clangen game built using Python and Pygame.
Original creator: just-some-cat.tumblr.com
Fan-edit creator: SableSteel, and many others
Stable versions can be downloaded directly from the official ClanGen website
Note: Development versions are automatic snapshots of current development efforts. They are not stable, can crash and even corrupt your save files. Additionally, we do not provide tech support for development versions.
Download at your own risk here: ClanGen development download
ClanGen uses poetry to manage virtual environments. Therefore it is required to install the dependencies and run the game from source without manual tweaking.
ClanGen currently supports python versions >=3.8 and <3.13.
Download from the official python website here: https://www.python.org/downloads
Check if python is installed correctly by running python3 --version
Follow the instructions for installing poetry from the official website: https://python-poetry.org/docs/#installing-with-pipx
Open a terminal and paste this:
python3 -m pip install pipx --user
python3 -m pipx install poetry
python3 -m pipx ensurepath
Then restart your terminal and check if poetry is installed by running poetry --version
Open a PowerShell window (Windows key and then enter PowerShell
) and paste this:
py -m pip install pipx --user
py -m pipx install poetry
py -m pipx ensurepath
or in case you installed Python from the Windows Store:
python -m pip install pipx --user
python -m pipx install poetry
python -m pipx ensurepath
Then restart your terminal and check if poetry is installed by running poetry --version
Double click the run.sh
script or open it in the terminal via ./run.sh
with the current working directory set to the game's root directory.
Double click the run.bat
script.
To configure poetry to run with Visual Studio Code, open the ClanGen folder and run the following code snippet in the Visual Studio Code integrated terminal (Ctrl + ` to open the integrated terminal):
poetry config virtualenvs.in-project true
Now run the following command to create a virtual environment:
poetry install --no-root
It should have created a .venv
folder in the root directory of the game.
If you don't see it, remove existing poetry virtual environments by running poetry env remove python
and try again.
After that, ensure that you have the Python extension installed in Visual Studio Code. You can install it from the Extensions tab on the left sidebar. (or click here)
Then, open the Command Palette (Ctrl+Shift+P) and search for Python: Select Interpreter
. Select the virtual environment created by poetry (it should mention a .venv
somewhere).
Finally, open the main.py
file and click the play button in the top right corner to run the game.
We have migrated to GitHub Issues for bug reporting and tracking. We no longer review bug reports from the retired Google Form.
If you'd like to contribute to Clangen, please read our Contributing guide.