YouWinLose

{% trans 'Sorry, your browser does not support canvas -- please either update your browser or submit your requirements by phone or email.' %}

Accelerometer

FRERFDS-codebug_direction('U'); codebug_sleepafter(3); io_configure(0, 1); io_configure(1, 1); io_configure(2, 1); io_configure(3, 1); io_configure_pullup(0, 0); io_configure_pullup(2, 0); io_configure_pullup(3, 0); fivebyfivedisplay.sprite_scroll((sprite_build([[1, 0, 0, 0, 1], [0, 0, 0, 0, 0], [0, 0, 1, 0, 0], [0, 0, 0, 0, 0], [1, 0, 0, 0, 1]])), 100, 'L'); fivebyfivedisplay.sprite_render(0, 0, sprite_build([[0, 0, 0, 1, 1], [0, 0, 0, 1, 1], [0, 0, 0, 0, 1], [0, 0, 0, 1, 1], [0, 0, 0, 1, 1]])); fivebyfivedisplay.update(); sleep(1000); fivebyfivedisplay.sprite_scroll((sprite_build([[1, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 1, 0, 0], [0, 0, 0, 0, 0], [1, 0, 0, 0, 0]])), 1000, 'L'); sleep_until_input(); if (io_get_input('A') == 1) { fivebyfivedisplay.sprite_render(0, 0, sprite_build([[0, 0, 1, 0, 0], [0, 1, 1, 1, 0], [0, 1, 1, 1, 0], [0, 1, 1, 1, 0], [0, 0, 1, 0, 0]])); fivebyfivedisplay.update(); sleep(1000); fivebyfivedisplay.sprite_scroll((sprite_build([[1, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [1, 0, 0, 0, 0]])), 100, 'L'); fivebyfivedisplay.sprite_scroll((new StringSprite('YOU LOSE!!!!', 'R')), 100, 'L'); } else { fivebyfivedisplay.sprite_render(0, 0, sprite_build([[1, 0, 1, 0, 0], [1, 0, 1, 1, 0], [1, 0, 1, 1, 0], [1, 0, 1, 1, 0], [1, 0, 1, 0, 0]])); fivebyfivedisplay.update(); sleep(1000); fivebyfivedisplay.sprite_scroll((new StringSprite('YOU WIN!!!!!', 'R')), 100, 'L'); } codebug_direction('U'); codebug_sleepafter(3); io_configure(0, 1); io_configure(1, 1); io_configure(2, 1); io_configure(3, 1); io_configure_pullup(0, 0); io_configure_pullup(2, 0); io_configure_pullup(3, 0); fivebyfivedisplay.sprite_scroll((sprite_build([[1, 0, 0, 0, 1], [0, 0, 0, 0, 0], [0, 0, 1, 0, 0], [0, 0, 0, 0, 0], [1, 0, 0, 0, 1]])), 100, 'L'); fivebyfivedisplay.sprite_render(0, 0, sprite_build([[0, 0, 0, 1, 1], [0, 0, 0, 1, 1], [0, 0, 0, 0, 1], [0, 0, 0, 1, 1], [0, 0, 0, 1, 1]])); fivebyfivedisplay.update(); sleep(1000); fivebyfivedisplay.sprite_scroll((sprite_build([[1, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 1, 0, 0], [0, 0, 0, 0, 0], [1, 0, 0, 0, 0]])), 1000, 'L'); sleep_until_input(); if (io_get_input('A') == 1) { fivebyfivedisplay.sprite_render(0, 0, sprite_build([[0, 0, 1, 0, 0], [0, 1, 1, 1, 0], [0, 1, 1, 1, 0], [0, 1, 1, 1, 0], [0, 0, 1, 0, 0]])); fivebyfivedisplay.update(); sleep(1000); fivebyfivedisplay.sprite_scroll((sprite_build([[1, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [1, 0, 0, 0, 0]])), 100, 'L'); fivebyfivedisplay.sprite_scroll((new StringSprite('YOU LOSE!!!!', 'R')), 100, 'L'); } else { fivebyfivedisplay.sprite_render(0, 0, sprite_build([[1, 0, 1, 0, 0], [1, 0, 1, 1, 0], [1, 0, 1, 1, 0], [1, 0, 1, 1, 0], [1, 0, 1, 0, 0]])); fivebyfivedisplay.update(); sleep(1000); fivebyfivedisplay.sprite_scroll((new StringSprite('YOU WIN!!!!!', 'R')), 100, 'L'); } codebug_direction('U'); codebug_sleepafter(3); io_configure(0, 1); io_configure(1, 1); io_configure(2, 1); io_configure(3, 1); io_configure_pullup(0, 0); io_configure_pullup(2, 0); io_configure_pullup(3, 0); fivebyfivedisplay.sprite_scroll((sprite_build([[1, 0, 0, 0, 1], [0, 0, 0, 0, 0], [0, 0, 1, 0, 0], [0, 0, 0, 0, 0], [1, 0, 0, 0, 1]])), 100, 'L'); fivebyfivedisplay.sprite_render(0, 0, sprite_build([[0, 0, 0, 1, 1], [0, 0, 0, 1, 1], [0, 0, 0, 0, 1], [0, 0, 0, 1, 1], [0, 0, 0, 1, 1]])); fivebyfivedisplay.update(); sleep(1000); fivebyfivedisplay.sprite_scroll((sprite_build([[1, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 1, 0, 0], [0, 0, 0, 0, 0], [1, 0, 0, 0, 0]])), 1000, 'L'); sleep_until_input(); if (io_get_input('A') == 1) { fivebyfivedisplay.sprite_render(0, 0, sprite_build([[0, 0, 1, 0, 0], [0, 1, 1, 1, 0], [0, 1, 1, 1, 0], [0, 1, 1, 1, 0], [0, 0, 1, 0, 0]])); fivebyfivedisplay.update(); sleep(1000); fivebyfivedisplay.sprite_scroll((sprite_build([[1, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [1, 0, 0, 0, 0]])), 100, 'L'); fivebyfivedisplay.sprite_scroll((new StringSprite('YOU LOSE!!!!', 'R')), 100, 'L'); } else { fivebyfivedisplay.sprite_render(0, 0, sprite_build([[1, 0, 1, 0, 0], [1, 0, 1, 1, 0], [1, 0, 1, 1, 0], [1, 0, 1, 1, 0], [1, 0, 1, 0, 0]])); fivebyfivedisplay.update(); sleep(1000); fivebyfivedisplay.sprite_scroll((new StringSprite('YOU WIN!!!!!', 'R')), 100, 'L'); } codebug_direction('U'); codebug_sleepafter(3); io_configure(0, 1); io_configure(1, 1); io_configure(2, 1); io_configure(3, 1); io_configure_pullup(0, 0); io_configure_pullup(2, 0); io_configure_pullup(3, 0); fivebyfivedisplay.sprite_scroll((sprite_build([[1, 0, 0, 0, 1], [0, 0, 0, 0, 0], [0, 0, 1, 0, 0], [0, 0, 0, 0, 0], [1, 0, 0, 0, 1]])), 100, 'L'); fivebyfivedisplay.sprite_render(0, 0, sprite_build([[0, 0, 0, 1, 1], [0, 0, 0, 1, 1], [0, 0, 0, 0, 1], [0, 0, 0, 1, 1], [0, 0, 0, 1, 1]])); fivebyfivedisplay.update(); sleep(1000); fivebyfivedisplay.sprite_scroll((sprite_build([[1, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 1, 0, 0], [0, 0, 0, 0, 0], [1, 0, 0, 0, 0]])), 1000, 'L'); sleep_until_input(); if (io_get_input('A') == 1) { fivebyfivedisplay.sprite_render(0, 0, sprite_build([[0, 0, 1, 0, 0], [0, 1, 1, 1, 0], [0, 1, 1, 1, 0], [0, 1, 1, 1, 0], [0, 0, 1, 0, 0]])); fivebyfivedisplay.update(); sleep(1000); fivebyfivedisplay.sprite_scroll((sprite_build([[1, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [1, 0, 0, 0, 0]])), 100, 'L'); fivebyfivedisplay.sprite_scroll((new StringSprite('YOU LOSE!!!!', 'R')), 100, 'L'); } else { fivebyfivedisplay.sprite_render(0, 0, sprite_build([[1, 0, 1, 0, 0], [1, 0, 1, 1, 0], [1, 0, 1, 1, 0], [1, 0, 1, 1, 0], [1, 0, 1, 0, 0]])); fivebyfivedisplay.update(); sleep(1000); fivebyfivedisplay.sprite_scroll((new StringSprite('YOU WIN!!!!!', 'R')), 100, 'L'); } V

Report this project
Back to top