Hyppää sisältöön
    • Suomeksi
    • På svenska
    • In English
  • Suomi
  • Svenska
  • English
  • Kirjaudu
Hakuohjeet
JavaScript is disabled for your browser. Some features of this site may not work without it.
Näytä viite 
  •   Ammattikorkeakoulut
  • Turun ammattikorkeakoulu
  • Opinnäytetyöt (Avoin kokoelma)
  • Näytä viite
  •   Ammattikorkeakoulut
  • Turun ammattikorkeakoulu
  • Opinnäytetyöt (Avoin kokoelma)
  • Näytä viite

Implementing a Code-Based Matchmaking Lobby with Godot and Flask

Jaakkola, Kasperi (2025)

 
Avaa tiedosto
Jaakkola_Kasperi.pdf (1.026Mt)
Lataukset: 


Jaakkola, Kasperi
2025
Näytä kaikki kuvailutiedot
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2025121134959
Tiivistelmä
This thesis explored the design and implementation of a lightweight code-based matchmaking lobby system using the Godot game engine and the Flask web framework. The objective was to create a simple, reusable prototype that allows players to host and join multiplayer game sessions without relying on centralized infrastructure or manually entering Internet Protocol (IP) addresses. The work demonstrated how lightweight peer-to-peer networking could be achieved with minimal setup for small-scale or hobbyist games.
The system consisted of a Godot client handling the user interface and multiplayer logic, and a Flask server mapping join codes to host addresses. Universal Plug and Play (UPnP) was also integrated to automate port forwarding and simplify hosting over external networks. A basic game test scene was developed to verify real-time synchronization between connected clients using Godot’s high-level multiplayer features.
The resulting prototype successfully demonstrated a functional and extensible method for establishing peer-to-peer multiplayer connections through join codes. The system provides a foundation for further development, allowing developers to customize and expand it to their own projects.
 
Tässä opinnäytetyössä tutkittiin kevyen, koodipohjaisen aulajärjestelmän suunnittelua ja toteutusta käyttäen Godot-pelimoottoria ja Flask-verkkokehystä. Tavoitteena oli kehittää yksinkertainen ja uudelleenkäytettävä prototyyppi, jonka avulla pelaajat voivat isännöidä ja liittyä moninpelisessioihin ilman keskitettyä palveluinfrastruktuuria tai Internet-protokollaosoitteiden (IP-osoitteiden) manuaalista syöttämistä. Työ osoitti, kuinka kevytrakenteinen vertaisverkko voitiin toteuttaa pienimuotoisiin moninpeleihin yksinkertaisella ratkaisulla.
Järjestelmä koostui käyttöliittymän ja moninpelilogiikan käsittelevästä Godot-asiakasohjelmasta sekä liittymiskoodien ja isäntäosoitteiden kääntävästä Flask-palvelimesta. Universal Plug and Play (UPnP) tekniikka integroitiin automaattiseen porttien edelleenohjaukseen ja isännöinnin yksinkertaistamiseen ulkoisissa verkoissa. Yksinkertainen testitaso kehitettiin todentamaan reaaliaikainen synkronointi yhdistettyjen pelaajien välillä käyttämällä Godotin sisäänrakennettuja moninpelitoimintoja.
Tuloksena syntynyt prototyyppi osoitti toimivan ja helposti laajennettavan menetelmän vertaisverkkomoninpelin muodostamiseen liittymiskoodien avulla. Järjestelmä toimii perustana jatkokehitykselle ja mahdollistaa sen mukauttamisen eri projekteihin.
 
Kokoelmat
  • Opinnäytetyöt (Avoin kokoelma)

Samankaltainen aineisto

Näytetään aineisto, joilla on samankaltaisia nimekkeitä, tekijöitä tai asiasanoja.

  • Game Development in Unity : Game Production, Game Mechanics and the Effects of Gaming 

    Dansie, Jason (Metropolia Ammattikorkeakoulu, 2013)
    The goal of this thesis is to examine how video games are designed and to see how differ-ent game mechanics work and how to use them in the development of a game, as well as examine what are both the positive and negative ...
  • Location-based mobile games : creating a location-based game with the Unity game engine 

    Korhola, Samuli (2020)
    The subject of this thesis is location-based mobile games. Location-based mobile games are a way for mobile games to combine reality with virtual worlds and thus re-define the gaming experience. This thesis presents ...
  • ”WE WANT A 3D GAME” : Customer expectations for the games company when buying a serious game 

    Sorppanen, Mikko (Oulun seudun ammattikorkeakoulu, 2012)
    All digital games are not used for entertainment. Some of them can also be used for non-entertainment purposes and these games are called serious games. This thesis is carried out in co-operation with one Finnish games ...
Ammattikorkeakoulujen opinnäytetyöt ja julkaisut
Yhteydenotto | Tietoa käyttöoikeuksista | Tietosuojailmoitus | Saavutettavuusseloste
 

Selaa kokoelmaa

NimekkeetTekijätJulkaisuajatKoulutusalatAsiasanatUusimmatKokoelmat

Henkilökunnalle

Ammattikorkeakoulujen opinnäytetyöt ja julkaisut
Yhteydenotto | Tietoa käyttöoikeuksista | Tietosuojailmoitus | Saavutettavuusseloste