;*********************************************************************************************** ;* RockChip15 v1.1 Feb 2021 bbail * ;* * ;* Chicklet 15 puzzle for Rockbox CHIP8 emulator. * ;* It should work on most CHIP8 emulators. * ;* On sansa e200 and sansa fuze players with scroll wheels, chip8.c needs to be modified to * ;* assign the 2 and 8 keys to the up and down buttons instead of the cw and ccw scroll wheel.* ;* * ;* Rewrite of PUZZLE that uses cursor control to select the move instead of a 4x4 keyboard. * ;* Selected chicklet will move to hole if a legal move. * ;* * ;* CHIP8 keys 2 4 6 8 for cursor up left right down and key 5 for setup. * ;* * ;* Added 3 digit move counter and 100 minute timer. * ;* * ;* Added flash on puzzle completion. * ;* * ;* Added setup control to reset the counter and timer, and options for selecting a few defined * ;* board starts or a new random board. -------- * ;* ^ | * ;* ^ | * ;* select | * ;* predefined <- * ;* board * ;* ^ * ;* counter <------> timer <------> board * ;* v v v * ;* reset reset generate * ;* random * ;* board * ;* * ;* * ;* * ;* v1.1 added support for the other half of the initial conditions by also testing for FE * ;* at puzzle completion. * ;***********************************************************************************************