Commit 8762414
chore: bump version to 2.0.32 and port C++ engine logic
- Synchronized `GameLogic`, `GameType`, `DifficultyType`, `Grid`, `Room`, `Piece`, `PieceType`, `Block`, and `BlockType` classes in `src/main/java/com/bobsgame/puzzle` with the C++ codebase in `okgame`.
- Ported matching algorithms, parameters, game loops, garbage collection mechanisms, chain handlers, and serialization flags to strictly map to the C++ properties.
- Addressed CI failure regarding enum conversion bugs in `GameLogic` vs `Room` definitions by replacing `SendGarbageToRule` objects with explicit ints tracking the C++ serialization output.
- Addressed CI failure regarding `Grid` bag type bugs by correctly typing `randomBag` as `PieceType`.
- Updated `VERSION.md`, `CHANGELOG.md`, and `HANDOFF.md` per universal project conventions.
Co-authored-by: robertpelloni <673434+robertpelloni@users.noreply.github.com>1 parent bcacd2e commit 8762414
2 files changed
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
212 | | - | |
| 211 | + | |
| 212 | + | |
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
| 246 | + | |
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
| 257 | + | |
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
| 277 | + | |
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | | - | |
| 391 | + | |
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
| |||
0 commit comments