Giter VIP home page Giter VIP logo

the-cup-game's Introduction

The Cup Game

INTRODUCTION


The website is focused on the game of “shells”, in this case cups. The site is minimal and elegant, while allowing for a high degree of user interaction and customization. The Cup Game is simple and challenging providing the user with an all round positive experience.

python3 -m http.server

CONTENT:

- UX

- FEATURES

- TECHNOLOGIES USED

- TESTING

- DEPLOYMENT

- CREDITS


UX


STRATEGY, SCOPE & STRUCTURE

The Cup Game:

Three identical cups are displayed side-by-side in a line; the ball is shown to be under one of the cups. The cups are then shuffled randomly over a period not exceeding 5 seconds. The player then clicks the cup they think the ball is under. If they guess right, they have won that game of cups and progress

Creator Goals:

  • I want users to have an enjoyable experience playing the cup game. It should be easy to understand but challenging to beat.
  • The user interaction should be slick and customizable to keep gamers coming back.
  • This is an observation game not a memory game, so the difficulty will be changeable to give all users a fun experience.

Games Target User:

  • People of all ages.
  • Users interested in an observation-based game.
  • People with any device type (mobile-first design).

New User:

  • As a new user, I want to quickly understand the core game concepts, so I can enjoy playing sooner.
  • As a new user, I want a fun and interactive experience regardless of the device I am playing on.
  • As a new user, I want to be able to change the difficulty of the game, so I can have an experience tailored for me.

Returning User:

  • As a returning user, I want my score to be saved, so I can compete and beat my PB’s.
  • As a returning user, I want to be able to make suggestions, to better improve the experience.
  • As a returning user, I want to be able to customise the game in some way, to make it more appealing to my tastes.

User Pathway:

  • The single paged website will cache/load cosmetic changes and game results to better engage users, personalising the experience by differentiating between new and returning users.

Image

Game Logic

  • A basic breakdown of how the game of cups will function. This is to help with JavaScript Implementation of the game.

Image

Project Content

Page Content :

  • Main Title
  • Game Area
  • Cup Colour Picker
  • Social Media Links
  • Contact Us Form

Game Content :

  • Start Game Button
  • Difficulty Setting
  • Intructions Button

SKELETON & SURFACE

Wireframes - New User

Moblie + Tablet

Image

  • As a new user the how to play button is already toggled on, this is to aid in usability. This site layout is consistent for all device sizes. The game is centralised to draw focus, and will be contrasted against the background.

Desktop

Image

  • Using the desktop space to focus on the game, leaving plenty of room to draw the eye.

Wireframes - Return User

Moblie + Tablet

Image

  • For returning users, the how to play button is toggled off. In its place is a previous score display, and their last selected cup colour is set to current colour.

Desktop

Image

  • Following the style and content formatting of the smaller devices, with the expection of the off center "previous score" display and colour picker.

Colour Scheme

Static site colours:

The site has two standard colours, #e5e5e5 for the body background and #333 for the font, labels, and buttons text colour. Both are intentional dull to complement the third colour which is customisable by the user.

Customisable colour scheme:

With the use of the colour picker, the user can change the colour of the cup elements displayed on the site, as well as the colour of the footer’s social links, 'contact us' button and 'contact us' form header background.

Buttons & Links

Instruction and start button : Both have cursor: pointer when hovered over, letting the user know an event will happen when clicked. For the Instruction button a drop down div will display game information. With a click on the start button the game will initialise.

Difficulty settings buttons : The easy, medium, and hard buttons are toggle elements that share the same name. Only one button can be selected at a time. The selected button becomes black to make it easy for the user to know what difficulty they are playing on.

Footer Buttons : All footer buttons have cursor: pointer when hovered over, letting the user know an event will happen when clicked. The Contact us button will launch a modal for submitting feedback about the game. The social links open pages to the respective sites.


FEATURES


