Giter VIP home page Giter VIP logo

trapped's Introduction

Trapped!

Trapped! is an old school text-based adventure game written in Python. It runs in the Code Institute mock terminal on Heroku.

The user experiences a narrative game, in which they can make a choice in how to advance forward.

The live link can be found here: Trapped!


How to play

Trapped! is an old school text-based adventure game. The player is presented with a narrative scene and is promted with options to choose from in order to advance the story forward. Trapped! being a deadly game, the player has to choose the correct answer in each scene. An incorrect answer will cause game over and restart.


Features


Existing features

  • Narrative gameplay advanced circularly

Game introduction

  • Play along the computers story
  • Accepts user input
  • Input validation and error-checking
    • You must enter whole numbers, 1 or 2

Validate input


Features Left to Implement

  • In its current state, the game is fully playable and an adrenaline-filled experience but as with most things, there is always room for improvement. In the future I would like to add:
    • More player choice options, opening the game to more possible outcomes
    • Branching choice options, leading to a deeper experience
    • Randomized narrative scenes, unbound from previous scene

Planning stage

I used Balsamiq Wireframes to build a wireframe to first plan my project. Using the wireframe tool allowed me to get a clear understanding of what I was going to build and where parts needed to be placed.

Wireframe sketch

Visual sketch


Testing

  • I have playtested the game in browsers: Chrome, Firefox, Edge
    • Working as intended
  • As the validator website pep8online.com is currently down, I have manually run a Python linter in my workspace as per Code Institute's instructions
    • No errors found
  • I have run the code through Code Institute's Python Linter
    • All clear, no errors found

Deployment

This project was deployed unsin Code Institute's mock terminal in Heroku

  • Steps for deployment
    • Fork or clone this repository
    • Create a new Heroku app
    • Set the buildbacks to Python and NodeJS in that order
    • Link the Heroku app to the repository
    • Click on Deploy

Credits

Content

  • The content of these three websites helped me better understand how to write certain parts of the code. I altered the code to fit my project.
  • This website helped me gain an understanding on how to use the Time module.

Code Institute for the deployment termnial

trapped's People

Contributors

csilfverskiold 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.