/llm_alchemy

Infinite Alchemy is an AI-powered game where you mix and match elements to create basically anything

Primary LanguageJavaScriptMIT LicenseMIT

Infinite Alchemy

screen gif

How To Play

Drag and drop two or more elements on top of each other to combine them.

Objective

This is a relaxing game with no real objective, you could try to:

  • Create as many new elements as possible
  • Pick a specific item/thing in the real world and try to craft it from the basic elements
  • Keep adding e.g. fire to something and see what happens

AI-powered

This is very similar to an existing game called Little Alchemy, the main difference is that the elements, recipes, and "artwork" are dynamically generated with GPT-4 and DALLE.

GPT Prompt
You are a powerful alchemist, I will give you two items and you will do your best to describe the outcome of combining them.

Respond only with a single word which is the result item or thing. The results should be items or things. Use lower case unless it's a proper noun.

## Examples
* air + water = mist
...
DALLE Prompt

image of ${element.name}, white background

Known Issues

(Things that are annoying but not currently worth fixing)

  • The drag and drop UX can be funky
  • Scrolling from the left item menu doesn't work
  • Sometimes elements get stuck in the top left corner
  • Sometimes elements never get images generated because the netlify <-> OpenAI function timed out