Archenemy+Planechase in your browser for offline games
General Discussion of the Intricacies
Moderator: CCGHQ Admins
Archenemy+Planechase in your browser for offline games
by mark » 09 May 2012, 19:54
Well, I don't know if this is the right forum for this, but I wrote simulators for planechase and archenemy card decks, which we use on a laptop/smartphone to enhance our offline Magicgames.
You can try them online or download them.
Basically I took the cardimages from magiccards.info, decklists from wherever and wrote some Javascript to have a deck of virtual cards in your browser where you can draw the top card, OCR'ed the text etc.
The planechase simulator could be a little bit different from the official rules, I did not play it yet to check.
http://mark.tvk.rwth-aachen.de/software/decksimulator/
Tell me what you think
You can try them online or download them.
Basically I took the cardimages from magiccards.info, decklists from wherever and wrote some Javascript to have a deck of virtual cards in your browser where you can draw the top card, OCR'ed the text etc.
The planechase simulator could be a little bit different from the official rules, I did not play it yet to check.
http://mark.tvk.rwth-aachen.de/software/decksimulator/
Tell me what you think
Re: Archenemy+Planechase in your browser for offline games
by PilotPirx » 05 Jun 2012, 09:09
Super nice!
Check your mail...
Check your mail...
e^iπ + 1 = 0
Re: Archenemy+Planechase in your browser for offline games
by laxika » 26 Jun 2012, 07:04
Very nice! Good job, I used it for lik 30mins. I'll test it in a match soon.
- laxika
- Posts: 14
- Joined: 26 Mar 2012, 22:43
- Has thanked: 0 time
- Been thanked: 0 time
Re: Archenemy+Planechase in your browser for offline games
by mark » 24 Mar 2014, 23:14
I replaced the deck shuffling algorithm today because... well, it sucked
If you downloaded the packages, you should replace them (the main html file suffices).
So AE and PC now use the well known (or rather should better be well known) Fisher-Yates algorithm. It is simple, fast and unbiased, the old one was neither.
If you wrote software where shuffling is an issue and you implemented the shuffling yourself, better take a look at the FY algo
If you downloaded the packages, you should replace them (the main html file suffices).
So AE and PC now use the well known (or rather should better be well known) Fisher-Yates algorithm. It is simple, fast and unbiased, the old one was neither.
If you wrote software where shuffling is an issue and you implemented the shuffling yourself, better take a look at the FY algo
4 posts
• Page 1 of 1
Return to Magic Rules Engine Programming
Who is online
Users browsing this forum: Google [Bot] and 1 guest