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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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