oh, repro steps for #1 start new game P1 - raise 5 P2 - raise 5 P3 - raise 5 P4 - raise 5 P1 - call P2 - call P3 - call P4 - gets skipped <-- I am trying to remember what happens here, nobody should ever get a skipped turn P1 - check (call) P2 - fold P3 - fold P4 - fold P1 wins and gold changes to P1 - 160 P2 - 80 P3 - 80 P4 - 80 Total = 400, new hand... it says it's both p1 and p2's turn (sorry, i know this is still a work in progress) P2 - raise by 5 (apparently it is P2's turn) P3 - raise by 5 P4 - raise by 5 P1 - raise by 5 P2 - call P3 - call P4 - call P1 - call P2 - fold P3 - fold P4 - fold P1 wins and gold changes to P1 - 225 P2 - 60 P3 - 60 P4 - 60 Total = 405 and it says P1 and P2's turn again but it looks like it's really p2's turn again. Hope this helps Kent! On Sat, Jan 16, 2010 at 9:04 AM, Alan Wolfe <alan.wolfe@xxxxxxxxx> wrote: > kent this is really comin along! > > a couple things that you may know about (it isnt finished yet after all :P) > > #1 - there seems to be another math leak somewhere. I played where i let > player 1 win a few rounds and now the player gold is... > > P1 - 225 > P2 - 60 > P3 - 60 > P4 - 60 > > if you add that up you get 405 gold, but the players start with 400 gold > combined so somehow an extra 5 gold appeared. > > I played 2 hands if that helps you at all > > #2 - you can bet your self into a negative amount of gold. You can put > this on the todo list for later but if you call a bet and don't have enough > there's special rules that can get a lil complicated to track. > > Basically if you go "all in" and don't match the bet, you can only win from > each player as much as you put in. We'll have to talk about this guy in > detail cause it gets really complicated cause check out this sceneario: > > Player 1 bets 50 > Player 2 goes all in with their last 30 > Player 3 goes all in with their last 20 > > if player 2 wins, they win player 3's 20 gold and they win 30 gold from > player 1, and they get their own 30 gold back. Player 1 gets 20 of their > bet back, and player 3 is out. > > In the above, if Player 3 wins, they win 20 from player 1 and 2, and get > their origional 20 back. Player 1 gets 30 of their bet back, and player 2 > gets 10 of their bet back. > > I think if someone goes all in and is under the bet amount and wins, they > get all the money from the people who folded too though... even if they put > in more than they did > > #3 - minor changes for terminology... > > if you call a 0 bet, it's called "checking". so in the text that says > "Player 1 calls" it would be nice if it said "Player 1 checks" if there is > no bet. Maybe also if the text said how much the player called that would > be nice (: > > Also if someone calls a bet more than or equal to what they have it would > be cool if it said "Player 1 goes all in with 40" or however much they have > > > This game is really coming along though Kent, this is really really cool > > > On Sat, Jan 16, 2010 at 1:32 AM, Apache User <dhapache@xxxxxxxxxxxxxxxxxxx > > wrote: > >> User:korgath >> >> Message: pirate dice update: >> game now keeps track of what you really have in your hand not just what >> you state (visible via console) >> >> <Files Changed> >> U Scripts/Personal/Kent/piratedice.lua >> >> >> >