Coder Social home page Coder Social logo

paperrocksissors's Introduction

paperRockSissors

This game is a simulation of the classic rock-paper-scissors game, created using Kotlin. It allows you to play against another player or against the computer in single-player mode. For the best experience, it is recommended to run the game in Gnome terminal.

Features

  • Play against another player or against the computer in single-player mode.
  • Choose between rock, paper, or scissors as your move.
  • The game will determine the winner based on the rules of rock-paper-scissors.
  • Keep track of your wins and losses.
  • Enjoy a fun and interactive gaming experience.

Technologies Used

  • Kotlin programming language

How to Run the Game

  1. Clone this repository to your local machine.
  2. Make sure you have Kotlin installed on your system.
  3. Open the repository in your preferred IDE or text editor.
  4. Compile and run the Main.kt file.
  5. Follow the on-screen instructions to play the game.
  6. Enjoy!

Game Instructions

  1. When prompted, choose whether you want to play against another player or against the computer.
  2. If playing against another player, take turns making your moves by entering '1' for rock, '2' for paper, or '3' for scissors.
  3. If playing against the computer, simply enter your move when prompted.
  4. The game will determine the winner based on the rules of rock-paper-scissors and display the result.
  5. Keep playing as many rounds as you like!
  6. To exit the game, simply enter 'ex' when prompted to make a move.

Contributing

If you would like to contribute to this project, you can follow these steps:

  1. Fork this repository.
  2. Create a new branch with a descriptive name for your feature or bug fix.
  3. Make your changes and test thoroughly.
  4. Commit your changes with clear and concise commit messages.
  5. Push your changes to your forked repository.
  6. Create a pull request to merge your changes into the main repository.

License

Feel free to use, modify, and distribute this game as per the terms of the license.

Acknowledgements

  • Inspired by the classic game of rock-paper-scissors.
  • Developed using Kotlin programming language.

Contact

If you have any questions, suggestions, or feedback, please feel free to contact me at [[email protected]].

Happy gaming!

paperrocksissors's People

Contributors

mahdiahmadii avatar

Stargazers

 avatar

Watchers

 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.