X-Git-Url: https://jasonwoof.com/gitweb/?p=peach-cgt.git;a=blobdiff_plain;f=server.coffee;h=94672a9696236e13c7f08b7c7747295a8f3e8986;hp=d3441d0466cd4624248a0e82258c5c4762067031;hb=b828a190d7672e89aa84801b66edb0d82076e45d;hpb=4774192fca507ee5d06124b2d5268c5b023f6ed9 diff --git a/server.coffee b/server.coffee index d3441d0..94672a9 100644 --- a/server.coffee +++ b/server.coffee @@ -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()