GameOfLightAndShadows / SmarTac

tactical role playing game functional reactive framework
MIT License
1 stars 1 forks source link

Add local database #61

Open Kavignon opened 7 years ago

Kavignon commented 7 years ago

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.

Kavignon commented 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 :

Kavignon commented 7 years ago

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.