 
   player = new Player client
 
-  RED = [255, 0, 0]
-  GREEN = [0, 255, 0]
-  BLUE = [0, 0, 255]
-  BLACK = [0, 0, 0]
-  WHITE = [255, 255, 255]
+  RED =
+    r: 255
+    g: 0
+    b: 0
+  GREEN =
+    r: 0
+    g: 255
+    b: 0
+  BLUE =
+    r: 0
+    g: 0
+    b: 255
+  BLACK =
+    r: 0
+    g: 0
+    b: 0
+  WHITE =
+    r: 255
+    g: 255
+    b: 255
 
   keyboardKeys =
 
     o:
       name: "OFF"
       program: player.createProgram (set, all, next) ->
-        all BLACK...
+        all BLACK
         next 1000
 
     p:
       name: "ON"
       program: player.createProgram (set, all, next) ->
-        all WHITE...
+        all WHITE
         next 1000
 
     r:

      program: player.createProgram (set, all, next) ->

        for i in [0..38/2]
          set i, BLACK...

        for i in [38/2..38]
          set i, RED...

        next 300

        for i in [0..38/2]
          set i, RED...

        for i in [38/2..38]
          set i, BLACK...

        next 300


    h:
      name: "fast green blue"
      program: player.createProgram (set, all, next) ->
        all GREEN
        next 100
        all BLUE
        next 100

    j:
      name: "flash red"
      program: player.createProgram (set, all, next) ->
        all BLACK
        next 100
        all RED
        next 100

    l:
