How adrianpait/ajedrez_info works
Project type and purpose
• This is a native C++ desktop application implementing a chess game (“ajedrez”).
• It provides a game engine (rules, pieces, board) plus a simple graphical interface (using ETSIDI.h and image assets in the “imagenes” folder).
File structure
• Top‐level files:
• Ajedrez.cpp: the entry‐point (main).
• CoordinadorAjedrez.*: central controller orchestrating game flow.
• selector.*: handles user input (piece selection, click events).
• ETSIDI.h: graphics helper library.
• imagenes/: board and piece image assets.
• Domain model (game state):
• Tablero (board), Casilla (square), Vector (position/offset).
• Pieza base class + derived classes (Alfil, Peon, Rey, Torre, Caballo, Dama, Canciller, Arzobispo).
• Utility: Vector.*, data‐structure for 2D coordinates.
README
• Minimal; confirms the project is simply “ajedrez_info.” No extra architecture docs provided.
Detail level
• Don’t overfragment; focus on the play loop:
initialization → event handling → state update → render.