Hi @lgit,
Such an implementation would require a physics engine to handle both gravity but also the collision and rebounds on the pegs. Intuiface doesn’t offer such an engine off-the-shelf, for now.
The only way at the moment to implement such a thing would be to develop it in HTML5 and use the HTML Frame asset or Web Browser asset.
Now, connecting the TUIO Interface Asset to an HTML Frame / Web Browser would be another problem to solve, probably through direct code within the HTML as well.
You can have a look at this community discussion which shows how to integrate an advanced web feature into an Intuiface XP: AR Photobooth with Intuiface - inspired by "Dallas Cowboys' Pose With The Pros"