Giter VIP home page Giter VIP logo

project2-rock-paper-scissor-1's Introduction

Rock Paper Scissor

This project is a game everyone knows!

This website is a easy way for one player to play against the computer.

It's meant to be easy to play, and with an overview that makes it easy to keep track who first gets to 5 wins!

Live page

The live website can be found here; RockpaperScissor

Multidevice Mockup

different screen sizes

UX

Before creating this game i first went into Figma to draw up a sketch.

This is the layout i was working towards:

figma mockup

About

  • This setup is meant to be easy to use
  • This setup is designed so that its quick to start playing
  • This setup is meant to be easy to play on all devices.

Features

These are the different sections of the game:

This is how it looks before you start playing:

before first choice

The emoji is clearly marked when chosen:

first choice

If you win a round you get this message:

its a win

If you lose a round you get this message:

its a loss

If the round is a draw you get this message:

its a draw

If you win 5 rounds before the computer, you see this message:

you're the winner

If the computer wins 5 rounds, you see this message:

you're the loser

The rules are displayed at the bottom of the page:

the rules

Technologies Used

  • Figma for mockup
  • Github for deploying the website
  • Gitpod to edit and structure the website
  • HTML to provide the structure and content for the website
  • CSS to style the website
  • JavaScript for the interactivity

Testing

HTML testing

Document checking completed. No errors or warnings to show.

CSS testing

Congratulations, no errors has been found! This document has been validated as CSS Level 3 + SVG!

Javascript

JSHint testing without errors

Accessibility testing with Lighthouse

desktop testing score

mobile testing score

Tested on Wave webaim with following score:

Congratulations! No errors were detected!

Devices

The game has been tested without errors on:

Iphone 13 Pro

Samsung s20

Iphone xs

Samsung s10+

Future improvements

How to further develop this website

I would add a random player to be played against online

I would add Lizard Spock to further develop the game to more advanced.

Known bugs

There is a known bug on mobile view where the option buttons aren't aligned together. Ran out of time to fix, would do for further improvements.

known bug

Deployment

How i deployed the project:

  • This site is deployed to GitHub Pages, i followed these steps:
    • Go to the GitHub repository, and the settings tab
    • Navigate to the Pages on the left side
    • Under the source file, select the branch to 'main' and then save
    • Once you've selected the 'main' branch, the page will automatically be refreshed with a successful deployment!

Credits

Content

Acknowledgements

Rock Paper Scissor is my Project two for the Full Stack Software Developer program with [CodeInstitute] (https://codeinstitute.net/).

Jessica Fransson, 2022

project2-rock-paper-scissor-1's People

Contributors

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