ton-society / grants-and-bounties

TON Foundation invites talent to imagine and realize projects that have the potential to integrate with the daily lives of users.
https://ton.org/grants
300 stars 134 forks source link

Game Backend for easy creation of multiplayer unity games on TON #303

Closed ashkan-saeedi-mazdeh closed 1 year ago

ashkan-saeedi-mazdeh commented 1 year ago

Summary

Multiplayer games are much more atractive and making it easier to build them would mean a much larger ecosystem of games on Telegram which use TON and increase adoption of TON. We want to make an open source backend which makes it easy to build unity webGL games using our relay and unity's high lelvel networking library. We made a grant proposal but wasn't sure if it fits here bettter or not and I assume there should be communication between the two so I'm posting the grant proposal here too https://questbook.app/dashboard/?grantId=0xe92b011b2ecb97dbe168c802d582037e28036f9b&chainId=10&role=community&proposalId=0x387&isRenderingProposalBody=true

Context

If many people build games using ton and people play them on their phones in telegram and maybe even on their PC and ton play then it will expand the ecosystem and also will make web3 more promement.

Making multiplayer games is hard and most people don't want to implement dedicated servers for simpler web based and mobile games and the form of multiplayer is either simple co-op or competition. Making a relay which is open source and can add server side logic but also allows easy deployment and works with the high level networking libraries of unity so the developers don't have to code a networking library makes their job much easier when making games.

Most relay and outsider networking libraries only support send/receive with byte arrays and not high level concepts like RPCs and state syncs. We want to support them all and we at www.nooparmygames.com are doing multiplayer for 10 years so know what we are doing.

Goals

To have a well documented and fantastic server solution for TON games which allows player data storage, integrates with TON play and acts as match maker and relay for multiplayer games.

Deliverables

Definition of Done

Having the server ready to use with docs and a sample project and its own website and GitHub repository.

Reward

The proposal is for $12500 with two optional components which removing them makes it less expensive.

Oriental Release Date

3 months from acceptance date.

pyAndr3w commented 1 year ago

It is unclear what role TON plays in this context. Currently, anyone can integrate TON into their game backend using TonSdk.NET. Additionally, work is ongoing to implement TonConnect 2.0 for .NET and Unity platforms.

ashkan-saeedi-mazdeh commented 1 year ago

@pyAndr3w This backend will use ton login and the other ton features for in app purchases and integrates directly with play deck's tonplay which already implement other features. We will just provide the other features which the games need like match making and easy multiplayer development with a relay so the games people make are more engaging and more exciting. otherwise the games will end up being not fun and will only atract investors/those who want to earn and not those who want to play interesting games.

In our oppinion a good TON game will be a good game first which uses TON coin and other features like NFTs to provide features like game histories and ownership using NFTs and a marketplace using TON coin for payments.

Such a game in today's environment requires multiplayer and the least interruptive and least expensive form of multiplayer uses a relay and we want to implement a relay and a match maker to fasilitate that part of the equation.

P.S If you guys are implementing SDKs , maybe an unreal engine SDK should not be forgotten since many good content creators are migrating to that.

delovoyhomie commented 1 year ago

What is the product value and what will it bring to the blockchain in the future? I don't see how it can be useful for TON Blockchain.

ashkan-saeedi-mazdeh commented 1 year ago

It will bring better games by making it easier for game developers to make multiplayer games for TON platform and well better games bring more users and more transactions.

delovoyhomie commented 1 year ago

@markokhman, do you believe this pertains to our blockchain, as well as whether it is considered a useful product?

markokhman commented 1 year ago

Unfortunately, we won't be able to support this initiative at the moment. This tool has close to no relation to TON itself currently.