kiki/coffee/levels.coffee
monsterkodi d4c28ee1d6 levels
2016-08-23 18:35:44 +02:00

82 lines
2.0 KiB
CoffeeScript

# 000 00000000 000 000 00000000 000 0000000
# 000 000 000 000 000 000 000
# 000 0000000 000 000 0000000 000 0000000
# 000 000 000 000 000 000
# 0000000 00000000 0 00000000 0000000 0000000
class Levels
constructor: () ->
@dict = {}
@list = [
# "test",
# --- introduction
"steps",
"start",
"blocks",
"move",
"electro",
"elevate",
"throw",
# --- easy
"gold",
"jump",
"escape",
"gears",
"gamma",
"cube",
"switch",
"borg",
"mini",
"bombs",
"sandbox",
"energy",
"maze",
"love",
# --- medium
"towers",
"edge",
"random",
"plate",
"nice",
"entropy",
"neutron",
"strange",
"core",
# --- difficult
"slick",
"bridge",
"flower",
"stones",
"walls",
"grid",
"rings",
"bronze",
"pool",
# --- owen hay's levels (TODO: sort in)
"grasp",
"fallen",
"cheese",
"invisimaze",
"spiral",
# --- tough
"hidden",
"church",
"mesh",
"columns",
"machine",
# --- very hard
"captured",
"circuit",
"regal",
"conductor",
"evil",
# outro
"mutants"]
# import the levels
for levelName in @list
@dict[levelName] = require "./levels/#{levelName}"
module.exports = Levels