https://github.com/sshh12/llm_alchemy
Infinite Alchemy is an AI-powered game where you mix and match elements to create basically anything
https://github.com/sshh12/llm_alchemy
crafting infinite-craft little-alchemy procedural-generation web-game
Last synced: about 2 months ago
JSON representation
Infinite Alchemy is an AI-powered game where you mix and match elements to create basically anything
- Host: GitHub
- URL: https://github.com/sshh12/llm_alchemy
- Owner: sshh12
- License: mit
- Created: 2023-05-18T01:06:43.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-18T19:12:53.000Z (12 months ago)
- Last Synced: 2025-03-17T12:11:31.030Z (2 months ago)
- Topics: crafting, infinite-craft, little-alchemy, procedural-generation, web-game
- Language: JavaScript
- Homepage: https://alchemy.sshh.io/
- Size: 439 KB
- Stars: 28
- Watchers: 3
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Infinite Alchemy

## 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](https://littlealchemy2.com/), 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