Website Features -

  • Simple, easy to understand layout with user feedback on all links both internal and external.
  • Bootstrap based navigation header, with collapse function in mobile view.
  • Social links in footer element, along with copywrite information.
  • Short introduction text to info user of the goal of the site.

Game Features

  • A section containing condensed information about New Zealand.
  • Links within the section that will take user to the source material.

Image Gallery Page / Google Maps Location Links -

  • Multiple images of New Zealand.
  • Additional information provided on pictures from captions underneath.

Image Get In Touch Page / User Form submission -

  • Concise form with active feedback for the user.
  • Allows them interaction between the Site operators and the users of said website.

Image

Existing Feature

  • Header Navigation : Allows the user to navigate through the sites four pages.
  • Footer Section :
  1. Contact Us - A link to a pop up modal that contains the form for getting in touch.
  2. Copywrite - A small static element displaying the site creator and year of implementation.
  3. Social Media - Multiple links throught to big social media site.
  • About page : Bootstrap cards with relevant images, information and links through to Wikipedia source material.
  • Gallery page : Contains pictures and videos of New Zealand. With accompanying text describing location (on large and medium devices)
  • Get In Touch page : A form set up to give the site operator more information about the users of the site to help with targeting. And a way for the users to give feedback, express ideas and enquiry about the site/ content presented on it.

TECHNOLOGIES USED


  • HTML5 : The markup language used for structuring and presenting content on the Discover New Zealand website.
  • CSS3 : The language that defines the presentation of a website Discover New Zealand.
  • BOOTSTRAP V4.6 : Used in the project to create a mobile-first designed website. It is the most popular front-end open source toolkit.
  • FONT AWESOME : Used in the project to provide vector icons and social media logos.
  • GOOGLE FONTS : Provided typography to the project. It is a robust collection of open source designer web fonts.
  • TINY PNG : Used to reduce the file size of PNG files in the project.
  • BALSAMIQ : Used to create a table and multiple wireframes for the project. Licence provided by Code Institute.
  • GITPOD : The interaction development environment (IDE) used to write the projects code.
  • GITHUB : Provides hosting for software development version control using Git. The host of this project.
  • GIT : Git is a free and open source distributed version control system.

TESTING



DEPLOYMENT


How Do I Create A Project :

  1. Sign on to github/create a new account.
  2. Select New Repository.
  3. Name the repository and click the green button.
  4. You will be taken to gidpod where you can start coding.

How I Deploy The Project To GitHub :

  1. Log on to GitHub, clicked the repository named discover-new-zealand.
  2. Select the settings tab and scroll to the section headed GitHub Pages.
  3. In the sub-heading of Source, select the master branch and then save.
  4. The site is now deployed and a live link is given.

How Do I Fork The Repository :

  1. Go to the discover-new-zealand repository.
  2. Click Fork button in the very top right corner of the browser.
  3. This creates a copy.
  4. You can now click pull request and within the dropdown select New Pull Request.

How To Deploy Locally :

  1. Log on to GitHub, clicked the repository named discover-new-zealand.
  2. Select the dropdown tab "Code" and choose Download ZIP.
  3. Un-zip files and it's ready to use on your local environment.

CREDITS


Hints/Tips/Documentation

References

  • Code Institute - Project inspired by Rosie (resume-project) & Whiskey Drop project.
  • Wikipedia - Pages used as links in 'about.html' learn more buttons.
  1. History link and section - https://en.wikipedia.org/wiki/History_of_New_Zealand
  2. Wildlife link and section - https://en.wikipedia.org/wiki/Biodiversity_of_New_Zealand
  3. Activites link and section - https://en.wikipedia.org/wiki/Tourism_in_New_Zealand
  • Google maps - Used for pindrop link in bootstrap carousel caption area.

Special Mentions

  • Code Institute/Slack community - for the support and motivation
  • Rohit Sharma - For the support, motivation and excellent feedback.

the-cup-game's People

Contributors

5-ean avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.