Skip to content

damiecode/Quest-for-treasure

Repository files navigation

Welcome to Quest for treasure 👋


This project is part of a series of projects to be completed by students of Microverse.

Quest for Treasure is created using vanilla JS and Phaser JS. It is a simple platform game where the goal is to fetch the key and open the door that leads to the next level.

scene
Website


The full project requirements can be found here.

The full description of the game can be found here

Game Design Document

The Game overview

This game focuses on the desire for humans to get what they want. The player has to play to get the treasure while trying to avoid all obstacles. read more here

Click here for game design document in PDF

HOW TO PLAY

This is a simple prototype of a game where the player has to get a key to open the door to the next level while avoiding obstacles like the bomb and the spider. Use the arrows of your keyboard to control the player to moving left and right. Use space bar to jump.

DESIGN PROCESS

This is how this game was designed: In the first two days, what I had in mind was a game that was both interesting and challenging for users. I planned the game to have at least 2 levels, since I could not fit all my ideas in a single level. I named it Quest for Treasure: the treasure is a key, which will take the player to the next, more difficult level. I used the available sprites for the game and built different scenes in different files, in order to make it easier to spot errors and bugs. Since I built obstacles into the game, I also had to create a way for the player to gain points, so I added coins.

Built With

  • JavaScript (ES6)
  • HTML
  • PHASER JS
  • npm
  • webpack

Usage

Clone the repository to your local machine

$ git clone https://github.com/damiecode/Quest-for-treasure.git

cd into the directory, install dependencies, build and start

$ cd 
QUEST-FOR-TREASURE
$ npm install
$ npm run build
$ npm run start

Open http://127.0.0.1:8080 using your favourite broswer, if it doesn't open automatically.

Run tests

$ npm run test

Authors

👤 Damilola Ale

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

  1. Fork it (https://github.com/damiecode/Quest-for-treasure/fork)
  2. Create your working branch (git checkout -b [choose-a-name])
  3. Commit your changes (git commit -am 'what this commit will fix/add/improve')
  4. Push to the branch (git push origin [chosen-name])
  5. Create a new Pull Request

Future features

  • Create different and more interesting levels for the game
  • Load the game levels with JSON file
  • Modularize code so levels can be loaded in one page.

Show your support

Give a ⭐️ if you like this project!

Contact me

I am looking for my next opportunity. Reach out to me if you are looking to hire! codenlyn@gmail.com

About

Quest for treasure is created using vanilla JS and Phaser Js. It is a simple Video game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published