Menu

Tree [5071fb] main /
 History

HTTPS access


File Date Author Commit
 .github 2023-04-09 John Anchery John Anchery [6d6d27] Fix installer upload issue
 nsis 2023-04-09 John Anchery John Anchery [553a71] Fix windows installer issue
 src 2023-04-09 John Anchery John Anchery [bd1e17] Rename gest to src
 .gitignore 2023-04-09 John Anchery John Anchery [e716e9] Ignore .gest and .gsav
 INSTALL.md 2023-04-09 John Anchery John Anchery [5071fb] Decrease Heading level again
 LICENSE 2023-04-08 John Anchery John Anchery [ad3ed8] fix comment bug
 README.md 2023-04-09 John Anchery John Anchery [3ea895] Add info
 pyproject.toml 2023-04-09 John Anchery John Anchery [a56faf] Fix twine upload issue

Read Me

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]

  ...

Gest command will invoke the game engine which will read the game
script file (.gest file) and present the game on the command window