GithubHelp home page GithubHelp logo

james-g-hill / pangu-text-adventure Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 17 KB

A simple text adventure exploring an ancient Chinese creation myth where you play as Pangu

Gnuplot 0.98% Prolog 99.02%

pangu-text-adventure's Introduction

PANGU: THE MYTH OF CREATION README

In this game the player acts out the role of the Chinese mythical creature Pangu during the time when he supposedly created the world.

Pangu appears floating in a cosmic egg between mixed up yin and yang. He uses an axe to sunder the yin and yang. He then gathers the four magical creatures: dragon, phoenix, qilin and turtle, and with their help pushes the yin and yang apart. He then dies and his body becomes the universe.

How does the game satisfy the requirements of the brief?

The locked door

The locked door is symbolised by the swirling void of yin and yang. The player will find that they cannot go anywhere until they swing an axe to cut the yin and yang. Cutting the yin and yang changes the environment, representing a movement from one to another, just as a locked door would. This is implemented by a rule for holding an axe to be modified by the players actions, and for them to perform the 'swing' action.

Hidden object

The hidden object is the axe with which Pangu cuts the ying and yang. The axe is hidden inside the remnants of the egg from which Pangu climbed. The axe is hidden from the player until they 'examine' the egg.

Incomplete object

After the yin and yang is cut 4 creatures appear in the world:

- The Turtle
- The Qilin
- The Phoenix
- The Dragon

Pangue must bring the creatures together as a team to push the earth and sky apart. The creatures are entered into a list when the player 'takes' them. When the list is complete the player can end the game via the 'push(yin)' or 'push(yang)' commands.

Limited resource

The limited resource is time. After 18,000 years Pangu will die. Each movement between environments in the game represents 1000 years. If Pangu dies before the earth and sky are separated then the yin and yang will mix together again. The number of years remaining is contained in a fact that re-asserted with arithmetic after each movement.

What is this repository for?

A prolog program for the coursework 2 of the Programming Paradigms module academic year 2016/2017.

Who do I talk to?

Contact James Hill on [email protected]

pangu-text-adventure's People

Contributors

james-g-hill avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.