[Tutor] Best way to save a D&D-like game's state?
Leam Hall
leamhall at gmail.com
Fri May 21 21:31:06 EDT 2021
Yup, you learn and get useful stuff with every few keystrokes.
Something else to consider; start with CSV and move to JSON if you need complexity. If the structure fits in CSV then it will likely fit in SQLite, when you need a database. If the fluid structure of JSON works better, I'll point out that the internal datastore language for MongoDB looks a lot like JSON. ;)
On 5/21/21 9:20 PM, Bryan Karsh wrote:
>
> I absolutely love this thread. Making an rpg is fun and a great way to learn a language.
>
>
> On Fri, May 21, 2021 at 6:15 PM Leam Hall <leamhall at gmail.com <mailto:leamhall at gmail.com>> wrote:
>
> Oh, and if you really want to blow your mind, look at Neo4J (https://neo4j.com/ <https://neo4j.com/>). You can get a map of connections with a file like:
>
> CREATE (sa_mcconnell:Person { name:'Spacer Apprentice Ai McConnell' });
> CREATE (larry_c:Person { name:'Larry Corona' });
>
> On 5/21/21 8:25 PM, boB Stepp wrote:
> > I am contemplating the design of a D&D-like game where I will
> > prototype various ideas I have in Python.
--
Site Reliability Engineer (reuel.net/resume)
Scribe: The Domici War (domiciwar.net)
General Ne'er-do-well (github.com/LeamHall)
More information about the Tutor
mailing list