A downloadable game

Introduction

You don't know what had just happened, but that crooked sightseeing guide who ducked and ran the minute the walls started shaking has clearly put you and your family in deep trouble. He took all the flashlights with him, leaving you guys in complete darkness. Now you are stuck inside the Great Pyramid of Giza (or so it seems), and have no clue on how to get out. The shaking was probably an earthquake, but what was that green misty vortex you passed a minute ago? Things are not quite right here...

Instructions

PHARAOH is copyright (c) 2023 by Gianluca Girelli and GDG-Entertainment. The game inspired by the 1985 American science fiction television series "Otherworld", also know in Italy as "Dimensione Alfa". It was written using the Inform 6 language and the PunyInform library for PunyJam #4 and it may not be sold or included in any for-profit collection without written permission from the author. The jam ran from 18 November to 17 December 2023. See the jam page for the competition rules.

A text adventure is a form of computer game that presents you with a story. You take on the role of the main character in the story and control that character's actions. The story has a goal and you will need to solve puzzles to achieve that goal. The computer tells you where you are, what you can see and what's happening around you. You can then move around, examine the things you find and manipulate those things by telling the computer what to do using simple English commands.

Commands consist of a verb phrase, optionally followed by a noun phrase. Most commands can be abbreviated to a verb followed by a noun. For example, OPEN THE FRONT DOOR can be abbreviated to OPEN DOOR.

If the verb is followed by a preposition, this may alter its meaning. For example, GET BED will attempt to pick up the bed, but GET ON BED will attempt to climb onto it.

