7xGit / 7xGit/7xGit_Task3

Game Ends Early Due to Incorrect Turn Count

Aperta Adatta ai principianti
#1 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug enhancement
Lingua principale
C++
Stelle
1
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Title:
Game Ends Prematurely

Description:
The game ends too early due to an issue with how the turn counter is managed. Even when there are still empty spaces, the game may end as a draw or skip some rounds.

Steps to Reproduce:

Play a game for a few rounds.
Observe that the game may end before all 9 turns are used, or it may terminate early.
Expected Behavior:
The game should continue until all 9 turns have been played or a player wins.

Suggested Fix:
Ensure that the turn counter is correctly managed and all 9 moves are allowed unless a player wins earlier.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Look for the turn counter variable and the game loop logic in the main game file. Check the condition that determines when the game ends—it should only stop after 9 turns or when a win is detected. Run the game and simulate a few rounds to see if it ends early, then adjust the turn management.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
cpp
Ambito
game-dev
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
70/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.