I made an interpreter in Scratch. The kernel concepts are 'Attack', 'Defense', and 'Automation'. Each grid on the screen stands for a server. You have to write a script to attack other servers. The buttons on the right side: "Generate blocks." "Clear stage." "All servers are Hostile and full points." "Generate random points." "Run without rendering the process." "Run while seeing the process." Buttons below: "Show running async scripts." "Clear scripts." "Save scripts." (not Online !!!) "Load scripts". Codes: grw - increase current points by one. mov - move script to position. mov 0 - move to the right server. mov 1 - move down. mov 2 - move left. mov 3 - move up. async - start an async script between "async" and "end". end - mark where the async script should end. It cost points to move to other server. For example, if the right server has 5 points and you have 9 points, you will last 4 points after mov 0. In other words, more points prevent you from attacking.
Inspired by Core War (1984). *FEEL FREE TO REMIX* It was made in my early learning and is still in progress. You see, enemies don't have a script on their server cuz I didn't finish it and will probably not. I forgot most of it since I haven't touched it for a year. tbh, it's so messed up inside but I love this idea and probably will continue SOMEDAY. Hope somebody will find this concept and learn something uwub.