In some cases, the verb phrase and first noun phrase may be followed by a second noun phrase. The two noun phrases are usually separated by a preposition. For example, HIT MAN will attempt to hit the man with your hands (as you didn't specify a second noun phrase), but HIT MAN WITH ROCK will attempt to hit the man with the rock. If you only use a verb and a noun, the game will generally tell you if it needs an extra phrase or implicitly try to deduce what is needed for the second phrase.

Don't panic! It's not as complicated as it sounds. Just use simple English sentences starting with a verb and it will all feel quite natural.

Movement

To move around, use commands like GO NORTH and GO SOUTH. You can move in any of the four cardinal compass directions. To save typing, movement commands can be abbreviated to N, S, E and W. You can sometimes use other movement commands such as IN, OUT, ENTER, EXIT, GET IN or GET OUT. These will be reasonably obvious when the time comes.

Examining things

Make sure you EXAMINE everything you come across, even insignificant things like scenery and objects mentioned in room descriptions, as subtle hints and clues are scattered everywhere. To save typing, EXAMINE can be abbreviated to X. For example, EXAMINE LOBBY can be abbreviated to X LOBBY.

You can also try your other senses when it seems appropriate, e.g. SMELL, TOUCH or LISTEN. Unlike EXAMINE, these actions aren't necessary to solve any puzzles but may prove useful later in the game.

Manipulating objects

Apart from examining things, most of your time will be spent manipulating objects. Use commands like GET or TAKE to pick up an object, e.g. GET NEWSPAPER. Use commands like DROP or DISCARD to drop an object, e.g. DROP NEWSPAPER. 

To see what you're currently carrying and wearing, use INVENTORY (or I). As you're not a pack horse, you can only carry ten items at a time.

There are many other verbs that can be used to manipulate objects. These will be fairly obvious when the time comes. Common verbs include OPEN, CLOSE, EAT, DRINK, READ and so on. Use PUT, PLACE or INSERT to put objects into containers or on supporters, e.g. PUT NOTEPAD IN POCKET.

Communicating with characters

You will encounter a lot of characters in this game. When you first meet new characters, in addition to examining them, you should try talking to them, e.g. TALK TO MANAGER. To get further information from them, try asking them about something relevant, e.g. ASK MANAGER ABOUT MYSTERY. This game is primarily about gathering information, so you will need to ask lots of characters about lots of things. 

Advanced features

You can use IT or THEM to refer to the noun used in the previous command, e.g. EXAMINE BAG, OPEN IT (for a singular object) or TAKE BEANS FROM BAG, DROP THEM (for plural objects). You can also use HIM and HER to refer to male and female characters used in the previous command, e.g. ASK MANAGER ABOUT BOOK, ASK HIM ABOUT BOOK, or EXAMINE MIKO, TALK TO HER.

You can refer to multiple objects by separating the objects with AND, e.g. GET NEWSPAPER AND KEY. Using IT and THEM in the next command will only refer to the last of those objects, e.g. EXAMINE IT will refer to the key.

You can use ALL to refer to all the appropriate objects with GET and DROP, e.g. GET ALL to get everything in the current location, GET ALL FROM TABLE to get everything on the table, DROP ALL to drop everything you're holding, but not wearing.

When using ALL, you can use EXCEPT or BUT to exclude some objects, e.g. DROP ALL EXCEPT STOOL.

Finally, you can enter multiple commands on the same line by separating them with a period, e.g. EXAMINE FUSUMA. OPEN IT.

Scoring

There is no score in this game. Your objective is to... Well, that's for you to find out.

Other commands

Use LOOK (or L) to refresh the display.

Use VERSION to get the game version. Use ABOUT or INFO to get background information and credits for the game. Use CREDITS to get the credits only.

Use SAVE to save your progress. Use RESTORE to restore a saved game.

Use UNDO to undo the last move. This is handy if you change your mind or make a mistake. You shouldn't be able to get killed or get into an unwinnable situation in this game. (UNDO is not available with the z3 version of the game.)

Use AGAIN (or G) to repeat the last command.

Use WAIT (or Z) to do nothing apart from passing the time.

Use HELP to get a brief reminder of how to play the game or HINT to get a context-sensitive hint related to the current location. (This will be added after beta testing.)

Use RESTART to restart the game from the beginning. Use QUIT (or Q) to quit without restarting. (Don't use QUIT with the online version of the game, as the game will appear to be locked up. If this happens, press the Back button in your browser.)

Most importantly, have fun and enjoy the game.

Keyboard shortcuts

Some interpreters have keyboard shortcuts. If you are using an interpreter on a computer with a conventional keyboard, most will allow you to press the up and down arrow keys to cycle through your past commands. This is handy if you want to repeat the previous command or correct a typo.

Playing the game

There are two ways to play the game.

  • Click the Run game button (above) to play the game in a browser. (Coming later.)
  • Download the z5 file and play the game using a z-code interpreter (see below).

Finding a z-code interpreter

There are a variety of z-code interpreters for all the major platforms, as well as many minor and retro platforms. There are far too many to list here. The best source of downloads is probably the Interactive Fiction Archive. Navigate to infocom/interpreters for z-code interpreters and interpreters-multi for interpreters that interpret both z-code games and other formats.

Common z-code interpreters

Android: I recommend Hunky Punk from Google Play. (There are others, as well.)

iOS: I recommend Frotz from the Apple App Store. (There are others, as well.)

Linux: See the links above.

Mac: See the links above.

Windows: I recommend Windows Frotz from the infocom/interpreters link above. (There are others, as well.)

Credits

Inform 6 compiler, language and library originally written by Graham Nelson and now maintained by David Griffith, David Kinder, Andrew Plotkin et al.

PunyInform library written by Johan Berntsson and Fredrik Ramsberg based on the Inform 6 library.

Concept, game design and coding by Gianluca Girelli.

Testing by Garry Francis, Ruggero Simoncelli, Davide Palombo e Marco Innocenti.

Cover and background image are (C) Gianluca Girelli, code generated by a BASIC V7.0 program the author personally developed on a Commodore C128.

Page layout and text taken from Garry Francis's pages, after prior permission.

Download

Download
pharaoh-extv.z5 65 kB
Download
pharaoh.z5 45 kB

Install instructions

The game is compiled in z5 format. To play it you need to install an interpreter for your system first, as suggested above. 

pharaoh.z5 is the original version. Due to personal matters, the game development was halted before the end of the jam, so it's rather short.

pharaoh-extv.z5 is Version 2, a much longer game with additional rooms, puzzles, and with a deeper story. Please play this version.

Leave a comment

Log in with itch.io to leave a comment.