mirror of
https://github.com/exoticorn/curlywas.git
synced 2026-01-20 11:46:43 +01:00
11 lines
214 B
Plaintext
11 lines
214 B
Plaintext
import "uw8.ram" memory(2);
|
|
import "uw8.time" global mut time: i32;
|
|
|
|
export fn tic() {
|
|
let i: i32;
|
|
loop frame {
|
|
i?120 = (i % 320 + time / 10) ^ (i / 320);
|
|
branch_if (i := i + 1) < 320*256: frame;
|
|
}
|
|
}
|