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 "duellinks_balance.py", 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
- Extract area of 4 cards from each image
- Difine an average of the RGB values in each region as a feature amount
- Categorize all data into monster, magic and trap by using K-means
- Calculation and show graph
The process can be seen in the following link.
日本語でのブログはこちら/Japanese version blog https://upura.hatenablog.com/entry/2017/11/10/081635