Skip to content
An HTML5 Solitaire card game written in CoffeeScript
Pull request Compare This branch is 111 commits ahead of bennacer860:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
config
db
lib
log
public
script
spec/javascripts
vendor/assets
.gitignore
.travis.yml
Gemfile
Gemfile.lock
MIT-LICENSE
README.md
Rakefile
Vendorfile
config.ru

README.md

Build Status

This is the source code for solitr.com.

Running

bundle install
rails server

Testing

Solitr uses Konacha for testing. To run the test suite, type bundle exec rake konacha:run. For development, it's easier to run bundle exec rake konacha:serve and run the tests in the browser (http://localhost:3500). The test files are located in the spec/javascripts directory.

There are not many tests yet, but we are adding them as we go. Probably the easiest (and also most important) part to test is the data models, because they don't interact with the DOM.

Architecture

See this post for a short introduction to the code design.

To-Do

  • Make the mouse cursor a hand (pointer in CSS parlance) when hovering draggable cards or clickable elements.
Something went wrong with that request. Please try again.