[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pbmserv-dev] queueing moves?



Looong ago, some people proposed this idea. It was
nitpicked and kicked around. Then I came up with a
brilliant idea. Unfortunately, no one programmed it.

Here it is. It can be made to work for what you said,
but it's even more.

I called it an ifmove (which would be used in place of
move). You put a string of moves that you think will
happen - both yours and your expected opponent's moves
- and if your opponent's move(s) match up, it
automatically executes yours. 

As far as the situation where you're going to bid/move
something no matter what, there could be a wildcard
for "any opponent move". I don't think * is being
used.

The obligatory example:

   8  - - o - o - - - o - - - - o - o x - -   8
   7  - - - o - - o o - o - x o - - o x - -   7
   6  - - x o x - x x o - - x o - - o x - -   6
   5  - - x x x - - - o - - x o o - o x - -   5
   4  - o o o o x - x x - - x o x - - o x -   4
   3  - - - - o x - - - x - - x o o - o x -   3
   2  - - - - o x - - - - - - x o - - o x -   2
   1  - - - - - - - - - - - - - - - o x x -   1

      A B C D E F G H J K L M N O P Q R S T 

Here's the bottom half of a Go board. If O plays F1,
then X will play G1. O will then play E1. X will then
play either G2 or H2. It's so standard that it all
happens in about two seconds in a live game.

So, if I'm playing O, my ifmove might look like this:

Go ifmove board user passwd F1~G1~E1~G2

I used the tilde to separate the moves. It doesn't
matter which. So the server makes my move F1. If my
opponent responds at G1, it goes to my next move E1.
If my opponent responds elsewhere, it cancels the
ifmove and brings up my turn.

In conclusion, I've thought this through. It's fairly
easy to learn, and can save a bunch of time. I expect
it might be a bitch to program, especially if two
opponents are using ifmove simultaneously. But it is
the best solution. Trust me.

Eric
swift

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com