Last active
February 12, 2021 12:06
-
-
Save fu-sen/dc9c1a850786228169cdc24d3ef182ad to your computer and use it in GitHub Desktop.
風船 Balloons | C language for IchigoJam (c4ij, IchigoJam BASIC 1.3.2b12+) https://15jamrecipe.jimdofree.com/basic/%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%A0/%E9%A2%A8%E8%88%B9/
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
// Balloons | C language for IchigoJam (c4ij, IchigoJam BASIC 1.3.2b12+) | |
// Copyright (c) 2019 Keiichi Shiga (BALLOON | FU-SEN) | |
// The MIT License (MIT) - https://mit.balloon.net.eu.org/#2019 | |
#include <std15.h> | |
__attribute__ ((section(".main"))) | |
int main(int param, int ram, int rom, int (*divfunc)()) { | |
cls(); | |
for (;;) { | |
int x = rnd(31); | |
locate(x, 23); | |
putc(232); | |
putc(10); | |
if( inkey() != -1 ) break; | |
wait(7); | |
locate(x, 23); | |
putc(242); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment