Thank you for the opportunity to showcase our web3 based gully cricket game. Our project solves the challenge of building a decentralized game using blockchain technology to ensure transparency and fairness, while providing a virtual space for players to engage in India's cultural heritage of gully cricket. Our game's smart contract logic governs gameplay to ensure a level playing field for all players, which is a unique feature not present in traditional gully cricket. Our game also provides a platform for community building and social connections among players, further enriching the experience. We believe our project has great potential to revolutionize the world of gully cricket and promote community building through decentralized gaming."
One of the biggest challenges we faced while building the web3 based gully cricket game was implementing real-time updates without using websockets. Since web3 technology is still relatively new, there were limited resources available to help us figure out alternative solutions.
After some research, we decided to use a combination of polling and server-sent events to simulate real-time updates. However, this solution brought its own set of challenges. The polling approach increased server load, causing delays and lags in the game, which greatly impacted the user experience. On the other hand, server-sent events were difficult to implement and required additional resources to maintain.
We eventually found a workaround by utilizing web3's event subscription mechanism. We created custom events for game events such as ball, wicket, and runs. The game's smart contract emitted these events, and we subscribed to them using a web3 provider. This solution allowed us to receive real-time updates without compromising on server load or user experience.
Overall, the process of building this project taught us a lot about the challenges of working with web3 technology. But by persevering through these challenges, we were able to create a unique and engaging game that combined India's cultural heritage with cutting-edge blockchain technology.
Tracks Applied (2)
Polygon
Polygon
Technologies used
Discussion