Commit Graph
7 Commits
Author SHA1 Message Date
mattlamb227@gmail.com 946196f2eb Initial commit 2026-08-14 13:59:56 -04:00
mattlamb227@gmail.com 37cc621020 feat: migrate web UI to Cython-optimized game engine
- Add cpdef wrappers (get_placed_squares, get_placed_corners) for Python
  accessibility of previously cdef-only methods
- Add get_standard_pieces() to expose Cython standard piece set
- Add is_game_over(), get_scores(), get_winners() to Cython BlokusGame
- Fix valid_move() player_occupied lookup (was using player_idx instead
  of player_idx+1, causing bots to fail after first move)
- Update session.py, app.py, bots.py to use Cython with pure Python fallback
- Fix board.grid.tolist() to np.array(grid).tolist() for memoryview compat
- Add Cython build artifacts to .gitignore
2026-08-14 00:17:31 -04:00
mattlamb227@gmail.com c14a98fbca updated to use optimized cyython build 2026-08-13 23:09:08 -04:00
mattlamb227@gmail.com 3657a820ba Update cache and egg-info files 2026-08-13 00:17:27 -04:00
mattlamb227@gmail.com 3b2ffa28d4 Optimize: Cache player occupied squares for faster corner validation 2026-08-12 23:39:52 -04:00
mattlamb227@gmail.com 123513e32f fix: remove unreachable dead code in BlokusGame.valid_move (game.py:220-260) 2026-08-09 18:18:46 -04:00
mattlamb227@gmail.com 4eb34bfeeb initial commit 2026-08-05 16:42:57 -04:00