ld31-space-diggers/src/game.coffee

18 lines
176 B
CoffeeScript
Raw Normal View History

2014-12-06 08:37:36 +01:00
game = {
start: ->
2014-12-06 09:24:36 +01:00
hud: ->
app
.layer
.fillStyle "#00f"
.fillRect 0, 0, 200, 50
2014-12-06 08:37:36 +01:00
step: ->
2014-12-06 09:24:36 +01:00
this.hud
2014-12-06 08:37:36 +01:00
resources:
2014-12-06 09:24:36 +01:00
ore: 50
2014-12-06 08:37:36 +01:00
stone: 100
}