Skip to content
This repository has been archived by the owner on May 19, 2018. It is now read-only.

Latest commit

 

History

History
35 lines (21 loc) · 1.08 KB

README.md

File metadata and controls

35 lines (21 loc) · 1.08 KB

Mahjong

An implementation of Mahjong solitaire as a Rails app.

How to Develop

You'll need Ruby 2+ and PostgreSQL.

First Time Setup

bundle install
bundle exec rake db:create db:migrate
bundle exec rake db:seed

Every Time

bundle exec rails s

How to Test

bundle install
RAILS_ENV=test bundle exec rake test

How Tiles are Positioned

X coordinates are in black horizontally across the top, y coordinates are in pale blue vertically along the left, and z coordinates are in yellow. See the coordinates in layouts/turtle.txt.

Tile position diagram

Thanks