On the Subject of Koi-Koi

Wait... I thought this was about fish?

In order to defuse this module, the defuser has to win a 3-round game of the Japanese Hanafuda game Koi-Koi.

The defuser can either play against:

  • Another defuser playing the module at the same time*
  • Against a bot opponent by pressing the “Play against bot” button on the large display.

After the 3 rounds, the module of the winner will solve. The other player has to play a new game. In the case of a tie, both players will have to play a new game. Strikes will not be issued in any case.

*Online play is not available on Twitch Plays or when the game was started outside of Steam or for duplicate Koi-Koi modules. In either case the game will automatically start against a bot.

Module controls

  • Click on the card in your hand / on the table to select it to take.
  • To call Koi-Koi! or stop the round, press their respective buttons when you’re given the choice (the lid on them will open).
  • On the display next to the cards the player has taken, 3 numbers will appear from top to bottom:
    1. The final score of the player (without the current round)
    2. The multiplier of the current round
    3. The sum of the base scores of the yakus formed by the player in the current round
  • This display will also contain 2 buttons (◄ and ►). These will cycle which type of cards the player has taken to show. The symbol above them will symbolise the currently shown type. You can press these buttons on your opponent’s display as well.
  • During the game, the large display next to the table will contain:
    • A symbol on the side of the player whoose turn it currently is. This marker will be orange, red and green during round 1, 2 and 3 respectively.
    • The formed yakus and their base points of the current player if a new one was formed or a previous one was improved during their turn (while they choose to either call Koi-Koi or stop the game)
    • When playing online, a “Leave game”
    After a game in the case of a lose or tie, the player can search for a new game by pressing the “New game” button that appears on this display.
  • On Twitch Plays, the ID of the module is shown on the card stack.

Hanafuda cards

A Hanafuda deck consists of 48 cards each of them representing one of the 12 months (suits), with each month having 4 cards that belong to it.
Two cards of the same month have the same flower painted on them (except the plain card of November).
Each card is one of 4 types:

  • Plain cards will only have the flower painted on them.
  • Ribbon cards will also have a red or blue ribbon painted on them.
  • Animal cards will also have an animal (usually) painted on them.
  • Bright cards: there are only 5 in the deck and have some reference to light or mythology painted on them.

The Sake Cup (September) is both a plain and an animal.
Although Rain (November) is considered a bright, it is much less powerful than the others.
See Appendix H for the complete list of Hanafuda cards.

Koi-Koi rules

A game of Koi-Koi typically consists of 3, 6 or 12 rounds. In this module they will always consist of 3 rounds. Each player is dealt 8 cards and 8 cards also get dealt on the table face-up. In each turn, the dealer is the starting player.

In this module, the defuser who joined first will become the first dealer playing against another defuser. The defuser will always become the first dealer against a bot opponent.

In a round of Koi-Koi players take turns collecting cards from the table by matching them to the ones in their hand in order to form combinations called yakus (see appendix Y for the list of yakus). A turn goes as follows:

  1. The player selects a card from their hand
    • If there are no other cards on the table representing the same month, the player places the card face-up on the table.
    • If there is 1 card of the same month on the table, the player takes both (the selected one and the one from the table) cards and puts them face-up in front of themselves.
    • If there are 2 cards of the same month on the table, the player chooses which card to take alongside their selected one.
    • If there are 3 cards of the same month on the table, the player takes all 4 cards.
  2. The player draws a card from the pile and repeats step 1 with the drawn card being the selected card instead of choosing one from their hand.
  3. The player checks if the cards they have collected (the cards in their hand don’t count) forms a new or improves (Plains, Ribbons, Animals yakus worth more points for each extra card of their respective types) on a previously formed yaku.
    If so, they have 2 options:
    • If they call “Koi-Koi!” (can’t do this if they have no more cards in their hand), the round continues and the multiplier at the end of the round increases by 1.
    • If they stop the game, the round ends with them being the winner. The amount of points they receive is calculated by p*(k+1) where p is the sum of the base points of their yakus formed, and k is the number of Koi-Koi’s called during the round (by either player).
      For example, if they have 12 plain cards and all 3 blue ribbons with one Koi-Koi having been called during the round, they get (3+6)*(1+1)=18 points.
      The other player gets no points. The player who stopped the game will also be the dealer in the next round.
    If the round doesn’t end,the other player takes their turn. If they don’t have any more cards in their hand, the round ends with a tie and neither players get points. The dealer stays the same in the next round.
At the end of all the rounds, the player who collected more points wins.

Appendix H: List of Hanafuda cards

January July

Plain
 

Plain
 

Ribbon
 

Bright
 

Plain
 

Plain
 

Ribbon
 

Animal
 
February August

Plain
 

Plain
 

Ribbon
 

Animal
 

Plain
 

Plain
 

Animal
 

Bright
 
March September

Plain
 

Plain
 

Ribbon
 

Bright
 

Plain
 

Plain
 

Ribbon
 

Animal
Plain
April October

Plain
 

Plain
 

Ribbon
 

Animal
 

Plain
 

Plain
 

Ribbon
 

Animal
 
May November

Plain
 

Plain
 

Ribbon
 

Animal
 

Plain
 

Ribbon
 

Animal
 

Bright
 
June December

Plain
 

Plain
 

Ribbon
 

Animal
 

Plain
 

Plain
 

Plain
 

Bright
 

Appendix Y: Yaku list

Bright yakus
This group is mutually exclusive
Name Condition Base points
Five brights All 5 bright cards 15
Four brights 4 bright cards excluding Rain 8
Four brights with rain Rain + 3 other bright cards 7
Three brights 3 bright cards excluding Rain 6
Other yakus
Name Condition Base points
Plains At least 10 plain cards # of plains - 9
Ribbons At least 5 ribbon cards # of ribbons - 4
Animals At least 5 animal cards # of animals - 4
Poetry ribbons    6
Blue ribbons    6
Boar-Deer-Butterflies    6
Cherry blossom viewing   5
Moon viewing   5

In a 12-round game (not in this module) each round corresponds to a month (1 - January, 2 - February, etc.).
In these matches, collecting all 4 cards representing the current round’s month counts as a 4 point yaku.

Lucky Hands in real world Koi-Koi

When dealing the cards in real world Koi-Koi, there are certain combinations known as Lucky Hands. These will never appear when playing this module.
These combinations are:

  • Having all 4 cards of any month
  • Having 2-2-2-2 cards of 4 different months

Contrary to their name, these hands are disadvantageous, so the player holding them gets points instantly:

  • If only one of the players hold a Lucky Hand, they get 6 points and the round ends with them becoming the dealer for the next round.
  • If both players hold Lucky Hands, the round ends in a tie with the same player staying the dealer.
  • If the table is dealt a Lucky Hand, the cards are reshuffled and re-dealt by the dealer (the turn doesn’t end).