AGPL-3.0 License
This project aims to implement a Killer game (also known as The Game of Assassination), but expand it with multiple modes.
The core principle is the following: every player involved in a game receive a ziel (german word for target) and a mission. In our example, if Alice and Bob are players, Alice has Bob as ziel and her mission could be Dance with your ziel during one song. If Alice succeeds, she will announce it to Bob, which discovers that Alice was his "hunter" (jaeger in the game), and give her his player code. Alice will now receive a new ziel and a new mission, and Bob will be out. The game continue until there is a single player left.
How to start a game
/dashboard
page(only accessible to superusers).The game is developed in the form of a web application built on the Django Framework and can currently by deployed through the following ways. If your's is missing please check out the infra issues here.
Prerequesites : Postgresql, Python 3.9 at least, Pip. Done on Manjaro/ArchLinux, no guarantee on other OS yet _()_/.
git clone [email protected]:Dynnammo/treffen.git && cd treffen
)pew new treffen && pew setproject treffen
)pip install -r requirements.txt
python manage.py makemigrations
python manage.py runserver
For every deployment method, you'll need first:
.env
file completed with the appropriate values (follow .env.example
model ):
DJANGO_ENV
to production
SECRET_KEY
to a long and unguessable stringPOSTGRES_ADDON_*
variables set following your production-ready Postgres databaseOn clevercloud, you'll have to link your GitHub account or installing the Clever cloud CLI. Treffen works with a Postgres addon + a dozen of env variables provided in the .env.example file
git clone [email protected]:Dynnammo/treffen.git && cd treffen
docker-compose build
docker-compose up (-d)
If you need to change any configuration such as db port, user, password, etc...,You can set it into the docker-compose.yml file
docker exec -it treffen_app python manage.py migrate
~/.env
file following .env.example
guidelines (cf. here)./install.sh
http://example.com:8000
).See CONTRIBUTING.md file