Skip to content
Repository for investigating the distribution of Duellinks' Skill "Balance"
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Investigation of Randomness of Duellinks skill "Balance"

In the update on November 6, 2017, the effect of the skill "balance" was adjusted, and it seems that certain randomness was given. The aim of this investigation is to reveal the randomness by using python script that automatically counts the number of monsters, magic and trap from the screenshot of the initial hand.


Deck contains 10 monsters, 5 magic and 5 traps (Total 20 cards). Duels are manually repeated and in each deul a screenshot of the initial hand is taken.

By executing "", the number of monster, magic and trap are automatically counted for all images placed in the "img" folder, and the distribution is automatically calculated.

Method of Image Process

  1. Extract area of 4 cards from each image
  2. Difine an average of the RGB values in each region as a feature amount
  3. Categorize all data into monster, magic and trap by using K-means
  4. Calculation and show graph

The process can be seen in the following link.

Japanese Blog

日本語でのブログはこちら/Japanese version blog

You can’t perform that action at this time.