> Why did my opponent place qxa to begin with?
Much like us, the NPC can be plagued with a simply terrible hand ;)
Again, appreciate the notes!
105 karma · joined March 2, 2021
> Why did my opponent place qxa to begin with?
Much like us, the NPC can be plagued with a simply terrible hand ;)
Again, appreciate the notes!
> This desperately needs a attack result preview
Not too hard, just waiting for all the feedback to roll in before deciding either way. If we stay sitting on the fence, it might make its way in as a "tutor" mode :)
We have done some manual massaging beyond that, but not much. Waiting for more feedback like this! You can see the current tranches of dictionary massaging here: https://github.com/TruncateGame/Truncate/tree/main/dict_buil...
I'd like to add a button to the dictionary to report words that should be included. For now, we erred on the side of a smaller dictionary since it's less jarring to add words than remove them :)
(stere / steres is especially regrettable, sorry!)
Thanks for pointing it out! It's something we have had come up before, and the sort of thing we keep iterating the tutorial toward explaining better, so we'll take another crack at it!
(Thanks for pointing out the font — I do have an issue for that (https://github.com/TruncateGame/Truncate/issues/111) so it's nice to get validation on its importance)
The giant difference between the two is that Algolia is a hosted search platform, so there exists a server that you send an API request to that can return the search results. This is pretty quick — they'll probably have a lot of the search data sitting in memory already (which is what you're paying for).
Pagefind isn't a platform, everything required to search a site is static along with the site. As a result, to search through a site you need to load some amount of it into the browser and then query it. Other javascript search libraries load everything up front and give you instant search, but Pagefind prioritizes bandwidth over search — on large sites the existing libraries can take a few MB of bandwidth up front to initialize their data.
With Pagefind, very little is loaded until you type in a search term. Once you start typing, a chunk of the search index is loaded containing your search word(s) and is then queried. This is what drives the performance you're seeing, which is predominantly the time for the data to load after you start typing — the query step itself is near-instant.
The goal is sites that are currently limited to paying for a platform like Algolia now have a path to add search without any infrastructure, but without burdening the end-user with enormous network requests.
If there's anything specific that you're wondering I'm happy to elaborate