GithubHelp home page GithubHelp logo

hamdanltf / rockpaperscissors Goto Github PK

View Code? Open in Web Editor NEW

This project forked from erdincakgun/rockpaperscissors

0.0 0.0 0.0 1.61 MB

This is a simple Rock Paper Scissors web app where the computer plays against itself. The app is built using HTML, CSS, and JavaScript.

Home Page: https://pokercoder.github.io/RockPaperScissors/

JavaScript 52.84% CSS 22.23% HTML 24.93%

rockpaperscissors's Introduction

Rock Paper Scissors Web App

This is a simple Rock Paper Scissors web app where the computer plays against itself. The app is built using HTML, CSS, and JavaScript.

Rock Paper Scissors Web App Screenshot

Features

  • Displays a randomly generated Rock, Paper, or Scissors symbol for both the left and right sides.
  • Highlights the winner in green and draws in yellow.
  • Repeats the game every 100ms for 4 seconds and then shows the final result.

How to use

  1. Clone this repository or download the files.
  2. Open the index.html file in your browser.
  3. Click the "Start" button to start the game.
  4. The game will play itself and show the result after 4 seconds.

Files

  • index.html: Contains the structure of the web app.
  • style.css: Contains the styling for the web app.
  • script.js: Contains the JavaScript code that handles the game logic and UI updates.

rockpaperscissors's People

Contributors

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