Inspiration

In terms of gameplay, and Web3 based influences, I was heavily inspired by EtherOrcs, especially their raiding feature. As well as their on-chain nature, and making characters and items into NFT's.

For story and lore inspirations, I took many elements from the Book of the New Sun series by Gene Wolfe.

What it does

Agaia Online is firstly a text-based dungeon crawler. Your characters can raid dungeons, and collect items.

Secondly, Agaia Online is Web3. It allows user to truly own their items and characters as NFT's.

How we built it

I developed the smart contracts using brownie, and python for testing.

Once the contracts were in a working state, I developed the frontend in HTML and vanilla Javascript, and was able to interact with the smart contracts on the Polygon Mumbai network using ethers.js, and fetching some NFT data using Moralis.

Challenges we ran into

Like usual for me, the frontend was a real struggle. I've managed to build something that at least works, its not very pretty, but it does work.

Accomplishments that we're proud of

I'm proud that I finished my submission in time. Half way through this project I had a real fear I'd put too much on my plate. So I had to reduce the games scope considerably.

I'm also proud of the raiding system, the smart contracts are written in a way that allows new events to be added to dungeons very easily, and in a way that is immutable. Meaning items, enemies, and dungeons, can never change. If you have geared your character up for a specific dungeon, that dungeon won't arbitrarily change, ruining your setup, and enjoyment.

What we learned

During the development of this project I gained a better understanding of Solidity, and Javascript.

What's next for Agaia Online

In future updates I plan on adding a character qwerk system. These qwerks will be added to characters as they raid dungeons, and have unique interactions with events that occur during raids. For example, a character with a clumsy qwerk may accidently set off a trap, even if they have a high enough perception to detect it.

The next planned addition is invasions. Characters raiding at similar times, will have a chance to encounter one another. The two would then fight to the death. The winner taking the others items.

Share this project:

Updates

posted an update

Troubleshooting issues:

  • To mint a card, you must have 2 LINK tokens in your wallet
  • DO NOT refresh the game page after clicking the Request Raid button
  • The only selectable items currently are the Sword and Scythe

Log in or sign up for Devpost to join the conversation.