So you would like to use a robot to play games or test touchscreen devices? Tapster has you covered. It simulates a human finger on a capacitive touchscreen device. The robot can be programmed with Node.js, Arduino, and Johnny-Five.
This open source robot has 3D printable components. It supports a tappable area of 140mm x 80mm.[where to get it]