3 ms·
Are you using SOWPODS? I had thought to stick with TWL being somewhat of an old school Scrabble player. Also, little technical question if I may: what sort of d
by aptwebapps 12y ago
Are you using SOWPODS? I had thought to stick with TWL being somewhat of an old school Scrabble player. Also, little technical question if I may: what sort of data structure do you use for your dictionary?
- qzervaas 12y agoWe're using CSW12. It's stored in a single-table Sqlite database with some techniques to make word lookup really fast. I believe it could be faster still, but this is likely beyond my technical expertise. Next problem is to scale the game to multiple languages without bloating the download size of the game too much. Haven't decided what's best yet for this: either compressing the dictionaries for distribution (and decompressing on first launch), or an in-game download (this seems like so much effort though and just adds more friction)
- aptwebapps 12y agoI wasn't aware of CSW but from the size I guess it's similar to SOWPODS. An Sqlite db sounds like the sweet spot of performance and easy of use. Couldn't you automate the in-game download? I.e.: If the user selects another language download it on the spot with a little popup telling the reason for the delay?
- qzervaas 12y agoAll options are being considered. I like that idea in theory but it just adds to the complexity: - More technical debt - More points of failure - Need to host the data somewhere (plus pay for it... the App Store is basically a free CDN) Off the top of my head, it may be possible to do a Free IAP where Apple hosts the content, but I may be totally wrong on that.