Skip to content

Commit

Permalink
Add table of contents and change tags
Browse files Browse the repository at this point in the history
  • Loading branch information
ZynoXelek committed Mar 27, 2024
1 parent 018e935 commit 4c27483
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion src/content/posts/multiplayer_online_game.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,30 @@ title: "Trying to make an online multiplayer minigame"
summary: "A simple article to explain how we made a multiplayer online game using python and what we learnt while doing it, from the very basic use of sockets, to the different communication protocols and a bit of optimization."
date: 2024-03-11T16:39:09-02:00
lastUpdate: 2023-03-26T20:18:09-02:00
tags: ["iscsc","python","game","multiplayer"]
tags: ["iscsc","python","network"]
author: Zyno
draft: false
---

- [A little introduction](#a-little-introduction)
- [First Step : Successfully sending a simple message to another computer in our LAN](#first-step--successfully-sending-a-simple-message-to-another-computer-in-our-lan)
- [The server side will look like this :](#the-server-side-will-look-like-this-)
- [On the client side, it will be this :](#on-the-client-side-it-will-be-this-)
- [Simple online implementation to play a basic game](#simple-online-implementation-to-play-a-basic-game)
- [First improvement of the connection](#first-improvement-of-the-connection)
- [Client-side improvements](#client-side-improvements)
- [Server-side improvements](#server-side-improvements)
- [But, how to reduce ping?](#but-how-to-reduce-ping)
- [The road to UDP connection](#the-road-to-udp-connection)
- [What is UDP and why would we want to use that?](#what-is-udp-and-why-would-we-want-to-use-that)
- [Using UDP sockets instead of TCP sockets :](#using-udp-sockets-instead-of-tcp-sockets-)
- [Now : A quite stable game to play](#now--a-quite-stable-game-to-play)
- [The UDP client-side now looks like this :](#the-udp-client-side-now-looks-like-this-)
- [On the server-side, the code for UDP is now designed like this :](#on-the-server-side-the-code-for-udp-is-now-designed-like-this-)
- [Future Improvements to do...](#future-improvements-to-do)

## A little introduction

This project, called Haunted Chronicles, started when we wanted to introduce ourselves to online multiplayer games and the code behind it.

Naturally, we decided to code using python because it was simpler to begin with - everyone knew how to code in Python - and because we just wanted to discover the notion, not to code an AAA game.
Expand Down

0 comments on commit 4c27483

Please sign in to comment.