Post #139258
July 30, 2019, 08:42:23 PM
The first step to moving things out of game code is to put them in the database, which means today I started making database tables and started working on the code to pull that data.
When the game is ran, it will pull game data from the database...if it doesn't exist, the game will assume that it hasn't started yet, and if the person viewing the page is the host, they will be able to set up game options such as initial grid size and players and start the game (other players will see a "Waiting for host to initialize game" message).