Git Product home page Git Product logo

adventuregamecoursework's Introduction

Adventure Game Python Coursework

This is coursework for the OCR Entry Level Certificate in Computer Science (R354). It is a text-based adventure game made in Python, using CSV files.

Description

I am creating a text-based adventure game based in the future on a space station. It will offer scenarios and multiple-choice options which will determine the story path. There will also be a few fights, where the user must answer a general knowledge question to win. If they lose, the user will lose an amount of hit points (they start with 100). The game ends when the story resolves (win), the user runs out of hit points (lose) or the story ends with the aliens winning (lose).

The story is based on a space station where an alien is discovered. The user is a scientist investigating the effects of zero-g on rocket seeds and who suddenly discovers an alien onboard. The aliens are plotting to take over the space station and use the humans as slaves, but they can be stopped if the user makes the right choices and knows the correct answers.

All the question and scene data will be stored in CSV files to make editing each scene or question quick and easy.

Success Criteria

  • The program must ask the user for their name and refer to it throughout the program
  • The program must allocate 100 hit points to the character at the start
  • The program must remove hit points when the character loses a fight
  • The program must display the right text at each scene
  • The program must give the user multiple choices and questions
  • The program must change the scene depending on the user decision or answer
  • The program must end if the character reaches 0 hit points
  • The program must have a way to win
  • The program must have verification in decisions and some types of question, and ask the user to re-enter their decision/answer if they don’t enter it correctly/in the correct format

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.