This file contains hidden or 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
| char sprite[] = { 8, 8, | |
| 0x0e /* ....###. */, | |
| 0x1d /* ...###.# */, | |
| 0x1f /* ...##### */, | |
| 0x1f /* ...##### */, | |
| 0x0e /* ....###. */, | |
| 0x08 /* ....#... */, | |
| 0x10 /* ...#.... */, | |
| 0xe0 /* ###..... */ | |
| }; |
This file contains hidden or 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
| char sprite[] = { 5, 5, | |
| 0x70 /* .###.... */, | |
| 0xe8 /* ###.#... */, | |
| 0xf8 /* #####... */, | |
| 0xf8 /* #####... */, | |
| 0x70 /* .###.... */ | |
| }; |
This file contains hidden or 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
| #include <graphics.h> | |
| #include <games.h> | |
| #include <stdio.h> | |
| char balloon[] = { 8, 8, | |
| 0x0e, 0x1d, 0x1f, 0x1f, 0x0e, 0x08, 0x10, 0xe0 | |
| }; | |
| void main(){ | |
| clg(); |
This file contains hidden or 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
| #include <stdio.h> | |
| void main() { | |
| for (int y=1; y<=6; y++) { | |
| for (int x=1; x<=24; x++) { | |
| printf("%c[%u;%uH ", 27, y, x); | |
| } | |
| } | |
| printf("%c[%u;%uH",27,2,2); // locate |
This file contains hidden or 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
| #include <graphics.h> | |
| #include <conio.h> | |
| #include <stdio.h> | |
| main(){ | |
| clg(); | |
| gotoxy(1,1); | |
| printf("test\n"); |
This file contains hidden or 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
| // IchigoLatte PanCake library | |
| // CC0 1.0 Public Domain Dedication - https://creativecommons.org/publicdomain/zero/1.0/ | |
| function pc-init(){ | |
| uart(10); | |
| } | |
| function pc-clear(cn){ | |
| uart(128,4,0,cn); | |
| } |
This file contains hidden or 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
| 10 N=RND(1)*95+1 | |
| 20 PLAY "n=N;" | |
| 30 GOTO 10 |
This file contains hidden or 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
| 10 CLS | |
| 20 FOR X=0 TO 143 | |
| 30 FOR Y=0 TO 49 | |
| 40 LINE (X,0)-(X,47),X,BF | |
| 45 WAIT 3 | |
| 50 NEXT Y | |
| 60 NEXT X | |
| 70 GOTO 20 |
This file contains hidden or 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
| 10 CLS | |
| 20 PRINT "PC-G850V" | |
| 30 FOR Y=6 TO 0 STEP -1 | |
| 40 FOR X=46 TO 0 STEP -1 | |
| 50 IF POINT (X,Y)=1 GOTO 80 | |
| 60 LINE (X*3,Y*6)-(X*3+2,Y*6+5),R,BF | |
| 70 GOTO 90 | |
| 80 LINE (X*3,Y*6)-(X*3+2,Y*6+5),S,BF | |
| 90 NEXT X | |
| 100 NEXT Y |
This file contains hidden or 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 caddy/caddy:alpine | |
| COPY ./ /usr/share/caddy/ | |
| USER root | |
| RUN sed -i 's/:8080/:{$PORT}/' /etc/caddy/Caddyfile |
OlderNewer