Skip to content

Kbowen200247/Psychic-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Psychic-Game

Overview

In this assignment, you'll create one of two possible computer games: Hangman or Psychic. These apps will run in the browser, and feature dynamically updated HTML powered by your JavaScript code.

Before You Begin

  1. Create a new GitHub repo called Psychic-Game, in accordance with the assignment you choose to complete. Then, clone it to your computer.

  2. Inside your local git repository, create an index.html.

  3. While still in your local git repo, create a directory called assets.

  4. cd your way into the assets folder, then make three additional folders: javascript, css and images.

  • In the javascript folder, make a file called game.js. Use the src attribute of the script tag to link to this file, rather than embedding the code directly in your HTML document.

  • In the css folder, make a file called style.css.

  • Also in the css folder, make a file called reset.css. Paste into it the code from the Meyerweb reset stylesheet. If you opt to use Bootstrap instead of writing your own CSS, skip this step, and simply include a link to Bootstrap via CDN.

  • In the images folder, save whatever images you plan on using.

  1. Push the above changes to GitHub.

  2. Choose whichever game you'd like to build. Making the Psychic game will prove less challenging than coding Hangman. However, as the challenge of the Hangman exercise provides a more comprehensive review of this week's material, we suggest attempting that assignment first.

  3. Note: There's no shame if you'd prefer submitting Psychic—it's still a proper challenge.

  4. Push your selected game to Github Pages.

Psychic Game