Github/nickhobbs94/blobland
Blobs are born with a random set of the following instructions:
- UMOVE - Move up
- DMOVE - Move down
- LMOVE - Move left
- RMOVE - Move right
- CONVERT - Gain energy (if in the sun)
- REPRODUCE - Split to two cells if we have enough energy
- NOP - Do nothing
- DETECT - Not implemented but will branch if sunlight is available
- U1JUMP - Execute previous instruction
- U2JUMP - Execute instruction 2 steps back
- U3JUMP - etc
- U4JUMP
- D1JUMP - Skip next instruction
- D2JUMP - Skip next 2 instructions
- D3JUMP - etc
- D4JUMP
- TOP - Go to the first instruction
- REVERSE - Execute instructions in reverse order