Git Product home page Git Product logo

malivinayak / rock-paper-scissors Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 135 KB

Welcome to the Rock Paper Scissors game! This is a simple game built with HTML, CSS, and JavaScript.

Home Page: https://malivinayak.github.io/Rock-Paper-Scissors/

License: BSD 3-Clause "New" or "Revised" License

HTML 15.29% JavaScript 38.24% CSS 46.47%
css html js rock-paper-scissors hactoberfest hactoberfest-accepted hactoberfest2023

rock-paper-scissors's Introduction

Rock Paper Scissors

Welcome to the Rock Paper Scissors game! This is a simple game built with HTML, CSS, and JavaScript. Rock Paper Scissors is a fun game that everyone knows how to play. This web application allows you to play against the computer and keep score of your wins and losses.

Getting Started

To play the game, simply click on one of the three buttons to choose your move: rock, paper, or scissors. The computer will then randomly select its move, and the winner will be determined according to the following rules:

  • Rock beats scissors
  • Scissors beats paper
  • Paper beats rock If both the player and the computer choose the same move, it's a tie.

Play the Game

Ready for a challenge? Play the classic game of Rock-Paper-Scissors now! Simply click the link below to start playing:

https://malivinayak.github.io/Rock-Paper-Scissors/

If you prefer to play the game offline, you can download or clone the repository and open the index.html file in your web browser. It's that easy!

User Interface

Take a look at the user interface of our Rock-Paper-Scissors game. Here are some screenshots to give you an idea of what to expect:
Light Mode Dark Mode

image

image

Features

  • Play against the computer and keep score
  • Choose between rock, paper, and scissors
  • Easy-to-use interface
  • Dark mode for improved visibility
  • Only shows the table when the player starts to play
  • Keeps track of the score

Installation

There is no need to install anything to play the game. Simply visit the web page and start playing.

Contributing

Contributions are always welcome. If you have any suggestions for improving the game or adding new features, please create an issue or submit a pull request.

Credits

This game was built by malivinayak. Feel free to contact me if you have any questions or feedback.

License

This project is licensed under the BSD-3-Clause License.

rock-paper-scissors's People

Contributors

malivinayak avatar

Watchers

 avatar

rock-paper-scissors's Issues

Add "Rules" for Rock, Paper, Scissors Game

Description:

The current version of the Rock, Paper, Scissors game lacks information about the rules of the game, which is essential for players, especially those who might be new to the game. To improve the user experience and provide clarity on how the game is played, it is recommended to add a "Rules" button to the game interface.

Suggested Enhancement:

  • Introduce a "Rules" button at the bottom of the game page.
  • When users click on the "Rules" button, a popup should appear with detailed instructions explaining how to play Rock, Paper, Scissors, including the rules, winning combinations, and how the game is typically conducted.

Expected Behavior:

  • Players will have easy access to the rules and instructions for the game by clicking the "Rules" button, which will display a popup with the necessary information.

Note:

I would like to work on implementing the "Rules" popup feature for the Rock, Paper, Scissors game. Please assign this issue to me.

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.