All of this was done very extensively within concentrated groups of use-map-settings Starcraft map makers. There was one calc map capable of simple math and even algebra. There were also chess, custom user built skill sets and spells that were tagged to your controllable character. this was in no way part of the original game. There was one which my friend made that you could paint pictures, make animated minimap clips, stage firework displays, and even play short movies drawn with sprites and explosions set together pixle by pixle.
All these things were controlled by simple move, kill, spawn, and count triggers which were all linked to areas the player would position a controlable unit to start whatever programed trigger set was needed. we had hidden computation areas of the maps where creatures would spawn and die and move to work the trigger math out. we used a simple center view trigger to prevent these from being viewable(lagged like nuts with thousands of creatures spawning and being moved etc.
this is cool and all but its not really NEW news.