| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Infinite Craft is a combiner game in the same vein as Doodle God, with the twist that responses are generated by Llama 2. This makes the combinations theoretically infinite, but potentially not if the LLM starts to hallucinate.
The API is called with a URL constructed from the two types being combined:
https://neal.fun/api/infinite-craft/pair?first=Fire&second=Water
And returns a JSON block with this structure:
{
"result":"Steam",
"emoji":"💨",
"isNew":false
}A graph database is ideal for this. I went with the DGraph database because it had a docker compose that worked the moment I ran it
Rate limit script only reaches a 100 requests in roughly 30 secs, so DDoS isn't something that needs to be worried about with a single runner.
Full testing with a single agent hit a rate limit of roughly 1 request/second
A couple of days after starting curl testing on the api, it suddenly started returning 403 errors. Turns out I needed to include a User Agent String!
Given the combination is of any 2 items and we can't rule out that order doesn't matter, the potential total number of combinations are:
∑,M,k=0; k!/((M−k)!M!) // the formula for total unique combinations
I present: Bogosearch! Like Bogosort, but for searching. Maximally cursed!
Combination data is published every 4 hours to this repo!
The game can sometimes take very long periods of time responding to niche combinations. For example:
Pair to be combined: Farmer Zombie, Breakfast In Bed Result "Nothing" inserted successfully. Combo "Nothing" inserted successfully. Elapsed time: 100627.74 milliseconds
Pair to be combined: Crypto Summer, Fishing Pole Result "Crypto Winter" already exists. Combo "Crypto Winter" inserted successfully. Elapsed time: 79824.59 milliseconds
Pair to be combined: Prom Dragon, Devil Result "Prom King" already exists. Combo "Prom King" inserted successfully. Elapsed time: 86221.65 milliseconds
None of these result in discoveries, it seems like Llama 2 just chokes on the input for some unknown reason.
| Back | FazBrowse Home | New Git URL |