Git Product home page Git Product logo

rps-challenge's Introduction

Makers Academy Week Three - Janken! (Rock/Paper/Scissors)

30 June - 01 July 2018

Third week (weekend) solo project, developing a 'rock/paper/scissors' game which allows the user to play against a computer opponent.

Full project details and user stories here.

Completion

  • All features & user stories fully implemented.
  • All tests passing with 100% coverage.
  • Code conforms to Rubocop style guide.

Learning Outcomes

I made a concerted effort to carry out this challenge using feature and unit tests to inform the design. This methodical approach was successful, and I found the game relatively straightforward to implement. Used class methods from the beginning to track instances, which worked well and prevented my code from becoming cluttered. Also felt confident using doubles for the first time. I would have liked to spend some time working on the page design itself and improving the aesthetic quality of the game, but ran out of time.

Technical

Ruby / HTML using Sinatra web framework with Rspec & Capybara for testing.

Implementation

rackup config.ru

Visit 'localhost:9292' in browser.

Further Improvements

  • Some re-factoring needed.
  • Implement multiplayer functionality.
  • Expand to 'best of three' game system.
  • Improve design using CSS and graphics.

rps-challenge's People

Contributors

tansaku avatar archmagos avatar neoeno avatar silvabox avatar anitacanita avatar dearshrewdwit avatar ptolemybarnes avatar mdsomerfield avatar sjmog avatar

Watchers

James Cloos avatar  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.