As a newbie, I would like to focus on polishing the front-end web game I'm trying to build. But the game will have about 5000-10000 different pieces of text that I need to map to the attributes of the player. I need to somehow throw these fragments in JSON form into the browser. How to keep it short and simple?
FYI, this is a card game, so turn it on and read only. This means a very small load on the server. Just html / js / css and a JSON string a couple of times per minute per player. I considered CouchDB when I heard that I can use Javascript for its views, etc., but before investing more time in it, I would like to know about other options. I would rather play the game already than spend weeks learning programming in the background.
EDIT. All text fragments have certain requirements. Player data is stored in session data. If the player is weak or silent, there can be no rout.
{ 'action':'You smash you opponents head!',
'player1': {
'equipment': 'axe',
'strength': 3
}
So, in addition to storage, I also need to shed all the actions that meet the requirements, and then choose one randomly that will be sent to the client.