Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An HTML5 Solitaire card game written in CoffeeScript

branch: master
README.md

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.