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
The MIT License (MIT) | |
Copyright (c) 2006-2011 Keiichi SHIGA (BALLOON a.k.a. Fu-sen.) | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
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
@echo off | |
setlocal | |
if "%1"=="" ( | |
set /p USER="input user name>" | |
) else ( | |
set USER=%1 | |
) | |
C: |
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
runtime: php72 |
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
char sprite[] = { 8, 8, | |
0x0e /* ....###. */, | |
0x1d /* ...###.# */, | |
0x1f /* ...##### */, | |
0x1f /* ...##### */, | |
0x0e /* ....###. */, | |
0x08 /* ....#... */, | |
0x10 /* ...#.... */, | |
0xe0 /* ###..... */ | |
}; |
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
char sprite[] = { 5, 5, | |
0x70 /* .###.... */, | |
0xe8 /* ###.#... */, | |
0xf8 /* #####... */, | |
0xf8 /* #####... */, | |
0x70 /* .###.... */ | |
}; |
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
#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 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 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 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 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 |
OlderNewer