Skip to main content

A game engine for console based text game

Project description

Gester

A game engine for console based text game

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gester-1.3.6.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

gester-1.3.6-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file gester-1.3.6.tar.gz.

File metadata

  • Download URL: gester-1.3.6.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Windows/10

File hashes

Hashes for gester-1.3.6.tar.gz
Algorithm Hash digest
SHA256 cb702626af579d7eb107d7ae898150c8f3032a434bc9661d9bf01a7828dbd57b
MD5 62f828db3a2fb0adb38bdd7bbf835e83
BLAKE2b-256 2fe808ca6a0d7b932ef363ce1bbab0dc5d29d0295a75effe13ae683d35120e45

See more details on using hashes here.

File details

Details for the file gester-1.3.6-py3-none-any.whl.

File metadata

  • Download URL: gester-1.3.6-py3-none-any.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Windows/10

File hashes

Hashes for gester-1.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 79030ef9b459a0477c72d5e8ea69a1236d8b1873dcb559edb3da1c8f268567a8
MD5 80146647fb4c9c9ae7030ef446800d16
BLAKE2b-256 c696fc480203b7d984bfc98cf5ed21e1a2272fc81f9a10bc7d71081ce6989e92

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page