Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/astynax/djaif
Django-powered Interactive Fiction engine
https://github.com/astynax/djaif
django educational-project game-engine interactive-fiction python
Last synced: about 10 hours ago
JSON representation
Django-powered Interactive Fiction engine
- Host: GitHub
- URL: https://github.com/astynax/djaif
- Owner: astynax
- Created: 2020-04-04T06:00:14.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-23T11:00:11.000Z (over 2 years ago)
- Last Synced: 2024-07-30T18:36:31.233Z (5 months ago)
- Topics: django, educational-project, game-engine, interactive-fiction, python
- Language: Python
- Homepage:
- Size: 110 KB
- Stars: 6
- Watchers: 5
- Forks: 1
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DjaIF
DjaIF, simple **Dja**ngo-powered **I**nteractive **F**iction engine.
This project is a software that I'am developing during [this series of YouTube streams (in Russian)](https://www.youtube.com/playlist?list=PLUFoWyWge7mrNDtYx-1pzpUWDWg7kcXQq).
### How to
1. Get UV
1. Clone
1. `uv sync`
1. `uv run python manage.py migrate`.
1. `uv run python manage.py createsuperuser --username=admin` and set password to `admin` (TODO: make the password optional).
1. `uv run python manage.py runserver`.### DB Example
You can copy `example/db.sqlite3` file to the project's root and possibly run some migrations (`manage.py migrate`). Then you'll be able to play example game. It is pretty incomplete but it shows most of engine features.