mbkarle / mind-the-fog

Roguelike JavaScript game--mind the fog!
2 stars 1 forks source link

Temporary Database #126

Closed akarle closed 6 years ago

akarle commented 6 years ago

What

Proposing the relocation of all of our large json objects to a directory called 'tempdb' which will temporarily take the place of a database (which we should consider migrating to)

Why

If we want to scale this game big, we should think about creating a database. We've already started nudging ourselves in that direction with programmatically loading in json in many cases (items, dialogues, shieldbuffs, NPCs).

In general, this is good practice because it means that adding new content involves adding to the db not to the actual infrastructure of the game.