Skip to content

Instantly share code, notes, and snippets.

@G36maid
Created December 28, 2024 12:13
Show Gist options
  • Select an option

  • Save G36maid/0c88cbfbd99d49e1e6f31034c14d833f to your computer and use it in GitHub Desktop.

Select an option

Save G36maid/0c88cbfbd99d49e1e6f31034c14d833f to your computer and use it in GitHub Desktop.
#include<stdio.h>
#include <stdint.h>
#include "shapez.h"
int main(){
for(int i = 1; i <= 10; i++){
printf("%d: ", i);
print_shapez(Target(i));
}
//11:CuCuCuCu
printf("%d:", 11);
print_shapez(
stacker(
stacker(
cutter(rotator(cutter(//top left
miner(1)
))),
rotator(
cutter(rotator(cutter(//top right
miner(1)
))))),
stacker(
rotator(rotator(
cutter(rotator(cutter(//bottom right
miner(1)
))))),
rotator(rotator(rotator(
cutter(rotator(cutter(//bottom left
miner(1)
))))))))
);
//12:ScWyRwCc
printf("%d:", 12);
print_shapez(
stacker(
stacker(
cutter(rotator(cutter(//top left
painter(
miner(1),
mixer(2, 3)
)))),
rotator(
cutter(rotator(cutter(//top right
painter(
miner(4),
mixer(2, 3)
)))))),
stacker(
rotator(rotator(
cutter(rotator(cutter(//bottom right
painter(
miner(3),
mixer(1, 2)
)))))),
rotator(rotator(rotator(
cutter(rotator(cutter(//bottom left
painter(
miner(2),
mixer(mixer(1,2), 3)
)))))))))
);
//13:SbSpRy--
printf("%d:", 13);
print_shapez(
stacker(
// stacker(
// cutter(rotator(cutter(//top left
// painter(
// miner(1),
// mixer(2, 3)
// )))),
rotator(
cutter(rotator(cutter(//top right
painter(
miner(4),
3
))))),
stacker(
rotator(rotator(
cutter(rotator(cutter(//bottom right
painter(
miner(4),
mixer(1, 3)
)))))),
rotator(rotator(rotator(
cutter(rotator(cutter(//bottom left
painter(
miner(2),
mixer(1,2)
)))))))))
);
//14:WbSg--Su
printf("%d:", 14);
print_shapez(
stacker(
stacker(
cutter(rotator(cutter(//top left
miner(4)
))),
rotator(
cutter(rotator(cutter(//top right
painter(
miner(3),
mixer(3,3)
)))))),
//stacker(
rotator(rotator(
cutter(rotator(cutter(//bottom right
painter(
miner(4),
mixer(2, 2)
))))))
));
//15: --CbCr--
printf("%d:", 15);
print_shapez(
//stacker(
// stacker(
// cutter(rotator(cutter(//top left
// painter(
// miner(1),
// mixer(2, 3)
// )))),
// rotator(
// cutter(rotator(cutter(//top right
// painter(
// miner(4),
// mixer(2, 3)
// )))))),
stacker(
rotator(rotator(
cutter(rotator(cutter(//bottom right
painter(
miner(1),
mixer(mixer(3,3), 3)
)))))),
rotator(rotator(rotator(
cutter(rotator(cutter(//bottom left
painter(
miner(1),
mixer(mixer(1,1), 1)
))))))))
);
//16 SgRw----
printf("%d:", 15);
print_shapez(
stacker(
//stacker(
// cutter(rotator(cutter(//top left
// painter(
// miner(1),
// mixer(2, 3)
// )))),
rotator(
cutter(rotator(cutter(//top right
painter(
miner(4),
mixer(mixer(2, 2), 2)
))))),
//stacker(
rotator(rotator(
cutter(rotator(cutter(//bottom right
painter(
miner(2),
mixer(mixer(1,2), 3)
))))))
// rotator(rotator(rotator(
// cutter(rotator(cutter(//bottom left
// painter(
// miner(1),
// mixer(mixer(1,1), 1)
// )))))))
)
);
//17 WcRbSgRp
printf("%d:", 17);
print_shapez(
stacker(
stacker(
cutter(rotator(cutter(//top left
painter(
miner(2),
mixer(mixer(1,1), 3)
)))),
rotator(
cutter(rotator(cutter(//top right
painter(
miner(3),
mixer(mixer(2,2), 3)
)))))),
stacker(
rotator(rotator(
cutter(rotator(cutter(//bottom right
painter(
miner(2),
mixer(mixer(3,3), 3)
)))))),
rotator(rotator(rotator(
cutter(rotator(cutter(//bottom left
painter(
miner(4),
mixer(mixer(2,2), 2)
)))))))))
);
//18 SbWcSbCu
printf("%d:", 18);
print_shapez(
stacker(
stacker(
cutter(rotator(cutter(//top left
// painter(
miner(1)
// mixer(mixer(1,2), 3)
))),
rotator(
cutter(rotator(cutter(//top right
painter(
miner(4),
mixer(mixer(3,3), 3)
)))))),
stacker(
rotator(rotator(
cutter(rotator(cutter(//bottom right
painter(
miner(3),
mixer(mixer(2,2), 3)
)))))),
rotator(rotator(rotator(
cutter(rotator(cutter(//bottom left
painter(
miner(4),
mixer(mixer(3,3), 3)
)))))))))
);
//19: RpCg----
printf("%d:", 19);
print_shapez(
stacker(
//stacker(
// cutter(rotator(cutter(//top left
// painter(
// miner(1),
// mixer(2, 3)
// )))),
rotator(
cutter(rotator(cutter(//top right
painter(
miner(2),
mixer(mixer(1, 1), 3)
))))),
//stacker(
rotator(rotator(
cutter(rotator(cutter(//bottom right
painter(
miner(1),
mixer(mixer(2,2), 2)
))))))
// rotator(rotator(rotator(
// cutter(rotator(cutter(//bottom left
// painter(
// miner(1),
// mixer(mixer(1,1), 1)
// )))))))
)
);
printf("%d:", 20);
print_shapez(
stacker(
stacker(
cutter(rotator(cutter(//top left
painter(
miner(1),
mixer(mixer(2,2), 3)
)))),
rotator(
cutter(rotator(cutter(//top right
painter(
miner(1),
mixer(mixer(3,3), 3)
)))))),
(
rotator(rotator(
cutter(rotator(cutter(//bottom right
painter(
miner(1),
mixer(mixer(2,2), 2)
))))))
))
);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment