LiteCode: An Assembly Game

A byte-sized, retro RGBW-lighting logic simulator.

Solutions at nightbyte.net/LLC24


Welcome New Employee

You’ve just been hired by Nightbyte Lighting

 Your tool: LiteCode IDE – a tiny 8-bit assembly language & compiler that runs on the virtual LLC24 controller.Use  basic commands, memory management, and control the output to RGBW lighting (Red Green Blue White).

  • Write MOV, ADD, JMP and more in the built-in IDE.
  • Solve client contracts: forklifts, ferries, radio demons & more.
  • Live dataviewer for INPUTS and RGBW OUTPUTS.
  • Instant error highlighting—code keeps running, just like real hardware.
  • Created in 48 hours for Mini Jam 183 (Calculations & 4 Colors).

Learn To Code

  1. Press Play to run your code. Use Step, Pause, or Reset as needed.
  2. Each line & I/O executes once per tick for the current input row.
  3. Match your outputs to the expected values on the right panel.
  4. Finish all missions...or just chill in the sandbox tutorial.

LiteCode Quick-Ref

MOV a,b              a → b
ADD a,b,c            c = a + b
SUB a,b,c            c = a − b
MUL a,b,c            c = a * b
DIV a,b,c            c = a / b
MOD a,b,c            c = a # b
INC dst,val [len]    dst += val
DEC dst,val [len]    dst -= val
AND a,b,c            c = a & b
OR  a,b,c            c = a | b
XOR a,b,c            c = a ^ b
NOT a,c              c = ~a
CLR dst [len]        set 0
FLP a,b              swap
JMP n                goto n
JEQ a,b,n            if a==b → n
JNE a,b,n            if a!=b → n
JGR a,b,n            if a>b  → n
Consts               0-255
Inputs               @IN0-@IN3
Outputs              @RED @GRN @BLU @WHT
Memory               @M00-@M23   
Pointers             *M00-*M23

Credits

  • Design / Code: Nightbyte
  • Music: Sidearm Studios
  • Font: Ash Pikachu Font
  • Engine: Unity 2022.3
  • Inspired by: BOX-256, TIS-100, Shenzhen I/O

More info & docs:  nightbyte.net/LLC24


Enjoy the game!

Leave a comment

Log in with itch.io to leave a comment.