Skip to content

wohlfea/cup-game

Repository files navigation

Slash Whooo? Code Fellows Sea 201d1

A.J. Wohlfert Ardian Ajvazi Dan Schwartz Brandon Feinstein

This is a game based on the cup and ball shuffling game. Instead of using a cup we use a picture of Slash and instead of the ball we use a family of owls under Slash's hat. The game starts off by displaying a start page with option parameters for the game. The option parameters are: number of shuffles and speed. The higher the number of shuffles and the faster the speed, the more points the user will score if they win the game. The user makes their options selection and clicks the start button, which takes them to the game page.

The game page consists of three square images of Slash. When the game page is loaded the owl family will reveal itself before the shuffling begins. The user tracks the image containing the owls until the shuffling is done. Once the shuffling is over the user will click the Slash image they believe to contain the owl family. If they click the right image it will display a pop up saying 'you win!' and if their score is a new high score, the pop up will say 'new high score' and will prompt the user to enter their initials. If they click the wrong image the pop up will say 'you lose' and prompt the user to click the link to the high scores page. Once the user either enters their initials for a new high score or clicks link to the high score page, the high score page will be displayed. From the high score page the user can click the link to play again or view the about us page.

Resources we used:

function getOptions in game.js is attributed to https://css-tricks.com/snippets/javascript/get-url-variables/

Google Fonts: https://fonts.googleapis.com/css?family=Press+Start+2P|Kreon:400,700

Button creation: http://css3buttongenerator.com/

Background image: http://www.androidcentral.com/sites/androidcentral.com/files/styles/w550h500/public/wallpapers/abstract-background-51f.jpg?itok=UwHL3aOQ

Slash image: http://s3.amazonaws.com/quietus_production/images/articles/5524/Slash_Pic_1294661427.jpg

The MIT License (MIT)

Copyright (c) 2015 wohlfea

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •