https://github.com/etcetra7n/gest
A game engine for console based text game
https://github.com/etcetra7n/gest
game-development game-engine gamedev python-library text-game-engine
Last synced: 5 months ago
JSON representation
A game engine for console based text game
- Host: GitHub
- URL: https://github.com/etcetra7n/gest
- Owner: etcetra7n
- License: bsl-1.0
- Created: 2023-04-08T05:31:35.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-19T16:27:33.000Z (almost 2 years ago)
- Last Synced: 2025-09-17T03:01:58.992Z (9 months ago)
- Topics: game-development, game-engine, gamedev, python-library, text-game-engine
- Language: Python
- Homepage: https://gester.sourceforge.io
- Size: 1.12 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gester
A game engine for console based text game
```s
pip install gester
```
See an example text game
```
$ gest gernards_tale.gest
Enter your player name: Alex
Hello Alex. Welcome to Gernard's Tale
You are about to enter a mistic and eerie world, full of wonders
that will unfold before your eyes. Your progress will be saved
automatically
Are you ready to proceed? (y/n): n
```
The above gameplay is bought about by a game script `gernards_tale.gest`
which look like:
```
[input: name] Enter you player name:
Hello {name}. Welcome to Gernard's Tale
You are about to enter a mistic and eerie world, full of wonders
that will unfold before your eyes. Your progress will be saved
automatically
[yes_or_no: p] Are you ready to proceed?
[{p} no]
[abort]
[endblock]
...
```
Go check out `example/` directory for more example.
Gest command will invoke the game engine which will read the game
script file (.gest file) and present the game on the command window
## Features
Using Gest you can make text based games with
- Simple syntax
- Use variable to store real-time values
- IF Conditioning to make decision branches
- Play background music
- Make several `scenes` to partition and branch out your story
- Write comments using `#` in your .gest file