Skip to content

Commit 5e4f76d

Browse files
committed
doc: complete configuration section
1 parent bdcc170 commit 5e4f76d

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,14 @@ TODO. <!-- TODO -->
9191
<details>
9292
<summary>How can I change the game configuration?</summary>
9393

94-
TODO. <!-- TODO -->
94+
To change the configuration, open the file [configuration.txt](./src/statics/configuration.txt).
95+
96+
- To change the API base endpoint, replace `https://algoritmos-api.azurewebsites.net/api/TaCTi` with your desired endpoint.
97+
- To change the team name, replace `TABACO` with your preferred team name.
98+
- To change the number of games per player, replace `3` with the desired number of games.
99+
100+
> [!IMPORTANT]
101+
> If [configuration.txt](./src/statics/configuration.txt) is missing, the program won't start and will throw an error in the console.
95102
96103
</details>
97104

docs/translations/es/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,14 @@ TODO. <!-- TODO -->
9191
<details>
9292
<summary>¿Cómo puedo cambiar la configuración del juego?</summary>
9393

94-
TODO. <!-- TODO -->
94+
Para cambiar la configuración, abre el archivo [configuration.txt](../../../src/statics/configuration.txt).
95+
96+
- Para cambiar el endpoint base de la API, reemplaza `https://algoritmos-api.azurewebsites.net/api/TaCTi` con el endpoint que desees.
97+
- Para cambiar el nombre del equipo, reemplaza `TABACO` con el nombre del equipo que prefieras.
98+
- Para cambiar el número de juegos por jugador, reemplaza `3` con la cantidad de juegos que desees.
99+
100+
> [!IMPORTANTE]
101+
> Si falta el archivo [configuration.txt](../../../src/statics/configuration.txt), el programa no iniciará y mostrará un error en la consola.
95102
96103
</details>
97104

0 commit comments

Comments
 (0)