PiervitoCreanza / IS24-AM02

This project is a Java-based implementation of the table game "Codex Naturalis", developed as the final project for the 2023/2024 Software Engineering course at Politecnico di Milano.
4 stars 0 forks source link

[Extra Feature] Implemented fully working persistence #233

Closed simonecurci closed 1 month ago

simonecurci commented 3 months ago

The server is able to save every game status and reload it in case a crash happens. It uses temp files to avoid file corruption and delete games when they are ended. Every game is saved in parallel, allowing multiple games to not block the server. Every client has two minutes to rejoin a game after a server crash and the game will start if at least two players joined.