Open Kavignon opened 7 years ago
Research shows for a project such as this one, being a single player RPG, it's way more easy and practical to simply make sure I can serialize my data and use either a binary or xml format to save my data. The data that will need to be saved will be :
The global game state current state from which every states in the game can be created
The training set of the brain which include the strategies that were performed in the past and the average rewards associated to those strategies.
The local database will actually be a xml document. Maybe in the future, I can seek other solutions. For the project's actual state, the xml file will do just fine.
In order to play the game on a mobile device or on a web platform, the users will want to save their progress. For the console application, it's ok to save with an xml file and serialize/deserialize from that file. A database such as SqlLite or MongoDB should do the trick.