Code Monkey home page Code Monkey logo

rock-paper-scissors's Introduction

rock-paper-scissors

Stone-Paper-scissors

This is the famous rock paper scissors game!

  1. I watched a video from FreeCodeCamp, explaining how to create a very basic version of that game
  2. Improved the game by changing some of the texts, displaying the input from the computer for a better user experience and adding a prompt to restart the game as long as the user wants to keep playing.
  3. Added the "well", which is a controversial option I used to play with, when I was younger. The well wins over the scissors and the rock as both fall into the well, but is beaten by the paper that covers the well. So both the paper and the well give the user an advantage.

To continue, I might look into making a user interface. It would be good to ask the user if they want to play with the version including the well or not. For me that version is closer to what I played in my childhood, but it's not the case for all. It could be nice to add other features too.

And why not create another game using similar tactics and inspired by Pokemons?

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.