Skip to content

Track book index per game#10

Closed
ripred wants to merge 2 commits into
mainfrom
codex/add-book-index-to-game-t-and-refactor-check-book
Closed

Track book index per game#10
ripred wants to merge 2 commits into
mainfrom
codex/add-book-index-to-game-t-and-refactor-check-book

Conversation

@ripred
Copy link
Copy Markdown
Owner

@ripred ripred commented May 17, 2025

Summary

  • add book_index to the game state
  • use book_index in check_book
  • reset book_index in game_t::init
  • add Arduino stub headers so code compiles in a non-Arduino environment

Testing

  • g++ -I. -c board.cpp
  • g++ -I. -c test/unit_test_001.cpp
  • g++ -I. -c game.cpp
  • g++ -I. -c chessutil.cpp (warns: second parameter of 'va_start' not last named argument)

@ripred ripred closed this May 23, 2025
@ripred ripred deleted the codex/add-book-index-to-game-t-and-refactor-check-book branch May 23, 2025 22:39
@ripred ripred restored the codex/add-book-index-to-game-t-and-refactor-check-book branch May 23, 2025 22:39
@ripred ripred deleted the codex/add-book-index-to-game-t-and-refactor-check-book branch May 23, 2025 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant