Skip to content

Commit

Permalink
Sprig App - wahooo
Browse files Browse the repository at this point in the history
  • Loading branch information
recursiveforte committed Oct 21, 2024
1 parent d49a749 commit 4a77df6
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions games/wahooo.js
Original file line number Diff line number Diff line change
@@ -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(() => {

})

0 comments on commit 4a77df6

Please sign in to comment.