Code Monkey home page Code Monkey logo

thoguialthe's Introduction

ThoGuiAlThe

Context

This project was made for the course of Windows Online Programming and Multi-Threading. The goal was to create a basic Tic Tac Toe game with a GUI and a server that can handle multiple games at the same time.

Features

  • Basic TicTacToe game using the SFML and C++
    • State(scene) manager to easily create multiple views (i.e : Login, Home, Wait, Game)
    • Profile management
  • Server sending and receiving messages from multiple clients
    • 'send' and 'receive' procedure via Windows window events
    • Session management to manage multiple games
    • Send all sessions updates to a Web server
  • Multi-threading paradigms and functionalities
    • Web Server and Server network manager both running on independents threads
    • Client network manager running on independent thread

How to use

  1. Download the project in the GitHub release section.
  2. Run the local server by executing the server.exe file.
  3. Run the client by executing the client.exe file.
  4. Enjoy the game!

NOTE : You can run multiple clients at the same time.

How to play

Make sure the server is running. :)

Connexion

When you start client.exe, you will need to connect to the server.


start

Home

Once connected, you can play or customize your profile.


Menu Profile
menu profile

Start A Game

When you start a game, you will need to either create or join a session.


Create Join
create join

Game

Once you are in a session, you can play the game. The game will automatically start when there is 2 players in the session. When the game is over, you you will be able to restart the game or go back to the home screen.


In-Game Game End
create join

thoguialthe's People

Contributors

sinozer avatar guilblack avatar generaltoto avatar pandouiille avatar

Stargazers

 avatar  avatar

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.