How giuliasme/boardgame_engine works
This is an early, terminal-based dots-and-boxes game, not yet the configurable multi-game engine described as the project’s goal. The current workflow creates a board and one player, displays the board, reads a wall selection, and asks the board to update it until the user exits. Board logic handles wall placement and awards points when a cell is completed. The README lists turn control, win/draw conditions, and JSON-driven games as planned capabilities; the supplied source does not implement them. Evidence is limited to the README and the excerpts shown.
Main entry points: Main.java Game startup loop · UiManager.java Move input and display · Board.java Board and wall logic · Player.java Player and points
Components 7
Entry and terminal UI
- Game startup loop
src/Main.java - Move input and display
src/UiManager.java
Game state and rules
- Board and wall logic
src/Board.java - Player and points
src/Player.java - Game manager
src/GameManager.java - Rules placeholder
src/Rules.java
Other components
- Terminal user
Connections 7
- Terminal user → Game startup loop: starts game
README.md - Game startup loop → Move input and display: calls menu
src/Main.java - Game startup loop → Board and wall logic: creates board
src/Main.java - Game startup loop → Player and points: creates player
src/Main.java - Move input and display → Terminal user: reads input
src/UiManager.java - Move input and display → Board and wall logic: displays and updates
src/UiManager.java - Board and wall logic → Player and points: awards points
src/Board.java