Giter Club home page Giter Club logo

rockpaperscissors's Introduction

ROCK PAPER SCISSORS!

About:

This repo is for a basic webpage that allows the user to play a game of rock paper scissors against an AI. Wins are tallied on the left side for people and the right side for the computer. There are several game modes ("Classic" and "Spicy"). Classic is a regular game of Rock, Paper, Scissors while Spicy has its own rule set.

Classic Ruleset:

-Rock > Scissors

-Paper > Rock

-Scissors > Paper

Spicy🌶️ Ruleset:

-Rock > Scissors & Gnar

-Paper > Rock & Peace

-Scissors > Paper & Gnar

-Peace > Scissors & Rock

-Gnar > Paper & Peace

Conventions:

Branches will be named following the convention of type/feature Commits will be in imperative tone Pull requests will look something like this:

-Added button for spicy game

-Fixed margins on displayText

-Added flexbox for buttonWrapper

Screens:

Screen Shot 2022-06-14 at 8 34 05 PM

Screen Shot 2022-06-14 at 8 34 38 PM

Screen Shot 2022-06-14 at 8 35 27 PM

Screen Shot 2022-06-14 at 8 35 05 PM

Reflections:

Overall I'm happy with the final result. I would have liked to have a bit more time to finish making the layout a bit cleaner. I wasted a lot of time writing script that was functional but not DRY. I could have saved some time if I properly read the instructions and rubric first instead of rushing to get a working project. I had to do a LOT of refactoring with the javascript. I tried to follow a more consistent commit schedule and pull request format but by the end of it I feel like I got into the hang of it. I also should have probably reached out for help more as I only talked to my mentor one time throughout this project. I learned a ton about class to class interaction and parameter passing, as well as bracket notation and dom manipualtion based on a data model. I'm excited to hear what you think!

rockpaperscissors's People

Contributors

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