Additional connect4 using Sonic Pi and TouchOSC

I liked @Loopiloop idea to use Sonic Pi to play connect 4, and thought it would be an ideal candidate to do a version using Hexler’s updated TouchOSC to display the game screen. This is a version for 2 players, which will detect when one of them wins. Works on RPi, Mac, Windows or other Linux running SP 3.0.1 or later version (needs working OSC). I designed it to use the desktop editor version, but it can work with a remote screen running on a table or even a smartphone, although the display is a bit small on a phone.

The code is available for download on my GitHub site

There is a video on this tweet

Looks nice. I wonder wether this way a 3D 4 by 4 by 4 grid can be achieved.