X-Git-Url: https://jasonwoof.com/gitweb/?p=peach-cgt.git;a=blobdiff_plain;f=server.coffee;h=089523ad4d5116b8bcfae57a47c8351dbc49b892;hp=80ad9c35116e2335212a021526c95c7884ca9cc0;hb=078a999a7b7ed2ae37e27d88b3039221fbc1d90c;hpb=711b95481e8373c56ce14f9d8b200f4204d13a36 diff --git a/server.coffee b/server.coffee index 80ad9c3..089523a 100644 --- a/server.coffee +++ b/server.coffee @@ -182,18 +182,21 @@ new_game = (id) -> test_init = -> test_game = new_game 'test' - timeout 4000, -> + timeout 2, -> test_game.set_cards 'server', [ { text: "Wildabeast 2/2", x: 220, y: 200, owner: 'p2'} - { text: "Wild beast 2/2", x: 360, y: 200, owner: 'p2'} + { text: "Boar 2/2", x: 360, y: 200, owner: 'p2', pile: 'p2_discard'} { text: "Angora bunny 1/1", x: 500, y: 200, owner: 'p2'} { text: "Ambulatory Cactus 2/1", x: 660, 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: 360, y: 420, owner: 'p1'} - { text: "Stone Wall 0/10", x: 500, y: 420, owner: 'p1'} - { text: "Log 0/1", x: 660, y: 420, owner: 'p1'} - { text: "Ent 0/5", x: 800, y: 420, owner: 'p1'} + { text: "Stone Wall 0/10", x: 500, y: 420, owner: 'p1', pile: 'p1_draw', flipped: true} + { text: "Log 0/1", x: 660, y: 420, owner: 'p1', pile: 'p1_draw', flipped: true} + { text: "Ent 0/5", x: 800, y: 420, owner: 'p1', pile: 'p1_draw', flipped: true} + { text: "Barricade 0/10", x: 500, y: 420, owner: 'p1', pile: 'p1_draw', flipped: true} + { text: "O(log(n)) 0/1", x: 660, y: 420, owner: 'p1', pile: 'p1_draw', flipped: true} + { text: "Fence 0/5", x: 800, y: 420, owner: 'p1', pile: 'p1_draw', flipped: true} ] test_init()