I'm trying to make a coding/hacking game in the stile of TIS-100, but I don't know how to "read" certain lines that the player would type in C2's text box and how to make C2 recognize certain words (like "move" or "rotate") in order to assign them functions.
(Photo from TIS-100)
In each square you can write a couple of commands, and the game executes them from top to bottom, but doesn't go to the next command until the current one has finished.
Any idea on how to do this?
Thanks!