danthorpe / pool-scoring

1 stars 1 forks source link

Refactor the TrashTalk library. #2

Open danthorpe opened 12 years ago

danthorpe commented 12 years ago

Use a hash to store the descriptions, and when saving a Game, randomly choose a key, and store that in the Game's document in CouchDB.

danthorpe commented 12 years ago

Another option would be to store the trash talk phrases in the db, and then potentially allow users to add new phrases.