Skip to content

kt-ch/JS-Capstone-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Collection Style Game Starter Code

This is a place for you to start building your Collection Style Game Project!

Project Requirements

Your project should:

  • Include a falling object sprite that falls from random positions during the game.
  • Include a catcher sprite that moves left and right when the arrow keys are pressed.
  • Detect collision when the falling object collides with the catcher.
  • Include a score variable.
  • Increase the score when the falling object collides with the catcher.
  • Optional:
    • Include three images: one in the background, one for your catcher sprite, and one for your falling object sprite.
    • Include citations for your images in your project’s README file.

Optional Spice Level + Extensions

You can extend your project further by:

  • Trying a Spice Level Challenge (See Part 5)
  • Adding another falling object (See HQ for details)
  • Adding a home screen (See HQ for details)
  • Adding another level (See HQ for details)

Attributions

*If you used any code, ideas, images, or resources from another person or group of people, tell us about it here. Make sure it is in the public domain, has a license that allows you to use it, or is one of your own.

  • Add here if applicable

File Overview

← script.js

This is where we will add the JavaScript code for our game.

← assets

Drag in assets, like images, to add them to your project. If you are adding an image, it is best to save it to your computer, then upload the file to the assets folder. The url of the image will be assets/example.jpg or assets/example.png.

← index.html

The HTML file contains HTML code that sets up a webpage for our game. We also add libraries in this file using HTML tags.

← README.md

That's this file. This is the place to tell people more about what your game does and how you built it.

← style.css

The CSS file adds styling rules to your content like changing colors and fonts. We will not use this file for our game and instead update the style of our game in the script.js file.

Releases

No releases published

Packages

 
 
 

Contributors