The idea is fun. Would be fun to be able to write scripts. Could even see this a fun little multiplayer where you can build your own little library of scripts and patterns before. And if something unexpected happens you have to code your way through it quickly.