ALawley / Clojure-Mana-Calculator

App to calculate land distributions for Magic: the Gathering decks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Magic: the Gathering Mana Calculator

Clojure Independent Study Project - 5/19/2016

By Anna Lawley

Description

This app is an exercise in building an app with Clojure and ClojureScript. It's a simple tool for Magic: the Gathering players to enter the number of resources their decks will need to function as well as how many resource cards the deck will be running, and the page will then calculate a distribution of resource cards by type (Players list total mana symbols by color and how many basic lands the deck wants, and the page returns a listing of basic lands by type with a recommended count).

Prerequisites

You will need the following things properly installed on your computer.

Installation and Running

  • git clone <repository-url> this repository
  • change into the new directory
  • lein repl
  • (run)
  • Visit your app at http://localhost:3449.
This app is also hosted on Heroku.

Technologies Used

Clojure, ClojureScript, Reagent, React

License

This software is licensed under the MIT license.

Copyright (c) 2016 Anna Lawley

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.

About

App to calculate land distributions for Magic: the Gathering decks

License:Eclipse Public License 1.0


Languages

Language:JavaScript 77.6%Language:Clojure 22.3%Language:CSS 0.1%Language:HTML 0.0%