Nicolas Cellier uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-nice.229.mcz==================== Summary ====================
Name: EToys-nice.229
Author: nice
Time: 1 September 2016, 12:51:44.645852 am
UUID: 2155201b-4578-424f-a873-b970480de230
Ancestors: EToys-tfel.228, EToys-nice.214
Merge EToys-nice.214 for 64bits image compatibility
=============== Diff against EToys-tfel.228 ===============
Item was changed:
----- Method: ChessBoard class>>initializeHashKeys (in category 'class initialization') -----
initializeHashKeys
"ChessGame initialize"
| random |
HashKeys := Array new: 12.
1 to: HashKeys size do:[:i| HashKeys at: i put: (WordArray new: 64)].
HashLocks := Array new: 12.
1 to: HashLocks size do:[:i| HashLocks at: i put: (WordArray new: 64)].
random := Random seed: 23648646.
1 to: 12 do:[:i|
1 to: 64 do:[:j|
+ (HashKeys at: i) at: j put: (random nextInt: 16r3FFFFFFF "SmallInteger maxVal on 32bits VM")- 1.
+ (HashLocks at: i) at: j put: (random nextInt: 16r3FFFFFFF "SmallInteger maxVal on 32bits VM") - 1.
- (HashKeys at: i) at: j put: (random nextInt: SmallInteger maxVal) - 1.
- (HashLocks at: i) at: j put: (random nextInt: SmallInteger maxVal) - 1.
].
].
!