https://github.com/abhay-kanwasi/matchmaking-system-for-games
In this project we are trying to make a matchmaking system for a game of guessing numbers. Assuming that player wants to play with maximum number in mind with certain number of tries.
https://github.com/abhay-kanwasi/matchmaking-system-for-games
pythnongame python pythonsocket
Last synced: 4 months ago
JSON representation
In this project we are trying to make a matchmaking system for a game of guessing numbers. Assuming that player wants to play with maximum number in mind with certain number of tries.
- Host: GitHub
- URL: https://github.com/abhay-kanwasi/matchmaking-system-for-games
- Owner: Abhay-Kanwasi
- Created: 2023-02-08T05:26:11.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-08T17:23:48.000Z (over 2 years ago)
- Last Synced: 2025-01-12T22:07:47.981Z (5 months ago)
- Topics: pythnongame, python, pythonsocket
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Matchmaking-System-for-Games
> In multiplayer games, matchmaking is the process of connecting players together for online play sessions.
In this project we are trying to make a matchmaking system for a game of guessing numbers.
Assuming that player wants to play with maximum number in mind with certain number of tries.
Some people wants to be guesser where some wants to be decider.### Required Modules
1. `socket` : Create the client and connect to local host.
2. `threading` : Create a new thread to match between clients (guesser/decider).### Components of matchmaking
* tries : In how many tries you want to guess it.
* maximum number = What is the limit of number to be guessed.
* role : You can be a guesser or a decider.
* guesser : Guesser will guess the number which already inputted by the decider.
* decider : It wil decide what number guesser must guess.### Working Methodology
> Firstly we ask user about how many tries they want then what is the maximum number then what they want to be (guesser/decider).
In matchmaking the `match` will only appear when two players have differnt roles one will be the guesser and one will be the decider.
For working with this methodology we created two files:
1. `game_server.py`
2. `game_client.py`This matchmaking system is for number guessing game we can have many players in this game and then the matchmaking begins.