This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execve("./pico8", ["./pico8", "-pixel_perfect", "0"], 0x7ef653a0 /* 42 vars */) = 0 | |
brk(NULL) = 0x22c6000 | |
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x76f13000 | |
access("/etc/ld.so.preload", R_OK) = 0 | |
openat(AT_FDCWD, "/etc/ld.so.preload", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3 | |
fstat64(3, {st_mode=S_IFREG|0644, st_size=54, ...}) = 0 | |
mmap2(NULL, 54, PROT_READ|PROT_WRITE, MAP_PRIVATE, 3, 0) = 0x76f12000 | |
close(3) = 0 | |
readlink("/proc/self/exe", "/home/picodate/pico-8/pico8", 4096) = 27 | |
openat(AT_FDCWD, "/usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let messages = 0; | |
let choices = 0; | |
let lines = 0; | |
let characters = 0; | |
function readConstants(sheet) | |
{ | |
messages = parseInt(sheet.getRange("B2").getDisplayValues()); | |
choices = parseInt(sheet.getRange("B3").getDisplayValues()); | |
lines = parseInt(sheet.getRange("B4").getDisplayValues()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo "Running tests..." | |
echo "Testing compression..." | |
echo "256" | |
./quadtree imgs/256/emblem.png out.png compress 15000 | |
diff -b out.png compressed/256/emblem_h=15000\(alpha=6\).png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from random import randint | |
from os import sep | |
MAX_MOVES = 50 | |
PROBLEMS = 20 | |
ROBOTS = [2, 4, 8, 16] | |
RANGE_X = 20 | |
RANGE_Y = 20 |