self-changing code

October 11, 2019

For “Tailor made video games.”

This will have to be very futuristic if the game has to recompile in real-time.

I noticed that the game can have aspects that change its own code, but we don’t want to create unintelligible code.

Let’s start with two additional factors in specifications: “What is or isn’t code?” and “What code can be created or destroyed?”  We’ll call them questions number 240 and 241.

You can enter 240 and then 01 and then 0 or 1 to see if 1 of 256 possibilities is or isn’t there and then continue with another factor number. 241 and then 01 and then 0 or 1 lets you create/destroy 256 preset codes.

You can enter 240 and then 11 to enter codes to test the existence or nonexistence of.  Let’s say you wanted to see if A was there and B wasn’t, where A and B are appropriate code for doing lines of programming.

You could then go 240-11-1-A-00-0-B-00-10. (there is no default).

Then you could enter another factor that changes with it or get to the part where you want to create or destroy lines of code.  Let’s say you want to create C and destroy D if A exist and B doesn’t.

240-11-1-A-00-0-B-00-10-241-11-1-C-00-0-D-00-00.

240 can start a command to combine with anything else and 241 can end a statement combined with anything else.