Integrate "ARENA" mode
https://github.com/Trackrise/ANrena
What is ARENA?
A variant of draft that hearthstone popularized. You are given random sets of cards, and every card you pick ends up in your deck. You then play 3-12 games (3 losses or 12 wins retires your deck) with your deck and then start over.
It has distinct advantages over standard pack drafting for an online source because you don't have to organize pods of people and it's relatively easy and quick to complete. It also allows people to mix up their play style without being hate drafted out of a game. But, you lose some of the strategy involved in knowing what the people to your left and right are doing and what cards are potentially in the pool.
So, it's not the same experience, but it's still a good way of artificially altering the card pool to make the game a bit more fresh. And, since you can just hop in, it's a good way for people with less time on their hands to play.
About The Linked Git
I made an engine that's been extensively re-written (for the better) to enable ARENA drafting online. It takes into account how many agenda points you need, how many economy picks you need, and uses the 2 <-> 3 influence as a rarity division while emphasizing cards from core to make sure staples appear that lead to relatively playable decks.
There's still probably room for improvement, but imo, it's at a state that is entirely playable and that any additional tweaks are merely improvements to a system that's "good enough". Since it's entirely javascript, it's entirely client side right now. I purposefully picked the jnet format for decklists so it'd be in the easiest to play format. And I kept it client side so that integration would hopefully be as easy as possible.
The only inputs required are the netrunnerdb api objects, which I believe are also the source for JNet.
What I imagine JNet Needs to do to integrate
I'm not familiar with the architecture of jnet. But, I imagine there's a path of least resistance, which largely revolves around just using this builder on the client side and importing the decks it makes into jnet. That may not be the ultimate path you want to take and integration with the jnet engine could have benefits, like watching someone doing arena drafting. But, here's what I think the minimum feature set is:
- A new Channel called Arena that only allows you to play decks you've drafted in the Arena channel
- In the Arena channel there's two deck "cards". One for the runner deck and one for the corp. They tell you how many games you've won and lost with each and maybe expand to show you the deck list.
- If you've reached the expiration requirements of a deck (3 losses, 12 wins), then you can click on the card to draft a new deck (which could just pop over everything or replace the right pane until the draft is completed. Since the drafter is entirely JS the results would just be "imported" as a deck to these two unique slots in a user's data structure.
- The left side would continue to show you available games. Picking a game would populate the chat channel as the bottom half below your cards and the system would default you to the only deck you have available in this mode.
After those tweaks you'd enter a game and you'd use the existing jnet engine and it would need to record wins and losses appropriately.
The arena algorithm would very rarely need to be tweaked. Occasionally a card like rebirth might need to be blacklisted, but this is easy to do as there's a json object with an array of black listed cards in the engine header. Most settings have been developed to be easily twaked in this preferences object. It has the capability to expand automatically with the card pool without maintenance.
So, summary of components:
- 2 New slots in the data model for arena decks
- Win & Loss variables for each of those decks
- A new channel for finding games
- A new "activity" for picking your deck & chatting before the game, that draws heavily on the existing framework
Since I don't understand the low level workings of jnet, this may be an over simplification, but it seems like a good roadmap to at least shoot for.
I think the easiest integration would involve a new tab where you can "draft" your arena deck, similar to ANrena is currently hosted. This deck is then added to your decklist and "locked" to prevent editing after the draft.
Playing games would have to be announced with a custom title, like how StimHack league games are done.
Win / Loss tracking (and other improvements) could be added after basic implementation is working.
People have a tendancy to not read game titles; and that is ultimately my concern with this approach. Though maybe with it integrated into the site people would understand.
I spent most of the afternoon telling people I wasn't interested in constructed. After 20 people and no games, it made me want to give up on the format; and that's ultimately a flaw with Jinteki making game type hard to discover and game title de-emphasized.
So, if you go that route, I expect much pain; though you're right, it's a place to start.
This can probably be combined with #2080. This is basically the exact same idea I proposed with "dynamic" drafting: an A:NR drafting format inspired by the wildly successful arena mode in Hearthstone.
Like I said in #2080, I don't think jnet is ever going to implement this. This is a massive undertaking, especially given the countless parts of the engine that need love and work first.