Legends of Code and Magic - changes for the multiplayer

As Legends of Code and Magic will be released as a multiplayer game, this is the opportunity to fix it and improve some of its aspects.
Below, the things that came up after the discussions between me and Radek, and I want your opinion on those propositions.

  1. Probably the most important - improve player balance. Three basic ideas from us:
    a) second player has 2 mana (instead of 1) in his first turn
    b) second player has +1 one max mana for two his first turns
    c) second player has +1 one max mana for his first three turns but does not have additional card on the hand
    d) other?

  2. Currently there is no possibility to effectively simulate the opponent’s turn, because there is no information about the actions he made. Two propositions to add this info:
    a) minimalistic one: add to the input number of cards used by the opponent from hand followed by their cardNumber. E.g.: 3 160 24 121
    b) extended: provide full information about the opponent’s turn, thus there is a string with the action assigned for each card used:

5
160 USE 12 -1
11 ATTACK 4 1
24 SUMMON 2
121 USE 8 2
39 ATTACK 8 1

  1. Add an initial screen with information about all cards in the draft, with their number of occurrences.
    (Plus the info about number of creatures / each type of spells during the draft, which is already done but not shipped.)

  2. Add sorting option to html with the card list.

  3. Explicitly add ‘cardDraw’ in the input, so it does not need to be computed manually.

  4. More propositions?

3 Likes
  1. see magus’ answer:
    add +1 max mana to player 2 until he used all of his mana once

  2. just giving the numbers of what cards were used would be nice (good to know what spells were used)

  3. yes !

  4. seems unnecessary - my opinion

  1. Adding a coin like Hearthstone would require to add a new mechanic in the game. Pretty bad i think. There’s already many mechanics. I think the best solution is to add +1 max mana to player 2 until he used all of his mana once.

  2. Solution a) is enougth. We just need to know what cards the opponent used.

7 Likes
  1. Ok with Magus answer.
  2. I hate losing time by guessing/computing non-hidden information, thus complete actions would be great.
  3. Currently CardDraw cannot be computed since we don’t know what cards opponent played. So great idea.
  4. Maybe a few cards balancing would help, like decimate and emperor nightmare.

Add cards that do damage or buff to all creatures at the board (AoE).
Currently you don’t need a “strategy” thinking
 Most of the time you don’t need to think the turn after this turn

With AoE cards you will need to think what is the best momment to play the AoE.
Example of cards:

  • 3 mana. Deal 1 damage to all enemy creatures.
  • 3 mana. Add 1 attack to all Ally creatures.
  • 7 Mana. Remove all attributes and deal 2 damage to all enemy creatures
  • 4 Mana. Add ward to all Ally creatures
  • 10 Mana. Deal 4 damage to all enemy creatures.

With this kind of card. Blue can turn around the game. The draft needs to be different if this kind of card is present. You need to think better before fill the board with low life creatures.

1 Like
  1. How about mulligan like in MTG? ability to discard entire hand before 1st turn and draw new cards (one less card).

  2. Another idea is to randomize two sets of starting hands and ability to choose one of them. It would be helpful with really slow hands especially as 2nd player. I am thinking also about randomizing 2 sets of cards for 1st player and 3 sets for 2nd player.

  3. Drain ability - in my opinion it should work also during defending - it would be nice buff for this ability.

2 Likes

Seems strange at the first glance, but after some thought I like it. It requires some thought from pro players but it is fully transparent for most reaction-based AI’s. I already coded this, when the second player’s mana is buffed it will be highlighted on green.

2 - We have two votes for simple input and one for more advanced 


@BrunoFelthes @Seti all this stuff and more in LOCM 2, now we simply improve the game to make multi available - providing as little changes in game mechanics as necessary. (and Drain is strong enough without further buffs :P).

Yep that was the main point of my suggestion. No modification needed for current codes.

If doing AoE cards, the weakest one must be labelled Leroy Jenkins.

1 Like

1—Magus’ suggestion. Buut! It would be nice to test these changes with current top10 bots, to see how it affects winrates.
2—b
3—Yes
4—Who cares. I converted it to excel, simpler to work and make calculations
5—Yes as an additional int for each player
6—Left them for LOCM2, with AoE or similar habilities that need more thinking about the future

1 Like

It would be nice to have a test sandbox. The temporary gaming link, where before the release Multi everyone could try to play and express opinions.

Yes, we aim to do this, but first I need to finish coding all new features/fixes ;-).

1 Like
  1. Coin – what Magus said.
  2. Enemy actions – full information is better. You can easily extract card numbers.
  3. Draft screen – is it just a visual for draft results or a new info for bots to use?
  4. html sort (and filter?) – most of top players have their own spreadsheets, I assume. Still useful for newcomers.
  5. cardDraw in input – what’s this? Could you elaborate? You already have a number of cards in player’s hand. You must calculate card draw by yourself if your scoring uses it.
  6. More – AoE will make the game much more interesting IMHO. Or a creature that attacks adjacent creatures maybe?

Maybe even a full board AoE. I.e. “Deal 2 damage to ALL creatures”, including yours.

Demo for the multi is available here: https://www.codingame.com/contribute/view/1537dc06677c0eec45fd6155a3a47d18225f

When you accept how it looks/works, we will ask CG to make it “official”.

Changes:
Mechanics:

  • Second player has additional +1 max mana until he spends all his mana during a turn.

Input:

  • Added playerDraw: the additional number of drawn cards - this turn draw for the player, next turn draw (without broken runes) for the opponent.
  • Added opponentActions, and for each opponent’s action, string cardNumberAndAction containing the cardNumber of the played card, followed by a space, followed by the action associated with this card.
5 Likes

Hello,

Regarding the UI, I think it could be made a bit more visible which creatures can still attack, and which player’s turn it is.

Appart from that, I like your changes :slight_smile:

2 Likes

Second player has additional +1 max mana

Have you tested that it really helps to balance the game?

Added opponentActions

Does it include picked cards during draft?

1 Like

I think the rules were not fully clear for someone who didn’t play digital card games since Hearts (Dame de Pique).

I thought the game would be played like a physical game. It means:

  • 90 cards out of 160 would be showed for picking,
  • and we would play with our 30 chosen cards (no duplicates).

I guess the mechanics of the game come from Hearthstone (or similar) and I guess it works but I think I may have prefered if it was like physical cards. This is also to reply to this comment above « Currently you don’t need a “strategy” thinking ». I agree with this comment. To me the reasons are:

  • too much randomness (guessing the draft of the opponent or his cards in hand is too random - maybe it was biased in Legend league since most of players used the same draft algorithm (according to their feedback) which might have made it easier to guess the opponent cards); I don’t know about Hearthstone but in a physical game, we would see the cards picked by the opponent which helps to build a strategy (even to decide what card to pick next).
  • playing a card immediately without using its full efficiency is not so disadvantageous since it can be duplicated in the deck, so there are more chance to play it again; if a card would have only one chance to appear, you would need to think twice before playing it.

Anyway the current game version makes the job and what was valuable was to be able to perform by using different AI algorithms.

My two cents and my thoughts.

1 Like

Wrong encoding in title
Legends of Code & amp ; Magic -

  1. a - it’s good idea

  2. b - full information

  3. Draft could be more interesting if IA know all card at first turn.
    It could be fun to know what was the last card choose by the opponent.
    IA could manage a counter game.

Game could be less random and more strategy

  1. +0

  2. Yes, it could usefull

  3. Point 3), if we know the draft and opponent choosed cards. We could gain in strategy.

  4. i’m agree for AoE. They would change the balance and give more strategy to build deck in draft phase.