Author |
Topic: Meaning of entries in the gamestate file (Read 1566 times) |
|
jdb
Forum Guru
Arimaa player #214
Gender:
Posts: 682
|
|
Meaning of entries in the gamestate file
« on: Feb 8th, 2006, 5:59pm » |
Quote Modify
|
I was trying to add the T time control parameter to clueless and I have some questions. The following is a gamestate file from an actual game using the T parameter. Quote:plycount=4 tcmove=15 lastmoveused=60 tcturns=0 wplayer=* bot_clueless_test turn=w tcreserve=90 starttime=1139441678 rated=0 wused=0 t=32167 e=jdb barrived=1139441651 gameId=637650765 timeonserver=1139441897 postal=0 moves=1w Ee2 Me1 Hg2 Hb2 Df2 Dd1 Cc2 Cd2 Ra2 Rh2 Ra1 Rb1 Rc1 Rf1 Rg1 Rh1%131b ha7 db7 cc7 md7 ee7 cf7 dg7 hh7 ra8 rb8 rc8 rd8 re8 rf8 rg8 rh8%132w Cd2n Dd1n Hg2n Ee2n%132b md7s md6s ee7s ee6s%133w Ee3n Ee4w Ed4w md5s%133b ee5w md4e me4e mf4e%134w Hb2n Ec4e Ed4e Ee4e%134b dg7s dg6s mg4e mh4n%135w s=b tableId=32167 tcgame=224 roomId=3 lastmovereserve=86 tcmax=0 wpresent=1139441672 title=Game Number: 32167 warrived=1139441672 tcwreserve=125 r=b position=5w %13 +-----------------+%138| r r r r r r r r |%137| h d c c h |%136| X X |%135| e d m |%134| E |%133| H X C X H |%132| R C D D R |%131| R R R M R R R |%13 +-----------------+%13 a b c d e f g h%13 tcgamenow=224 auth=126279646825 wstartmove=1139441897 timecontrol=0:15/1:30/100/0/1:30/5 tcbreserve=41 tctotal=5400 bplayer=* jdb tcpercent=100 creattime=1139441649 chat=w 1w: Hi. Im just a bot, so don't try chatting with me.%13My trainer is Jeff Bacher.%13 lastchange=14 tcturntime=300 bused=60 bpresent=1139441651 --END-- |
| Are the following meanings correct? tcmove Time Control seconds per move tcturns ? tcreserve Initial reserve time tcwreserve White reserve time in seconds tcbreserve Black reserve time in seconds tcgame Current length of game in seconds tcgamenow Same as tcgame? tctotal Maximum length of game in seconds tcpercent Percent of time added to reserve tcmax Max reserve time (if zero reserve unlimited) tcturntime Max length of turn in seconds (if zero turn time unlimited)
|
|
IP Logged |
|
|
|
omar
Forum Guru
Arimaa player #2
Gender:
Posts: 1003
|
|
Re: Meaning of entries in the gamestate file
« Reply #1 on: Feb 8th, 2006, 6:48pm » |
Quote Modify
|
In the time control format: M/R/P/L/G/T where M is the number of minutes:seconds per move R is the number of minutes:seconds in reserve P is the percent of unused move time that gets added to the reserve L is the number of minutes:seconds to limit the reserve G is the number of hours:minutes after which time the game is halted and the winner is determined by score. G can also be specified as the maximum number of moves. T is the number of minutes:seconds within which a player must make the move In the game state file: tcmove = M tcreserve = R tcpercent = P tcmax = L tctotal = G if G was given as a time tcturns = G if G was given as number of turns tcturntime = T tcwreserve White reserve time in seconds tcbreserve Black reserve time in seconds tcgame Current length of game in seconds tcgamenow Do not use; it is usually set to tcgame In the game state file all times are converted to seconds.
|
|
IP Logged |
|
|
|
jdb
Forum Guru
Arimaa player #214
Gender:
Posts: 682
|
|
Re: Meaning of entries in the gamestate file
« Reply #2 on: Feb 8th, 2006, 9:00pm » |
Quote Modify
|
Excellent. Thanks alot
|
|
IP Logged |
|
|
|
Fritzlein
Forum Guru
Arimaa player #706
Gender:
Posts: 5928
|
|
Re: Meaning of entries in the gamestate file
« Reply #3 on: Feb 9th, 2006, 8:30am » |
Quote Modify
|
Oh, does the client get sent the whole set of previous moves after every move? That would explain why my lag seems to get worse (over dialup) later in the game.
|
|
IP Logged |
|
|
|
RonWeasley
Forum Guru
Harry's friend (Arimaa player #441)
Gender:
Posts: 882
|
|
Re: Meaning of entries in the gamestate file
« Reply #4 on: Feb 9th, 2006, 9:01am » |
Quote Modify
|
It might also be a factor in the Mozilla crashes after about 20 moves.
|
|
IP Logged |
|
|
|
omar
Forum Guru
Arimaa player #2
Gender:
Posts: 1003
|
|
Re: Meaning of entries in the gamestate file
« Reply #5 on: Feb 9th, 2006, 11:38am » |
Quote Modify
|
on Feb 9th, 2006, 8:30am, Fritzlein wrote:Oh, does the client get sent the whole set of previous moves after every move? That would explain why my lag seems to get worse (over dialup) later in the game. |
| Yes, not only the whole movelist but also the whole chat text for the flash client. It's not very efficent. I need to redo the whole client/server system eventually. Sending a lot of data does not cause the warning message. It's due to the HTTP connection being kept open for a long time.
|
|
IP Logged |
|
|
|
|