#Using GPT to make a unique (and highly addictive!) browser game

1 messages Β· Page 1 of 1 (latest)

nocturne otter
#

I'm part of the independent two-person team behind Allchemy, a game where you start with four basic items: Air, Earth, Fire, Water - and can combine them, two at a time, to make and collect anything you desire. How? AI (finetuned GPT-3.5) decides what each combination of items should generate.

Allchemy is inspired by classic "alchemy" web games like Little Alchemy: the key twist being that with AI you are no longer limited to a few hundred pre-defined items/recipes. Instead, there are quite literally (almost) infinite possibilities! So far over 82,000 items have been generated, alongside over 448,000 recipe combinations (you can explore these in a global encyclopedia! https://allchemy.io/items), and this number is always growing.

It's a very unique and surprisingly addictive game that would not be possible without OpenAI's GPT APIs.

We've been working on this for about 8 months now and would really appreciate it if you could give it a look! If you have any questions, or would like any Energy top-ups to play the game for yourself, please feel free to reach out!

Thanks very much!

Link here: https://allchemy.io

Allchemy

An infinite AI-powered alchemy game. Start with four items, create anything.

bitter wyvern
#

Hi, other dev behind Allchemy here! Also open to any questions/feedback, feel free to reach out via DM 😁

compact gust
#

Does it generate new items (and images with DALL-E) as you play?

crisp ice
#

it uses emojis

crisp turtle
#

amazing game!

bitter wyvern
#

We had so much fun making it

nocturne otter
compact gust
#

Ahh that's smart πŸ˜„ Super cool

nocturne otter
#

Thanks very much! It's come a long way since the initial prototype we made as a Discord bot πŸ˜…

lunar hornet
nocturne otter
#

Congratulations on discovering your first item!

#

If anyone needs an Energy refill - let me know! ⚑

compact gust
#

Love this game. I think theres a ton of possibilities with creative / strategic interactions between players and collecting rare items. Its like Minecraft but GPT-powered 😍

radiant onyx
#

This is so fun!

nocturne otter
#

Thank you so much for the feedback guys! πŸ™

@compact gust Agreed! We're already planning some more AI-powered ideas - can't give away too much right now but we've been prototyping a multiplayer battle system that uses AI to assign stats to your items, allowing you to strategically battle other players

#

It's a bit like infinite Pokemon πŸ˜‚

compact gust
#

Nice! Can't wait to see how it turns out.

nocturne otter
#

It'll definitely still be a while before it's ready but stay tuned!

Right now we're mostly focused on adding more organisation to the game as things can get pretty hectic once you start amassing tens of thousands of items in your inventory - we've even looked briefly into using things like OpenAI's embeddings for automatically assigning categories to each item but are having mixed results regarding accuracy, wondering if anyone here has had any experience working with similar problems and could share some advice?

lunar hornet
#

There seems to be a bias towards Christian concepts you may want to address, but I'm clearly still early in.

nocturne otter
# lunar hornet There seems to be a bias towards Christian concepts you may want to address, but...

That's something we've noticed too. I think the various biases are more likely to be baked into GPT itself though (rather than anything we have personal control over), as we've avoided including any religion (as well as other topics that could be considered sensitive) within our finetuning data set. Beyond that, I'm not sure there's so much we can do, it may just be the very nature of the corpus of data GPT is trained on.

lunar hornet
nocturne otter
#

No probem, thanks for raising it up to us!

#

Anyone made any interesting creations yet? πŸ‘€

radiant onyx
nocturne otter
#

You can discover some absurdly abstract concepts very quickly!

#

We have a lot of cool stats behind the scenes, one of which is this chart here:

#

The recipe tree for the majority of items has a depth (complexity) of only 14 which is fascinating to me!

charred shore
#

How does gpt return the data? Do you ask it to respond in a json or sum??

nocturne otter
#

We were originally using JSON function calling in our prototypes, but we're now using a finetuned model which we've trained to respond in only plaintext (this is much cheaper and generally much more reliable!)

unkempt tree
#

@nocturne otter have you ever played the paperclip clicker game?

#

Very different type of game, but I feel like you could steal the aspect of how the game changes as you progress. And how you can affect the world around you with this new found alchemy

nocturne otter
# unkempt tree <@570120573049634817> have you ever played the paperclip clicker game?

I have actually! A long time ago, will definitely need to re-play it at some point πŸ˜‚

I see what you mean and I think it definitely has some great potential - maybe for some sort of interactive campaign/story mode that adapts based on your items. We also very briefly explored turning it into a clicker/idle style game of sorts but couldn't think of a way of making it as entertaining as the base game! It's definitely something we want to explore more in the future though

silk marten
#

I love this omg! Will try ASAP

nocturne otter
round frigate
#

this is so cool tho

#

if I had money, I would support you

#

also, love the macos 9 theme

#

or whatever theme that is

nocturne otter
round frigate
#

also, I love how hilariously dumb some of the objects are, like mud and house is Adobe, a software company

weak token
#

well adobe is a real material i think

nocturne otter
# nocturne otter It's a bit strange right now as it's in a bit of a limbo phase, I'll do my best ...
  • This stuff probably won't change:
    • Energy is only used whenever you discover a new Recipe (combination of two Items) or Item (actual Item with name, description, etc.)
      • Discovering a new Recipe costs 1 Energy, whereas a new Item costs 3 (this includes the Recipe cost!)
    • Existing Items or Recipes do not use up Energy as they're stored in our database - basically allowing you to play a huge version of Little Alchemy without any Energy whatsoever!
    • Purchasing a subscription will provide you with daily refills of Energy, every 24 hours
  • Temporary stuff that will change:
    • We intend to have a feature for watching short ads (6 - 30 seconds) to gain Energy for free, but we're currently waiting for approval from Google and our ad partners as we only launched last Tuesday
    • Because of this, for the time being we are providing Energy to players for free, completely out of our own pockets:
      • Newly signed-up accounts are subject to a free trial where Energy isn't used at all for a certain period of time
      • Users can request free Energy refills within our Discord using the /refill command
    • This system will likely change a lot once we (hopefully) get ad approval as this offers a fantastic way of playing for free without too much interruption
round frigate
weak token
#

oh that’s funny

round frigate
nocturne otter
# round frigate but it described it as a software company

This is a side effect of having ambiguously named items! Usually it'll figure out which one you mean to use by the context of the combination which we thought was a "good enough" way of handling it - trying to disambiguate item names with parentheses, for example, did not work too well in our A/B testing πŸ˜…

#

It's also rather funny occasionally so I don't mind it too much!

nocturne otter
#

Finetuning allows us to eliminate the prompt entirely!

nocturne otter
#

Thanks for all the feedback so far, everyone! We're off for the night now so if anyone has any more questions or comments at all, don't hesitate to leave them here or shoot a DM over and we'll get back to you in the morning.

Thanks again for all the support today, it means a lot! β™₯️

nocturne otter
#

Good morning all! Has anyone made anything interesting that they'd like to share? πŸ‘€

frosty spade
#

I NEED THIS

frosty spade
frosty spade
#

For God's Sake

nocturne otter
frosty spade
frosty spade
nocturne otter
frosty spade
#

meant to ask if it obtainable or not

nocturne otter
#

Definitely! Usually the better strategy is to combine based on concepts, rather than the words itself. I'm not familiar with The Owl House so I'm not exactly sure how you'd go about getting it, but generally you just want to keep getting closer by making closely related items and you can get most things very effectively using this strategy!

frosty spade
nocturne otter
#

Best of luck! πŸ‘€