Skip to content

miahbates/text-adventure-game

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Founders and Coders (apprenticeship)

FAC Quest! 🗺️

Co-authored with Paolo

A text based adventure game narrating your journey to SPACE 4!

Deployed version here!

Screenshot 2022-06-25 at 21 53 19

Team members

  • Scrum Facilitator - shared.
  • UX Design - shared.
  • DevOps - shared.
  • Quality Assurance - shared.

How to install 🛠️

  • git clone https://github.com/miahbates/text-adventure-game
  • run npm install in your terminal to install the dependencies.
  • run npm run dev in your terminal to start the server.

Criteria

  • Accept some user input (e.g. a username)
  • Query an API (e.g. the Github API, or any other fun one)
  • Populate the UI with API data
  • Have some form of persistent state and interactivity, e.g.

User Stories 👥

Core User stories

  • As a player I want to be able to visually keep track of my progress
  • As a player I want to play the game and get a result
  • As a user I want to choose my username by accessing my GitHub

Acceptance Criteria

  • Accept some user input (e.g. a username)
  • Query an API (e.g. the Github API, or any other fun one)
  • Populate the UI with API data
  • Have some form of persistent state and interactivity

Features: 🌟

  • React client side app.
  • Able to use github API to get an image from your profile.
  • Life bar feature
  • Winning and loosing GIFs.

Learning 🌱

  • We can explain what problems React solves
  • We can explain when we might not use React
  • We can use the React library to build apps
  • We can use JSX to create DOM elements
  • We can use function components to organise our code
  • We can use component state to manage DOM updates
  • We can manage side effects in our components
  • We can re-write class components with the newer hooks API

Improvements and future ideas ✨

  • Fix bug: able to play the game without entering your github
  • Locale storage to create a leader board of scores
  • Add more questions

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 79.5%
  • CSS 17.0%
  • HTML 3.5%