home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!sdd.hp.com!swrinde!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!network.ucsd.edu!news.service.uci.edu!beckman.com!dn66!a_rubin
- From: a_rubin@dsg4.dse.beckman.com (Arthur Rubin)
- Newsgroups: sci.math
- Subject: Re: Chess Problem
- Message-ID: <a_rubin.716570815@dn66>
- Date: 15 Sep 92 15:26:55 GMT
- References: <BuFpLp.9nI@ecf.toronto.edu> <1992Sep12.174545.23214@ima.isc.com>
- <1992Sep13.003856.13264@infodev.cam.ac.uk> <1992Sep15.032439.19637@ll.mit.edu>
- Lines: 47
- Nntp-Posting-Host: dn66.dse.beckman.com
-
- In <1992Sep15.032439.19637@ll.mit.edu> shoham@ll.mit.edu (Daniel Shoham) writes:
-
- >>In article <1992Sep12.174545.23214@ima.isc.com>, karl@ima.isc.com (Karl Heuer) writes:
- >>
- >>> Here's a more advanced chessboard question.
- >>>
- >>> A white king, a black king, and a white pawn are randomly placed on an NxN
- >>> chessboard. (Independent, uniform distributions.) What is the limit, as
- >>> N -> infinity, of the probability that the position is a win for white?
- >>>
- >>> (Note that it doesn't matter what you do about collisions or illegal
- >>> positions, since they occur with probability zero in the limit.)
- >>
-
- >We will use an x-y system to describe the position of each square. The last
- >(queening) row is defined as y=0, whereas the first row is y=1. x, is similarly
- >ranged between 0 and 1.
- >(px,py) = pawn's starting position
- >(bx,by) = black (king) starting position
- >(wx,wy) = white (king) starting position
-
- >px, py, bx, by, wx, wy are iidrv with uniform (0,1) distribution.
-
- >Strategy 1 works if:
- >py < by or py < |px-bx|
-
- >Strategy 2 works if:
- >d(p,w) < d(p,b) where d(i,j)=max(|ix-jx| , |iy-jy|) (i.e. chess-distance)
-
- >We could now use brute force to integrate over all cases, or (if your religion
- >permits it) do a Monte Carlo simulation.
-
- >As my religion does not forbid me from doing a Monte Carlo after I have found
- >an analytic algorithm (that I am too lazy to integrate), I did it:
-
- >P(Draw) =~ 12.5% (40,000 runs, i.e. +/- .5%)
-
- Funny, I get 43/192 for the analytic answer, which is 22.4%.
-
-
- >Dan Shoham
- >shoham@ll.mit.edu
- --
- Arthur L. Rubin: a_rubin@dsg4.dse.beckman.com (work) Beckman Instruments/Brea
- 216-5888@mcimail.com 70707.453@compuserve.com arthur@pnet01.cts.com (personal)
- My opinions are my own, and do not represent those of my employer.
- My interaction with our news system is unstable; please mail anything important.
-