https://youtu.be/8qWTGfFgnbg Bad Debt Tycoon intro + hackathon post mortem vid. Bad Debt Tycoon is a resource…

1 comments ·

@naomi (Naomi)

https://youtu.be/8qWTGfFgnbg Bad Debt Tycoon intro + hackathon post mortem vid. Bad Debt Tycoon is a resource management survival economy sim where you have to claw your way out of debt by playing rock paper scissors. Whether you play, trade with other players or tamper with the shared central deck is up to you - as long as you have what it takes to make it til the end. To enter a tournament, you have to stake a certain amount of a stablecoin, against which you'll get a set of rock/paper/scissors cards, lives, and in-game currency (NOT a ERC20 token this in "fake" in-game money !). To exit, you need to have 0 cards in you hand, and enough lives and coins to pay the exit toll - the thing is, you can only exit during the last interval of the tournament. What's an interval, you ask ? Well, every X minutes of the game, you lose some of your in-game currency, AND the exit costs increase. So that means that, depending on how the tournament creators made the rules, you could be playing in a collapsing economy where past a certain points, no one has enough coins to exit. Lucky for you, there are ways to counter that, via trading cards/lives/coins with other players, or interacting with the mystery deck: a central shared deck of completely randomized cards that can give/take resources from you or completely change the outcome of your next combat (winner becomes loser, loser gives 4x more lives, winner gives 10% of their coins to the loser, winner and loser exchange their amount of lives, loser is protected from resource loss...). Every player also has a random secret objective assigned, which allows them to exit earlier than usually allowed if they completed it. That objective can be to have a 50% winning/losing streak, trading with 20% of all players, have 200% more than your initial coin amount... it's completely randomized. Those who manage to exit on time are winners and get a share of the pool prize, while the losers... lose 100% of their staked stablecoins. Of course, you can exit earlier, but that will cost you a certain % of your stake (either fixed or time-based, depending on what the tournament creator decided). \--- Lessons of writing a game with Solidity : 1\. Don't 2\. Don't 3\. Seriously, don't I swear I spent 99% of my time on fighting Solidity, Hardhat, Pyth Entropy, Envio... instead of making the interface and refining game design. It's a mix of skill issue (I am not good at Solidity), and just picking the wrong tools for the job. The hybrid approach was good, but my execution sucked: it should have been less than 10% onchain and more than 80% offchain, game state and logic had no business living onchain. I think with 2 more weeks, I could have cooked what I I realized during the last few days (remove the game state from the chain), but... yeah it wasn't the case. The truth is... I think the current state of web3 tech isn't mature enough for the kind of rapid iteration and good DX you need during a short term hackathon or for game dev, unless you are extremely experienced or have a very, very, very small proof of concept. Local dev is painful, fragmented, and docs are still... not quite there. imo, so far, the web3 dev stack is still years behind the modern web in terms of DX, cost, and interoperability. I still think onchain tech can genuinely add value to a product, but it takes time to execute properly. Seriously, 1 month hackathons should be more common than 1-2 weeks ones, especially if the mentors have limited availability to answer questions. Look at game jams. People are able to build some really cool games in a weekend, even as beginners, because the tools are where they need to be in terms of DX and docs. anyway, that's a game that will be remade in glorious, beautiful, centralized, trad tech: Javascript, SQL db, all the goodies. If I get players, and they like it, and they want a high stake mode, I'll add back the real, stablecoin pool prize. Until then -- I'm back to working on my smol game Moo Moo Mayhem, hopefully back on track to get the alpha by the end of the year. I hope there will be more hackathon I can participate to this year, this was the first one in a long time, and I crashed out bad lmao anyway, omw to catch up on my lost sleep, cya ✌️