AI as a Service

Update
The site is now live in beta at http://firemind.ch
Check it out and if you find the time please do provide feedback in this thread. I'm happy to take feature requests.
Some facts on features and limitations:
The site lets you upload decks as text in "3 Birds of Paradise"-format or from the .dec files that are distributed with Magarena. It also lets you download decks for use in Magarena.
For now decks can only be uploaded if they consist solely of cards available in Magarena. If you upload a deck that contains a card that is not yet available you get a link to request this card. If multiple users request the same card it gets up voted which helps us realize for which cards there is high demand.
A few seconds after uploading the deck the legal formats are calculated (a refresh is usually necessary). Duels can only be run for the formats the deck is legal in.
You can run duels against other people's public decks. You may also fork someone else's deck to tweak it. Every hour the top nine games for every format are calculated. The main page shows the top 5 games over all formats and the latest public duels.
Per user there is a limit of 55 games (or eleven 5-game duels) for the queue. More can be added once some of the duels have been processed. This (obviously) is to prevent individual users from clogging the queue.
Every game has the Magarena log attached in a more readable and interactive form. From here you can report mistakes made by the AI to help the software play your deck better.
If you are a contributor you can submit card scripts through the site which results in them being added to a clone of the official Magarena repo from which the devs can pull from.
That's the gist of it. I hope you'll enjoy matching your deck building skills against the top. If you've got any questions or suggestions please post them here.
End of update
--------------------
Hi! I'd like to get this community's opinion on an idea I've had.
Last week the hosting company I work for asked me to build a showcase server-system for our new VPS products. The deal was that I could use a state of the art setup of virtual servers free of charge for basically anything I wanted as long as it showcased the possibilities of a distributed system.
Being a fan of both MtG and AI programming I eventually came up with the idea of an online deck play testing service. It poses challenges in all the major areas of distributed systems and would be a perfect fit for a weekend project.
Looking for a suitable AI I ended up here. Many sources call Magarena the best AI available which makes it my first choice for the AI backend.
Last weekend I built a quick proof of concept implementation by wrapping the AI part of Magarena in a queue worker daemon. Here’s to the Magarena Devs! You maintain a very clean and nice to work with codebase that made coding this part a breeze.
I also threw a database and a web frontend together and have now a working prototype. Which is why I’m writing this. If I’m to follow through with my idea, there is a couple of questions I’d like the community or the Devs respectively to answer.
First and most importantly: Is there anyone interested in such a service? To elaborate a little on what I’m talking about: The Service would consist of a Website on which you could submit your decks. You then could simulate duels between two of those decks to see how they perform against each other. That’s the basics. There is of course potential for a lot of neat features.
Is this something the Magarena Devs would welcome or would even be interested in collaborating on? Some of the feature’s I’m planning to add are requesting missing cards from the deck uploader, reporting mistakes the AI made directly from a styled and more readable game log and submitting cards directly through the web interface and (assuming they pass the automated tests) automatic pull requests to the source repository. This could potentially bring a strong boost in user feedback and eventually in the quality of the AI. I would love to do this with a Magarena powered backend but I fully understand if the Devs wouldn't want their software to be used in such a manner. So I’m asking you: What is your take on this? Awesome idea you’d like to be part of? Interesting concept but you need to see more? Blatant abuse of your work? Or just a hopeless endeavor?
Lastly, if the answers to the two questions above were positive, what would be the core features you’d want this service to have? Here’s a few I've come up with so far. Feel free to criticize and add as you’d like.
Well, I've already written a lot more than I intended to and I still left out a lot of things. I’m going to save them for questions (if there are any) and am hoping for some constructive feedback.
Oh, and does anybody know If I can use the HQ card scans found in this forum for such a project? I would host them publicly of course so anyone who wanted their client to have a source for the pics could point them to my servers.
The site is now live in beta at http://firemind.ch
Check it out and if you find the time please do provide feedback in this thread. I'm happy to take feature requests.
Some facts on features and limitations:
The site lets you upload decks as text in "3 Birds of Paradise"-format or from the .dec files that are distributed with Magarena. It also lets you download decks for use in Magarena.
For now decks can only be uploaded if they consist solely of cards available in Magarena. If you upload a deck that contains a card that is not yet available you get a link to request this card. If multiple users request the same card it gets up voted which helps us realize for which cards there is high demand.
A few seconds after uploading the deck the legal formats are calculated (a refresh is usually necessary). Duels can only be run for the formats the deck is legal in.
You can run duels against other people's public decks. You may also fork someone else's deck to tweak it. Every hour the top nine games for every format are calculated. The main page shows the top 5 games over all formats and the latest public duels.
Per user there is a limit of 55 games (or eleven 5-game duels) for the queue. More can be added once some of the duels have been processed. This (obviously) is to prevent individual users from clogging the queue.
Every game has the Magarena log attached in a more readable and interactive form. From here you can report mistakes made by the AI to help the software play your deck better.
If you are a contributor you can submit card scripts through the site which results in them being added to a clone of the official Magarena repo from which the devs can pull from.
That's the gist of it. I hope you'll enjoy matching your deck building skills against the top. If you've got any questions or suggestions please post them here.
End of update
--------------------
Hi! I'd like to get this community's opinion on an idea I've had.
Last week the hosting company I work for asked me to build a showcase server-system for our new VPS products. The deal was that I could use a state of the art setup of virtual servers free of charge for basically anything I wanted as long as it showcased the possibilities of a distributed system.
Being a fan of both MtG and AI programming I eventually came up with the idea of an online deck play testing service. It poses challenges in all the major areas of distributed systems and would be a perfect fit for a weekend project.
Looking for a suitable AI I ended up here. Many sources call Magarena the best AI available which makes it my first choice for the AI backend.
Last weekend I built a quick proof of concept implementation by wrapping the AI part of Magarena in a queue worker daemon. Here’s to the Magarena Devs! You maintain a very clean and nice to work with codebase that made coding this part a breeze.
I also threw a database and a web frontend together and have now a working prototype. Which is why I’m writing this. If I’m to follow through with my idea, there is a couple of questions I’d like the community or the Devs respectively to answer.
First and most importantly: Is there anyone interested in such a service? To elaborate a little on what I’m talking about: The Service would consist of a Website on which you could submit your decks. You then could simulate duels between two of those decks to see how they perform against each other. That’s the basics. There is of course potential for a lot of neat features.
Is this something the Magarena Devs would welcome or would even be interested in collaborating on? Some of the feature’s I’m planning to add are requesting missing cards from the deck uploader, reporting mistakes the AI made directly from a styled and more readable game log and submitting cards directly through the web interface and (assuming they pass the automated tests) automatic pull requests to the source repository. This could potentially bring a strong boost in user feedback and eventually in the quality of the AI. I would love to do this with a Magarena powered backend but I fully understand if the Devs wouldn't want their software to be used in such a manner. So I’m asking you: What is your take on this? Awesome idea you’d like to be part of? Interesting concept but you need to see more? Blatant abuse of your work? Or just a hopeless endeavor?
Lastly, if the answers to the two questions above were positive, what would be the core features you’d want this service to have? Here’s a few I've come up with so far. Feel free to criticize and add as you’d like.
- Archetype Testing - Results against Archetype decks of a specific format
- Requesting and Voting on Cards
- Submitting Card Scripts, Automated Testing
- List of Latest Public Duels
- Browsing preprocessed Game Logs
- Tracking of similar (public) Decks and their Duel Statistics
Well, I've already written a lot more than I intended to and I still left out a lot of things. I’m going to save them for questions (if there are any) and am hoping for some constructive feedback.
Oh, and does anybody know If I can use the HQ card scans found in this forum for such a project? I would host them publicly of course so anyone who wanted their client to have a source for the pics could point them to my servers.