 module.exports = () ->
   console.log 'voxpopuli starting'
 
-  # TODO: move after game creation
-  registry = createRegistry null, {}
-  registry.registerBlock 'grass', {texture: ['grass_top', 'dirt', 'grass_side'], hardness:5}
-  registry.registerBlock 'dirt', {texture: 'dirt', hardness:4}
-  registry.registerBlock 'stone', {texture: 'stone', hardness:90}
-  registry.registerBlock 'logOak', {texture: ['log_oak_top', 'log_oak_top', 'log_oak'], hardness:8}
-  registry.registerBlock 'cobblestone', {texture: 'cobblestone', hardness:90}
-  registry.registerBlock 'oreCoal', {texture: 'coal_ore'}
-  registry.registerBlock 'brick', {texture: 'brick'}
-  registry.registerBlock 'obsidian', {texture: 'obsidian', hardness: 900}
-  registry.registerBlock 'leavesOak', {texture: 'leaves_oak_opaque', hardness: 2}
-  registry.registerBlock 'glass', {texture: 'glass'}
-
   # setup the game 
   console.log 'creating game'
   game = createGame {

    #generateVoxelChunk: terrain {chunkSize: 32, chunkDistance: 2, seed: 42}
    generateChunks: false
    chunkDistance: 2
    materials: registry.getBlockPropsAll 'texture'
    texturePath: 'ProgrammerArt/textures/blocks/' # subproject with textures
    worldOrigin: [0, 0, 0],
    controls:

    progressTexturesBase: 'ProgrammerArt/textures/blocks/destroy_stage_'
    progressTexturesCount: 9
    defaultHardness: 9
    hardness: registry.getBlockPropsAll 'hardness'
  }

  # highlight blocks when you look at them
