JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
display opponent's cards upside down
[peach-cgt.git] / server.coffee
index d3441d0..94672a9 100644 (file)
@@ -184,16 +184,16 @@ test_init = ->
        test_game = new_game 'test'
        timeout 4000, ->
                test_game.set_cards 'server', [
-                       { text: "Wildabeast 2/2", x: 220, y: 200}
-                       { text: "Wild beast 2/2", x: 350, y: 200}
-                       { text: "Angora bunny 1/1", x: 500, y: 200}
-                       { text: "Ambulatory Cactus 2/1", x: 650, y: 200}
-                       { text: "Ent 0/5", x: 800, y: 200}
-                       { text: "Carnivore 2/1", x: 220, y: 420}
-                       { text: "Herbivore 1/2", x: 350, y: 420}
-                       { text: "Stone Wall 0/10", x: 500, y: 420}
-                       { text: "Log 0/1", x: 650, y: 420}
-                       { text: "Ent 0/5", x: 800, y: 420}
+                       { text: "Wildabeast 2/2", x: 220, y: 200, owner: 'p2'}
+                       { text: "Wild beast 2/2", x: 350, y: 200, owner: 'p2'}
+                       { text: "Angora bunny 1/1", x: 500, y: 200, owner: 'p2'}
+                       { text: "Ambulatory Cactus 2/1", x: 650, y: 200, owner: 'p2'}
+                       { text: "Ent 0/5", x: 800, y: 200, owner: 'p2'}
+                       { text: "Carnivore 2/1", x: 220, y: 420, owner: 'p1'}
+                       { text: "Herbivore 1/2", x: 350, y: 420, owner: 'p1'}
+                       { text: "Stone Wall 0/10", x: 500, y: 420, owner: 'p1'}
+                       { text: "Log 0/1", x: 650, y: 420, owner: 'p1'}
+                       { text: "Ent 0/5", x: 800, y: 420, owner: 'p1'}
                ]
 
 test_init()