Mana is a proof-of-concept in-browser implementation of Magic the Gathering(tm) card game using jQuery, EventMachine, Sinatra, Compass and Websockets. Pre-alpha stage. The main aim is to be able to play Magic the Gathering via internet without any client-side setup (downloading cards, installing client ...). Any rules enforcing or checks are far beyond the scope however.
Just before you do, please notice that:
WARNING 1: the server has very limited resources and might go offline unexpectedly.
WARNING 3: I am almost sure there are security issues (XSS and such), don't say I didn't warn you! (see TODO)
Webkit-based browser (developed in Chrome) - for now. It is quite easy to make it cross-(modern)-browser but right now the focus is on the core features.
- Ruby 1.9.2
- Bundler + all the gems in Gemfile...
- Node.js (for Coffee script compiling)
More Features Convenience - Versions 1+
- visible shuffling effect
- inform all users about (all) other users' actions
- history recording & match replays
- variable width and height of the battleground
- advanced keyboard shortcuts
- select more cards + save selection (C&C style)
- untap all / selected cards
- smart image loading (+ show dummy before card image is loaded)
- Gravatar - http://railscasts.com/episodes/244-gravatar
- cheating prevention
All contributions are welcome! The graphics needs rework (right now it is in-fact "borrowed" from http://tappedout.net), tests have to be written and a lot of features that are easy to implement but not so critical plea for attention. Just fork the repository and send me the pull request or write me a message on Github. If you don't know where to start, see the TODO list and Wiki to help you get on track.
23/10/2010 - First commit 14/02/2011 - First game succesfully played and finished (Kolohnat X Kvetak)
(TODO - choose one)
Copyright © 2011 Jakub Hozak