Uncategorized
mqzkf  

AUTOMATING MOBILE games WITH A ROBOT ARM

My singing Monsters is one of those mobile titles that has individuals play easy games to make coins as well as gems in the typical way. [Anykey] discovered that his child was a fan of the game, however that in some cases it felt a bit rigged. Thus, rather than squander time playing themselves, he set up a robot to do the task for them. (Super-boring video, embedded below.)

The player must total a fundamental however time-consuming memory game. Upon winning, the player gets to select a prize from 17 secret cards. The top prize of 1,000 diamonds always seemed to be hidden under one more card, leading to the previously mentioned frustration.

In purchase to test if the game was rigged, [Anykey] set up a uArm Swift pro to play the game, with the robot arm moving a little stylus over the iPad playing the game. The iPad’s video was piped to a PC through HDMI out, going into a Camlink catch card. A Python script utilizing OpenCV was then produced to play the game automatically, as well as log the results of prizes gained along the way. All the code is up on GitHub.

After over 100 attempts, the robot never handled to pick the right card to score 1,000 diamonds. provided that there are only 17 cards to select from, one would expect the 1,000 diamond prize to find up a number of times in that many selections.

It seems then that the prize choice for completing the memory game may not really be down to choosing the right card. Instead, the prize provided is chosen by some other calculation entirely.

We like a robot playing games at Hackaday, even if it’s as easy as Tic-Tac-Toe. video after the break.

Leave A Comment