| changeset 513: |
8bf6b070978d |
| parent 512: | c916d80dbb8a |
| child 514: | 18bf6c8a2d01 |
| author: |
loic@call.dachary.org |
| date: |
Sat Jun 28 16:18:49 2008 +0200 (20 months ago) |
| files: |
jpoker/js/skin-jpoker.js |
| description: |
show money for position test so that skin can extend to it |
--- a/jpoker/js/skin-jpoker.js Sat Jun 28 14:31:39 2008 +0200
+++ b/jpoker/js/skin-jpoker.js Sat Jun 28 16:18:49 2008 +0200
@@ -196,9 +196,12 @@
var packets = [
{ type: 'PacketPokerTable', id: game_id }
];
+ var money = 2;
for(var i = 0; i < 10; i++) {
packets.push({ type: 'PacketPokerPlayerArrive', serial: player_serial + i, game_id: game_id, seat: i, name: 'username' + i });
packets.push({ type: 'PacketPokerSit', serial: player_serial + i, game_id: game_id });
+ packets.push({ type: 'PacketPokerPlayerChips', serial: player_serial + i, game_id: game_id, money: money, bet: 0 });
+ money *= 10;
}
packets.push({ type: 'PacketPokerPosition', serial: player_serial, game_id: game_id });