| View previous topic :: View next topic |
| Author |
Message |
Vincent Diepeveen
Joined: 09 Mar 2006 Posts: 1738 Location: The Netherlands
|
Post subject: Re: Random value compute or table hard coded ? Posted: Wed Jul 11, 2012 7:40 pm |
|
|
| zongli wrote: |
| Well, if castling rights are stored as 4 bits, you can just XOR it out, update it, and XOR it back in. Hence 16 random numbers. |
that requires code special for white and for black.
I dislike that.
Personally i prefer generic code that works for both sides, wherever it is possible... |
|
| Back to top |
|
 |
|
| Subject |
Author |
Date/Time |
Random value compute or table hard coded ? |
Yves Catineau |
Tue Jul 10, 2012 7:41 pm |
Re: Random value compute or table hard coded ? |
Ronald de Man |
Tue Jul 10, 2012 7:54 pm |
Re: Random value compute or table hard coded ? |
Sven Schüle |
Tue Jul 10, 2012 9:02 pm |
Re: Random value compute or table hard coded ? |
Yves Catineau |
Wed Jul 11, 2012 6:24 pm |
Re: Random value compute or table hard coded ? |
Zong Li |
Wed Jul 11, 2012 6:27 pm |
Re: Random value compute or table hard coded ? |
Yves Catineau |
Wed Jul 11, 2012 6:49 pm |
Re: Random value compute or table hard coded ? |
Rémi Coulom |
Wed Jul 11, 2012 6:34 pm |
Re: Random value compute or table hard coded ? |
Yves Catineau |
Wed Jul 11, 2012 6:50 pm |
Re: Random value compute or table hard coded ? |
Zong Li |
Wed Jul 11, 2012 6:58 pm |
Re: Random value compute or table hard coded ? |
H.G.Muller |
Wed Jul 11, 2012 7:15 pm |
Re: Random value compute or table hard coded ? |
Yves Catineau |
Wed Jul 11, 2012 7:26 pm |
Re: Random value compute or table hard coded ? |
Vincent Diepeveen |
Wed Jul 11, 2012 7:28 pm |
Re: Random value compute or table hard coded ? |
Yves Catineau |
Wed Jul 11, 2012 7:31 pm |
Re: Random value compute or table hard coded ? |
Vincent Diepeveen |
Wed Jul 11, 2012 7:32 pm |
Re: Random value compute or table hard coded ? |
Yves Catineau |
Wed Jul 11, 2012 7:34 pm |
Re: Random value compute or table hard coded ? |
Zong Li |
Wed Jul 11, 2012 7:36 pm |
Re: Random value compute or table hard coded ? |
Vincent Diepeveen |
Wed Jul 11, 2012 7:40 pm |
Re: Random value compute or table hard coded ? |
Zong Li |
Wed Jul 11, 2012 7:44 pm |
Re: Random value compute or table hard coded ? |
Vincent Diepeveen |
Wed Jul 11, 2012 7:56 pm |
Re: Random value compute or table hard coded ? |
Ronald de Man |
Wed Jul 11, 2012 7:46 pm |
Re: Random value compute or table hard coded ? |
Vincent Diepeveen |
Wed Jul 11, 2012 7:52 pm |
Re: Random value compute or table hard coded ? |
Ronald de Man |
Wed Jul 11, 2012 8:32 pm |
Re: Random value compute or table hard coded ? |
H.G.Muller |
Wed Jul 11, 2012 9:35 pm |
Re: Random value compute or table hard coded ? |
Zong Li |
Wed Jul 11, 2012 7:26 pm |
Re: Random value compute or table hard coded ? |
Vincent Diepeveen |
Wed Jul 11, 2012 7:30 pm |
Re: Random value compute or table hard coded ? |
Daniel Shawul |
Wed Jul 11, 2012 7:37 pm |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|