diff --git a/games/wahooo.js b/games/wahooo.js new file mode 100644 index 0000000000..4ef76742f9 --- /dev/null +++ b/games/wahooo.js @@ -0,0 +1,54 @@ +/* +First time? Check out the tutorial game: +https://sprig.hackclub.com/gallery/getting_started + +@title: wahooo +@author: +@tags: [] +@addedOn: 2024-00-00 +*/ + +const player = "p" + +setLegend( + [ player, bitmap` +................ +................ +.......000...... +.......0.0...... +......0..0...... +......0...0.0... +....0003.30.0... +....0.0...000... +....0.05550..... +......0...0..... +.....0....0..... +.....0...0...... +......000....... +......0.0....... +.....00.00...... +................` ] +) + +setSolids([]) + +let level = 0 +const levels = [ + map` +p. +..` +] + +setMap(levels[level]) + +setPushables({ + [ player ]: [] +}) + +onInput("s", () => { + getFirst(player).y += 1 +}) + +afterInput(() => { + +}) \ No newline at end of file