Git Product home page Git Product logo

farkle's Introduction

Farkle

This is the the dice game Farkle built on sinatra with a healthy dose of JavaScript.

Run the game

If you would like to run this game locally:

First, make sure you have Ruby installed. I recommend grabbing Ruby and everything needed to get it up and running in a development environment from here. This game should work with Ruby 1.9.3+.

Next clone this repo, $ cd to it and run $ bundle install. From the main folder of the game, run $ ruby farkle.rb and navigate your browser to localhost:4567. Now grab a friend and play farkle!

If your feeling lazy, just play it over on Heroku.

Playing the game

Roll the dice, and you will be presented with a list of scoring dice that you can choose to keep. You must keep at least 1 possible scoring combination each roll. You can then choose to roll the remaining dice or end your turn. If you do not roll any scoring dice, you Farkle, and lose all of the points you have accumulated that turn and the other player gets to play. If all 6 dice score points, you have "hot dice" and get to roll all 6 again. First person to 10,000 points wins!

farkle's People

Contributors

mciocca avatar

Watchers

 avatar  avatar

farkle's Issues

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.