Skip to content

Instantly share code, notes, and snippets.

@fu-sen fu-sen/main-balloons.c
Last active May 31, 2019

Embed
What would you like to do?
風船 Balloons | C language for IchigoJam (c4ij, IchigoJam BASIC 1.3.2b12~) https://15jamrecipe.jimdo.com/
// 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
You can’t perform that action at this time.