Skip to content

Commit

Permalink
fix package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
max-mapper committed Feb 20, 2013
1 parent c846a92 commit e20e592
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client.js
Expand Up @@ -82,7 +82,7 @@ function createGame(options) {
})
if (interacting) sendState()
})

emitChat(name, emitter)

var container = document.querySelector('#container')
Expand Down
9 changes: 8 additions & 1 deletion package.json
Expand Up @@ -8,7 +8,14 @@
"voxel-highlight": "0.0.1",
"toolbar": "0.0.5",
"voxel-player": "0.0.2",
"voxel-engine": "0.5.8"
"voxel-engine": "0.5.8",
"voxel-crunch": "0.1.0",
"websocket-stream": "0.0.5",
"ws": "0.4.25",
"ecstatic": "0.3.0",
"hat": "0.0.3",
"duplex-emitter": "0.1.6"

},
"scripts": {
"start": "node server.js"
Expand Down
6 changes: 5 additions & 1 deletion server.js
Expand Up @@ -15,7 +15,11 @@ var settings = {
startingPosition: {x: 0, y: 1000, z: 0},
materials: [['grass', 'dirt', 'grass_dirt'], 'brick', 'dirt', 'obsidian', 'snow'],
controlsDisabled: true,
controls: { discreteFire: true }
controls: { discreteFire: true },
generate: function flatWorld(x, y, z) {
if (y === 0) return 1
return 0
}
}

var game = engine(settings)
Expand Down

0 comments on commit e20e592

Please sign in to comment.