X-Git-Url: https://jasonwoof.com/gitweb/?p=peach-cgt.git;a=blobdiff_plain;f=server.coffee;h=089523ad4d5116b8bcfae57a47c8351dbc49b892;hp=3ba1034f21e16c5587814b448375ea5e69dbe8ce;hb=078a999a7b7ed2ae37e27d88b3039221fbc1d90c;hpb=349583c86f05f027c2d92920549df2b22328d5c6 diff --git a/server.coffee b/server.coffee index 3ba1034..089523a 100644 --- a/server.coffee +++ b/server.coffee @@ -182,7 +182,7 @@ 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: "Boar 2/2", x: 360, y: 200, owner: 'p2', pile: 'p2_discard'} @@ -194,6 +194,9 @@ test_init = -> { 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()