Giter VIP home page Giter VIP logo

project-two-roshambo's Introduction

Table of Contents

Javascript Roshambo Rock Paper Scissors Game

This interactive front-end website responds to the users' actions, allowing them to play the game of "Rock, Paper, Scissors" with the computer.

( This is as a milestone project for the Javascript module of the Full Stack Web Development Course at Code Institute. )

Demo

To access live demo, click here.

UX

Strategy

User's expectations:

  • The website shall allow anyone to play the game of "Rock, Paper, Scissors".

Target Users:

  • Anyone who wishes to play the game of "Rock, Paper, Scissors".

User Stories:

  • As a visitor of the website, I want to play the game of "Rock, Paper, Scissors".

Scope

Content Requirements

  • Three buttons - one denoting a rock, one denoting a piece of paper and one denoting a pair of scissors
  • Area showing the choice made by the computer
  • Area showing the score between the player and the computer
  • A buttonn allowing the player to reset the score

Functional Requirements

  • Buttons allowing the player to make a choice between a rock, a piece of paper and a pair of scissors
  • A button allowing the player to reset the score

Structure

Interaction Design

  • The buttons allowing the player to choose between Rock, Paper and Scissors highlight the players choice, invoke computers choice and update the score.

  • The reset button resets the score.

Information Architecture

  • All content presented on a single page, clearly visible to the user.

Skeleton

Navigation Design

  • No navigation required

Interface design

  • Page layout is the same on all screen sizes

  • Top Bar with the title of the game on top of the page

  • Three buttons allowing the user to choose between (Rock, Paper, Scissors) options

  • Area showing the score between the player and the computer

  • Area showing computers choice

  • Reset button allowing the player to reset the score

Wireframes

Wireframes for the project can be found here.

Surface

  • Colours - Colours chosen so as to make all elements cleerly visible and grouped intuitively
  • Typography - Henny Penny font by Brownfox Principal design from Google Fonts
  • Elements/sections from top to bottom, left to right: Top Bar witht the title, three buttons for the players choise (Rock, Paper, Scissors), area showing the score, area showing the computers choice, reset button.

Features

Existing Features

  • The buttons allowing the player to choose between Rock, Paper and Scissors highlight the players choice, invoke computers choice and update the score.

  • The reset button resets the score.

Features Left to Implement

  • Optional animations to make the game more entertaining

Technologies Used

  • [HTML]
  • [CSS]
  • [Javascript]
  • [Bootstrap]

Testing

Manual Testing Implemented:

  • Continuous testing with Chrome Development Tools during development:

    • Reviewing the look and "feel" of the web page
    • Testing responsiveness to changes in screen size
  • Testing that all features work properly (on all screen sizes):

    • The buttons allowing the player to choose between Rock, Paper and Scissors upon being clicked on invoke computers choice and update the score.
    • The score is updated after each round.
    • The reset button resets the score.
  • All text and elements are readible/visible on mobile, tablet and desktop screens and not obscured by colors.

Official W3C validator services have been used to check the validity of the code - HTML, CSS.

Esprima and JSHInt have been used to check the validity of the Javascript code.

Goals of the user presented earlier in the User Stories section of this README can be achieved by clicking on the interactive elements of the page.

Deployment

The project is hosted on GitHub Pages. The repository can be found here. It is deployed from master branch the following way:

  1. In the GitHub repository select Settings.
  2. In the GitHub Pages section select main as a Source and save.

To run locally, type: git clone https://[email protected]:Cezary-Nakielski/Project-Two-Roshambo.git into your IDE terminal.

Credits

Acknowledgements

  • This website was made for educational purposes

project-two-roshambo's People

Contributors

cezary-nakielski 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.