Jump to content

Talk:Generate Chess960 starting position: Difference between revisions

→‎random starting position: noted the un-randomness of rook placement for the REXX code.
m (→‎random starting position: added comments regarding the obvious bias of rook placement random placement.)
(→‎random starting position: noted the un-randomness of rook placement for the REXX code.)
Line 54:
file 8=409359 ============================================================
</pre>
 
(Follow-up on the random placement of the two rooks.) &nbsp; I re-worked the REXX code and it now has a much more randomness in the (proper) placement of the two rooks. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 15:19, 12 May 2014 (UTC)
<pre>
(1st trial, new code)
 
file 1=269306 ===========================================================
file 2=246706 ======================================================
file 3=241984 =====================================================
file 4=240403 =====================================================
file 5=242776 =====================================================
file 6=242128 =====================================================
file 7=245850 ======================================================
file 8=270847 ============================================================
 
(2nd trial, new code)
 
file 1=269306 ===========================================================
file 2=246706 ======================================================
file 3=241984 =====================================================
file 4=240403 =====================================================
file 5=242776 =====================================================
file 6=242128 =====================================================
file 7=245850 ======================================================
file 8=270847 ============================================================
</pre>
 
Many thanks to (user) Steenslag for pointing out the un-randomness of the rook placement in the REXX code.
 
I've updated the REXX programs.-- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 15:19, 12 May 2014 (UTC)
 
-----
Cookies help us deliver our services. By using our services, you agree to our use of cookies.