Giter Club home page Giter Club logo

reachy's Introduction

Reachy - Riichi Score Tracker

A demo program that helps you keep track of Japanese mahjong (Riichi) score as you play.

  • Able to keep track of multiple game sessions.
  • Input each round result with winners and winning hands (number of han's and fu's, mangan, yakuman, etc.).
  • Simple and straightforward interface for easy interaction.

Quick Start

1. Requirements

  • ruby 2.0 and above
  • (Optional) cowsay

2. Installation and Usage

Simply install using RubyGems:

gem install reachy

Start the program. Ensure that the EXECUTABLE_DIRECTORY listed in gem env is in your $PATH

reachy

Manual installation:

git clone https://github.com/jytang/reachy.git
cd reachy
gem build reachy.gemspec
gem install reachy-1.0.gem

Note

                                                                /ysyo.
                                                               `ssssss-
                                                 `:///-`       /yssssss.
                                              `.+sssssy/      :ysssssy:
                                            `:osssssssy+     -yssssss-
                                          .+sssssssssyo.    :yssssy+`
                                        -oysssssssssssy/` `/yssssy:
                                      -oysssssssssso+ysss+oysssyo.
                                  `./sysssssssssssy. .oysssssss:``    :+-`
                              .:/+sssssyo++sssssso.   `-ssssy-`      -ysso/.
                    `-//:`` `sysssyys+:.  `+ysss:`  `..``/ysss:` ```/ysssssy/
                    `/yssso:``----.``    `/yss+.`   .hsy/`.oysys:./yssssso+/.
                      .osssss+-`       `:sysy-      -yssyo``:ysssysssss/.
                       `/yssssso/`   `-osssys`      -ysssyo  -ysssssy+`
                         `/syssssy+--oyssss:`       /ysssss``+ysssssyo`
                           `:oyssssssssso:` `      `oysssy: .o+osssssss:
                             `.+ysssssys``:ooooss- -ysssy/`    `-ssssssyo:``
                              `+yssssssyssssssso/``+yssy/`       .+ssssssss/``
                            `/sssssssssssssso-`   .yssy+`         `:sssssssss/`
                         `.+ssssssssooossssso:-:/+sssy+`     `.-///.-ssssssssss/.`
                       `:ossssys:.`    /ysssssssssssss```-:+osssssss-.ssssssssssss/-
                    `.+ssssss+-     `-+yssssso++oysssssssssssssso+o+. .ssssssssssssys+-``
                  .:ossssso/`  `.:+osssys+:.`` .ossoooosssssy/`        -ysssssssssssssss-
            `  `:osssssyo:```-+ssssssssyo-``  `sss-   `oysssh.          -ossssssssssssssy/`
            .:osssss+/:` .:+sssss+:.``-sssss+` ``     `sssssy-           `./+ssssssssssssss:`
        `-/osssss/.` `:+ssssss+-`     .sysssh`    `.-/oyssssyo///////+ossso/.`.:+ssssssssssso-
      -+ssssyo/.`    .++oooo/`   `.:/osssssss++++ossssssssssssssssssssssssssyy`   `-/osssssssy+`
     `://::-                `-:+osyysossssssssssssooossssssss+///:::::::----.`        `-/ossssss.
        `..`          `.:/ossssso/:.``ssssss:..``    -yssssy-                            ``-/oso.
        /yyo-.``.-:/oossssyo+:.`   `-ssssys.        .sssssss.      ``````
        .oysssyysssssss+/-`       .+ysssso.        :ssssssyo`   `/yysssyysso+/-`
         `/sssssssssss-``       `:sssssy+`       .+sssssssy:    `/yysssssssssssso/.
           `-:::--:+sssyo+:----/syssssy/`     `-oyssssssys:       `:ssssssssssssssy+`
                    `-/ssssssssssssssy/    `:+sssssssss+-`          .oyssssssssssssy:
                       `-+sssssssssss/` `:osssssssso/.`              .ssssssssssssss`
                          `:osssys/.`  `syssssso/-`                   :yssssssssyo/`
                             `.-.       .:+//.`                        .:+oo++:-`

reachy's People

Contributors

jytang avatar kainukainu avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar

reachy's Issues

QOL Improvements

  • It would be convenient to declare some abbreviations for player names, or maybe prefix matching, so score entry is easier.
  • Scoreboard should show score deltas across rounds.
game1: 3P (E1B2R1) ~ Joshua, Kenta, Thao ~ 2016-07-13T02:28:02-07:00
------------------------------------------------------------
Round          Joshua         Kenta          Thao
               35000          35000          35000
E1             36000(+1k)     36000(+1k)     33000(-2k)
E1B1           37000(+1k)     34000(-2k)     33000(=)
E1B2R1         50600(+13.6k)  21400(-12.6k)  33000(=)
E1B3*          50600          21400          33000

Data Dir

Establish a DATA_DIR that isn't temporary, e.g. ENV["HOME"] + "./" + APP_NAME

Lacking access control

All methods are currently public (default ruby access control). Can definitely make some stuff private/protected. (Protected in ruby is that only other objects of that same class/subclass can access)

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.