Battle-Arena Deck Battling App Using OpenRAG #730
SonicDMG
started this conversation in
Show and tell
Replies: 1 comment
-
|
This is amazing! Thank you so much for sharing @SonicDMG and thank you for all your feedback along the way the OpenRAG team was excited to see the usage and prioritize helpful features to make this implementation easier. Let us know if there is anything else you were hoping for from OpenRAG to continue your app building! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all. Here's a deck battling game a few of us built in Next.js using OpenRAG and the OpenRAG SDK.
The general idea is that you can create and load whatever kinds of heroes and monsters you want, then battle them.
OpenRAG provides the character storage and search mechanisms along with the the underlying AI agent that's used to help generate characters and provide battle summaries.
For example, lets say I want to create an AI powered space ship named "Bob" as a hero and then a "Blanket Monster" as a monster to battle (yes, I have kids). You can totally do that in Battle-Arena. Notice the two selected cards in the image below.

Pick 'em and battle 'em.
There are multiple ways to create characters.
One way is to use the "Add Your Hero/Monster" card from the landing page.
This will bring you to the character creator which you can use to generate a name, stats, and images etc... for your character based on your description.

The other is simply to load a character sheet directly into OpenRAG. Then search for it in OpenRAG from the load data page.
If it's not already in your OpenRAG knowledge, you can easily add tools like web search to your OpenRAG agent so it can look to the web for details about your character. Battle-Arena will then apply the needed prompts to create a character with hit points, abilities, etc...

Here's an example creating a character based on "Billy the Kid".


After creating an image for the new character I now have stats and can play it.

Other than playing the game and battling monsters, here are some notable features.
You can:
GitHub repo
Here's the GitHub repo: https://github.com/SonicDMG/openrag-langflow-app
This is a work in progress. I'm working to clean up the codebase, create better readme instructions, and add some new features like the ability to snap an image of yourself to load as a playable character in the game.
It's honestly been a ton of fun to build and the OpenRAG SDK makes interfacing with OpenRAG really quite easy from a code perspective. I can worry about the game and let OpenRAG handle the data.
What kind of features would you like to see added to the game? If so, reply with your ideas.
Any questions about the impl? If so, reply with those too.
Take care,
Dave
Beta Was this translation helpful? Give feedback.
All reactions