Git Product home page Git Product logo

rockpaperscissors-multiplayer's Introduction

RockPaperScissors-Multiplayer

Used jQuery, JS, HTML, Bootstrap, CSS, and Firebase

When the player opens up the browser they can enter their name to be added into the game. Once they are added they will be assigned to player 1 unless that position is already occupied. If Player 1 is occupied they will be assigned to player 2. If that spot is occupied they will be told that sorry the game is full. Once you have been assigned to a player you will be given buttons with rock paper and scissors. once you click you choice your choice will be displayed below and your buttons will disappear and if your opponent has not yet chosen their choice it will say still deciding. Once both opponents have chosen then both choice images will be shown, correct and incorrect images will also be shown, wins, loses and rounds will be increased accordinly and then your buttons will reapear so you may make the choice for the next round. While you play there is also a chat element at the bottom where you can taunt the other apponent. Enter your text into the white comment area and hit send message to display the message on both your's and your opponents screens.

Enjoy! https://samanthaao.github.io/RockPaperScissors-Multiplayer/.

rockpaperscissors-multiplayer's People

Contributors

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