/canvas_game_starter

Starter code for a simple game, borrowed from CodeMahal.

Primary LanguageJavaScript

CoderSchool FTW - * Nam, the Monster Hunter *

Created with love by: Charles Lee

This is a simple Canvas-based game that requires a solid understanding of the principles of JavaScript programming to customize.

Video Walkthrough

Here's a walkthrough of implemented user stories.

Code Reviews

This code was reviewed by @username and @otherusername.

Required User Stories

  • I have at least three code reviews from others.
  • The user can move their character with the arrow keys.
  • The user can see a monster.
  • The monster is placed at a random location within the game boundaries.
  • The user can catch a monster by moving their character to the same location as a monster.
  • When the user catches a monster, a new monster is placed randomly upon the screen.
  • The user can see the numbers of monsters she has caught. Every time she catches a monster, the number should increment by one.
  • The game ends when the user has caught 20 monsters. The total time elapsed is displayed upon game completion, in seconds.
  • The user can access this game from the internet (e.g. using Netlify).
  • The code has been reviewed by at least one other person, using Pull Requests on GitHub.

Optional User Stories

  • Custom styling: the developer has replaced the images for the main character, monster, and background with something of her choice.
  • The user cannot move her character off the screen.
  • The user sees a few different types of monster each time a new monster is spawned.
  • The monster moves around on its own each frame, and the user must chase it.
  • The map has "obstacles", such as trees, which block the user from moving through the space occupied by the obstacle.
  • The user can hear sound effects upon movement and upon catching a monster.
  • The user hears background music during the game.
  • The user can see their high score.

The following additional features are implemented:

  • List anything else that you can get done to improve the page!

Time Spent and Lessons Learned

Time spent: X hours spent in total.

Describe any challenges encountered while building the app.

License

Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.