GithubHelp home page GithubHelp logo

hricket's Introduction

This is not a cricket game. Hricket is a scoring application that will save you from having to draw up a Cricket 
scorecard if you don't have a chalkboard, or just don't feel like getting chalk on your hands. ;)

It supports two players, and will likely never support more. The bullseye is represented as the number '25'. This was 
done to avoid unnecessary complexity, and might change in future versions, but for now, the bullseye is 25. When you hit 
a bullseye, you enter 25, and not bullseye or b. If you try to enter those, it will tell it that it's invalid and have 
you try again.

The recommended way to use this application, is to begin by opening it up and entering the names of both players. You'll 
then want player 1 to throw 3 darts. Enter each dart into the application one at a time. You'll type the number you hit 
on the board, a single space, and the number of markings. For instance, if you hit the number 16 in the treble, you 
would enter '16 3'. If you hit 20 in the single you would enter '20 1'. For numbers lower than 15, which are not used in 
standard Cricket games, enter 0. If didn't hit any relevant numbers, you can type 'skip' (or 's' since 0.5) to skip the rest of your turn. You can also do this even if you got one relevant number. When all numbers are opened/closed by one of the players, that player's score will be ran against the 
other players score, and if it's higher, that player will be declared the winner. Otherwise, the other player wins.

You are expected to know how to play Cricket before using this application. This is not a Cricket tutorial, and the 
application will not teach you to play Cricket.

I might wrap a simple GUI around this application in the future.

I made this application our of necessity and boredom. Enjoy.

hricket's People

Contributors

raynes avatar

Stargazers

 avatar

Watchers

 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.