風船 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/
// Balloons | C language for IchigoJam (c4ij, IchigoJam BASIC 1.3.2b12+) | |
// Copyright (c) 2019 Keiichi SHIGA (BALLOON a.k.a. Fu-sen.) | |
// The MIT License (MIT) - https://gist.github.com/fu-sen/7e55ee56a67e07d804db9379178e3cb5 | |
#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