Lua Scripting – Made functions in C++ that manipulate the data we use in the game. These functions can then be used in Lua to create the card effects.
Game loop server– The game loop is located on the server. Once the players have played their cards, they are sent to the server and processed there. The results of this will be send back to the client.
Game loop client – The game loop on the client is only visualization. When the client gets the data from the server it loops over all the changes and visualizes them depending on the change.