I'm a software developer who is now coding for blockchain. I learned Web3 but I want to move on from utility apps to making a game. I have found lots of tutorials online, but the one question I can't seem to find the answer to:
Do you need a separate web server (beyond the frontend host and storing data in smart contracts) to process the game logic/physics/etc?
Ex. If I wanted a character to buy a potion from a shop, that seems straightforward, just make a purchase request and store the result in a SC variable, but what about something such as collision detection? If my character needs to walk to the right until they hit a wall, how do I check if there's a wall there every step of the way? It seems prohibitive to make a SC read call every step they take and you certainly can't allow the frontend to determine... well, anything really, when money is at stake.
Thank you for any information or just a point in the right direction!
[link] [comments]
You can get bonuses upto $100 FREE BONUS when you:
π° Install these recommended apps:
π² SocialGood - 100% Crypto Back on Everyday Shopping
π² xPortal - The DeFi For The Next Billion
π² CryptoTab Browser - Lightweight, fast, and ready to mine!
π° Register on these recommended exchanges:
π‘ Binanceπ‘ Bitfinexπ‘ Bitmartπ‘ Bittrexπ‘ Bitget
π‘ CoinExπ‘ Crypto.comπ‘ Gate.ioπ‘ Huobiπ‘ Kucoin.
Comments