Pocket-Monkey(tm) Discussion Forum

[Home] | [Games : Backgammon] | Programmng for selecting default die selection[Forum Rules] [Login]

Programmng for selecting default die selection

Thread #533 - Messages: 10   (some may be hidden) **This thread is closed** 
 Programmng for selecting default die selection Message #2727    Replies: 3
posted by tjrm (Jim) on 06/18 at 15:30
Is it my imagination, or is the default active die the wrong one to use first? ;-)
 
 Re: Programmng for selecting default die selection Message #2731    Replies: 0
posted by coldy (Jayden) on 06/18 at 20:20
I was under the impression the default first move was random?
Maybe I am wrong
 
 Re: Programmng for selecting default die selection Message #2735    Replies: 2
posted by frolind (Frode L) on 06/19 at 03:20
I got the 3 as the active die on this move, but never used it:
http://www.pocket-monkey.com/game.jsp?instance=264363&histTurnNo=42

   
 Re: Programmng for selecting default die selection Message #2747    Replies: 0
posted by coldy (Jayden) on 06/19 at 10:27
it would have been against the rules to use a 3 on that move so maybe it is a bug
   
 Re: Programmng for selecting default die selection Message #2749    Replies: 1
posted by T.J. (T.J. Crowder) on 06/19 at 12:52
The game selects the left-hand die by default unless you can't use it, and then it automatically selects the other one. If you click on the die, though, it does highlight it -- you just can't use it anywhere in a situation like that. (There are only so many checks it does in the code.)

It sounds like you're saying the 3 came up selected in the first place, though. I know Backgammon did at one point select the other die automatically if you couldn't move the first one. Maybe one of the recent changes broke that bit of the code. I'll keep an eye out.
--
T.J. Crowder
First Primate
Pocket-Monkey.com

     
 Re: Programmng for selecting default die selection Message #2757    Replies: 1
posted by frolind (Frode L) on 06/19 at 23:10
I'll add that I'm using the non-java version.
       
 Re: Programmng for selecting default die selection Message #2763    Replies: 0
posted by T.J. (T.J. Crowder) on 06/20 at 07:04
Thanks, that's useful to know.

-- T.J. :-)
 
 Re: Programmng for selecting default die selection Message #2748    Replies: 2
posted by T.J. (T.J. Crowder) on 06/19 at 12:49
Hey Jim,

I don't think I follow your question...?

The die you move first is up to you. By default the game selects the left-hand die (unless you can't move it), but you can change it by clicking the other die to move it first. But I don't think that was what you were asking. ;-)
--
T.J. Crowder
First Primate
Pocket-Monkey.com

   
 Re: Programmng for selecting default die selection Message #2802    Replies: 0
posted by tjrm (Jim) on 06/24 at 14:44
TJ,

I was being facetious. Apparently without success. It appears that my preferred first move is often the right-hand die. ;-)
   
 Re: Programmng for selecting default die selection Message #3108    Replies: 0
posted by RedBaron (Will C. Crowder) on 07/21 at 19:02
I was laughing at Jim's posting, too...funny! :-) (Sometimes I find myself going out of my way to make my moves in a certain order when there's no good reason to do it, so I can sympathize...)

But Jim's posting did bring up one suggestion I had a while back and never posted: If you click on a checker which cannot move with the currently selected die but which CAN move with the other die, then the game should just automatically use that die for the move. That would save some die clicking...just a tiny optimization.

Will

Forum software by Crowder Software
Pocket-Monkey and the Pocket-Monkey logo are trademarks of T.J. Crowder and Jock Murphy. All other trademarks are the property of their respective owners.