Giter VIP home page Giter VIP logo

thedknight-portfolio.project.2's Introduction

Rock Paper Scissor Lizzard Spock

This is a website made from html, css and javascript. It is a game from the tv show The Big Bang Theory called rock paper scissor lizzard spock.

website on different devices

The game can be visted here. https://thedknight.github.io/portfolio.project.2/

UX

User Stories

  • As a user, I want to…
  1. be able to navigate the website easily.
  2. be able to play the game verus the computer and keep scores.
  3. be able to play with out having an errors.
  • As a site owner, I want…
  1. the information to be clear and informative.
  2. the information to be sufficiently various for all users.
  3. the website be simple to navigate.

1. Strategy

  • Project Purpose
    • To provide a simple interface to allow users to easily play the game.
    • To allow scores to be kept so the user knows how many times it won.

2. Scope

  • I wanted a simple, straightforward UX experience.
  • As the game is based on running javascript i wanted the ux to be easy and clear desgin

3. Structure

  • A clear layout is in place to ensure users can immediately find all the information with a header telling the user to select a card
  • Once a user selects a card there card and the result and the computers card will appear.
  • A score box will also appear to allow the user to keep score.

4. Skeleton

This is the wireframe i created of the project. A simple version of the game that allows the user to select a card and the computer will pick a card and the result will be shown of the user.

project wireframe

5. Surface

  • Colours
    • The two main colors used for the css were. #9cc3d5ff For the background and #0063B2FF for the game area.

color pallette

  • Font Selection
    • The font used was "Raleway" with sans-serif as backup.

Features

  • The header .
    • The header just has the name of the game in the heading area.
  • Game Area
    • The game area holds the main part of the game, it holds all the playing cards at the bottom of the box.
    • After the user has selected a card it will display the users selection and also the computer selection and and who the winner is logs the result for either the user or computer.

Testing

Automated tests

  • HTML

Passing the HTML from all templates and base into the W3C Markup Validator no errors have been found W3C validator. Code Validation results: Html code checked passed

  • CSS

No errors were found when passing through the official W3C validator.

css code check passed

  • Javascript

No errors were found when passing through the official JShint validator.

jshint code check passed

Manual Testing

  • Desktop

Mozilla Firefox, Google Chrome, Microsoft Edge: everything is working good. Page loads and all of the page features are working.

  • Mobile

Tested with iPhone 11. It is responsive as intended.

  • Chrome Dev Tools Tested on different phone and tablet sizes using chrome dev tools and all working as intended.

Known Bugs

User card not selected bug.

  • I have found while testing there is a bug that happens sometimes where when the user selects there card there is no card selected but if you press the card or another card the program wil work as intended.
  • There doesnt seem to be any pattern to the bug as when it happens it can be any card seletion or any computer selection.
  • Screenshots shown as below from what the user sees and what the console sees.

User View

user view of the bug

Console View

console view of the bug

Deployment

The website was deployed to GitHub pages.

  • The steps to deploy are as follows:
  • In the GitHub repository, navigate to the Settings tab;
  • From the source section drop-down menu, select the Master Branch;
  • Once the master branch has been selected, the page will be automatically refreshed with a detailed ribbon display to indicate the successful deployment. The live link can be found here.

Content

I looked over some other projects in stackover flow to get a jist of how other people created there projects.

Work based in other code

thedknight-portfolio.project.2's People

Contributors

thedknight 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.