MSTC-DA-IICT / Hacktoberfest24-TicTacToe-GUI-Python-Basics

This repository is focused on Python Basics with a project to build a GUI-based Tic-Tac-Toe game. It promotes open-source contributions for Hacktoberfest 2024, encouraging developers to collaborate and enhance the project.
0 stars 10 forks source link

Introduce a tournament feature in game #11

Open desairudra opened 1 week ago

desairudra commented 1 week ago

Tournament Format:

Each match between two players will consist of 5 rounds of Tic-Tac-Toe. The player who wins the majority (best of 5) will be awarded 5 points. In case of a draw in the 5 rounds, the player who won the first round will be declared the match winner and awarded 5 points. If all 5 rounds end in a draw, a new set of 5 rounds will be played between the same players until a clear winner emerges. Round-Robin Stage:

Every player will play against every other player exactly once in a round-robin format. The standings will be based on the number of points each player accumulates. After each match, the points table will be updated and displayed in the UI. The top 4 players based on points will advance to the knockout stage (semi-finals). Knockout Stage:

The knockout stage will consist of semi-finals and finals. Semi-final matchups: 1st position vs 2nd position 3rd position vs 4th position The winners of the semi-finals will advance to the final to determine the tournament champion. Tie-Breaking Rules:

If two or more players have the same number of points after the round-robin stage, the tournament will select any player from the tied positions to advance to the semi-finals. No additional matches or tie-breaking rounds will be required for the selection process. User Interface:

Use PyQt5 to manage and display the tournament progress. The UI should show: Current matchups with live updates of the best-of-5 series. The points table and updated standings after every match. Clearly highlight the semi-finalists and finalists. Display the tournament winner after the finals. The player names should be customizable for easy identification during the tournament. Game Flow:

Automatically generate the round-robin match schedule. After each best-of-5 match, show the winner and update the points table in the UI. After the round-robin stage, the top 4 players will qualify for the semi-finals, with matchups automatically generated based on the standings. Semi-Final and Final Matches:

The semi-finals and finals will follow the same best-of-5 rounds format as the round-robin stage. The winners of the semi-final matches will proceed to the final match to determine the overall champion. Reset and Restart Functionality:

Provide the option to reset the tournament and start over with the same or different players. Ensure that the UI reflects the reset state properly, clearing points, match history, and standings.

akshat-11004 commented 1 week ago

I want to take this issue.

desairudra commented 1 week ago

@akshat-11004 this issue has been assigned to you.

akshat-11004 commented 1 week ago

@desairudra The Number of players is not specified here. So initially how many players I should take.

desairudra commented 1 week ago

User defined.Take input from user.

Rockyoudead8 commented 2 days ago

hey @akshat-11004 can you assign this to me ?