How gabrielmartinezcorrea06-pixel/parchis works
Parchís is a console-based board game. Partida.cs runs the menu, registers players, manages turns and prompts for moves; Tablero.cs applies movement and special rules, while the model types represent players, pieces and board spaces. The excerpts show the main gameplay relationships and board-cell operations. Other rule branches may exist in unsampled portions of Tablero.cs; no separate persistence or external service is evident.
Main entry points: Partida.cs Game loop and console UI · Tablero.cs Board and movement rules · Ficha.cs Piece state · Jugador.cs Player state
Components 9
Game flow
- Game loop and console UI
Partida.cs - Dice roll
Dado.cs
Board rules
- Board and movement rules
Tablero.cs - Board spaces
Casilla.cs
Game model
- Player state
Jugador.cs - Piece state
Ficha.cs - Piece statuses
EstadoFicha.cs - Space types
TipoCasilla.cs
Other components
- Player
Connections 13
- Player → Game loop and console UI: chooses and moves
Partida.cs - Game loop and console UI → Player state: creates players
Partida.cs - Game loop and console UI → Board and movement rules: creates and moves
Partida.cs - Game loop and console UI → Dice roll: rolls
Partida.cs - Game loop and console UI → Player state: reads turn state
Partida.cs - Game loop and console UI → Piece statuses: checks status
Partida.cs - Board and movement rules → Board spaces: reads and updates
Tablero.cs - Board and movement rules → Piece state: updates movement
Tablero.cs - Board and movement rules → Piece statuses: checks and sets
Tablero.cs - Board and movement rules → Space types: checks type
Tablero.cs - Board spaces → Piece state: stores and inspects
Casilla.cs - Player state → Piece state: creates four
Jugador.cs - Piece state → Piece statuses: stores status
Ficha.cs