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
@echo off | |
setlocal | |
if "%1"=="" ( | |
set /p USER="input user name>" | |
) else ( | |
set USER=%1 | |
) | |
C: |
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
runtime: php72 |
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 |
OlderNewer