Commit 5a4a717
committed
fix some index out of bounds by requiring initial disks in file board source
This causes some UB in the end solver and the game is not ready for this case for multiple reasons - lot of routines assume only 60 moves or that initial disks are not empty.1 parent c779fba commit 5a4a717
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
263 | 267 | | |
264 | 268 | | |
265 | 269 | | |
| |||
0 commit comments