174 |
|
public synchronized void actionPerformed(ActionEvent e) { |
175 |
|
toggleDemoMode(); |
176 |
|
updateStatus(); |
177 |
– |
|
177 |
|
}}); |
178 |
|
|
179 |
|
undoButton.addActionListener(new ActionListener() { |
922 |
|
} |
923 |
|
|
924 |
|
/** |
925 |
< |
* Implements a classic all-possible-move search algorith using |
925 |
> |
* Implements a classic all-possible-move search algorithm using |
926 |
|
* ForkJoinTasks. The move finder is not all that smart. Among |
927 |
|
* other possible improvements, it could keep a cache of explored |
928 |
|
* moves and avoid repeating them. This would likely speed it up |