Skip to content

Instantly share code, notes, and snippets.

@fu-sen
Last active Feb 12, 2021
Embed
What would you like to do?
風船 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 | 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