Code Monkey home page Code Monkey logo

matchmaking-system-for-games's Introduction

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.

matchmaking-system-for-games's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.