/HTML5DeckBuilder

an html5 mtg deck builder

Primary LanguageJavaScript

HTML5 Magic The Gathering Deck Builder

This is a deck builder written with HTML and JS. I wrote it because I wanted a deck builder, and I wanted to practice JS. This app does not use Ember or Angular, mainly because I don't know how to use them.

Features

  • Drag cards to the board
  • Drag cards to the trash
  • Stats update automatically
  • Save decks in LocalStorage (they are stored on your machine)

Bugs

  • The code is not awesome
  • HYPGEOMDIST returns different values than my R / Ruby versions. I think due to floating point problems.
  • Probably lots more

Contributing

  • Do not file bugs (I know it has bugs, I will fix the ones that bother me)
  • Do file pull requests (I appreciate contributions)
  • Only use stdlib Ruby
  • Do not add a Gemfile, travis.yml, etc

License (MIT)

Copyright 2014 Aaron Patterson, et al.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.