Cocos BCX is a gaming platform and blockchain that attempts to provide game developers with a superior set of tools to build games with.
In the view of Coco-BCX developers, current smart contract platforms are not built with the needs of game designers in mind. If a new platform with better tools is made available, it should lead to a greater number of blockchain games and higher-quality ones being produced.
This article will explain the primary features of Coco-BCX, including smart contracts that can be changed, multiverses, ownership and use rights separation, visual editing, and more.
Is Cocos-BCX the future of blockchain gaming? Read on to find out what it’s all about. Then decide for yourself whether it can compete with other platforms.
This video provides a great overview of the project.
Smart contracts that can change
Cocos-BCX uses what are called “iterative smart contracts.” These are contracts that have some changeable aspects.
When a change is made to a contract, the old contract remains on the blockchain for purposes of historical record-keeping. But the data at the address is overwritten with the new contract.
This feature allows developers to potentially run entire games on the blockchain. Since the contracts can be changed, developers can implement bug fixes and game logic changes after a game has been released.
It is important to note that some contract data cannot be changed by developers in Cocos-BCX. For example, developers cannot transfer ownership of players’ items or delete items that players own.
In Ethereum, smart contracts generally cannot be changed after they are deployed. This is one reason why the Cocos-BCX team believes this new platform is needed for blockchain games.
In Cocos-BCX, a game developer can create a “universe” or “multiverse.” This is a set of rules for items in a particular fictional world.
Once a universe is created, multiple games can be created that take place in that universe. An item from one game in the multiverse can be transferred to a different game in the same multiverse by paying a small fee.
Each item in the universe has a set of base stats that is the same in every game. The game can also define additional properties of the item that it only has in the present game.
For example, a Magnificent Sword of Ice may have attack power of 244 and give +20 to parry for anyone who wields it.
But in Game A, it also does a frost attack once every three rounds. In Game B, it does not do a Frost attack. Instead, it provides a frost shield to the wielder once every seven rounds.
Regardless, in both games, it has attack power of 244 and gives + 20 to parry – because these stats are defined by the multiverse itself rather than the particular game.
If more than one developer wants to create games in a particular universe, the universe itself can be governed by a “governance committee” made up of representatives from each developer.
Enjin-coin could be thought of as the first blockchain gaming multiverse on Ethereum. But creating this multiverse required additional code to be deployed.
By making multiverse creation an essential feature of the Cocos-BCX blockchain, the Cocos-BCX team hopes to make it easier for developers to create their own multiverses.
Smithy mechanism: built-in item creation
Cocos-BCX has a built-in system that allows players to craft unique items. This system is called the “Smithy Mechanism.”
Using this mechanism, developers or player guilds define the rules for item creation. Players then provide resources, game currency, and/or tokens to be converted into items.
Each item created using the Smithy mechanism is unique and can be used in any game within the multiverse it was created in.
Nested props: items from items from items
In Cocos-BCX, items can be made from other items. And there can be multiple steps to item creation.
For example, a Cocos-BCX game can allow players to craft a wheel using rubber and steel. But then the wheel plus seats and an engine can be used to produce a car. In each case, the items used and produced are blockchain-backed tokens.
The item produced out of other items is called a nested prop in the Cocos-BCX documentation.
In the past, we have seen Enjin-coin games that have items produced out of Enjin. Cocos-BCX is taking this idea to the next level by allowing a potentially unlimited number of intermediate steps to item creation.
Built-in item exchange
The Cocos-BCX platform contains a built-in decentralized exchange. All items used in Cocos-BCX games can be traded to other players for COCOS, which is the platform’s native cryptocurrency.
Players do not need to trust a central authority to find buyers or sellers for their Cocos-BCX collectibles.
Separation between owner and user rights
The Cocos-BCX platform distinguishes between owner rights and user rights in game items. It is possible for a game-asset to have a different user than owner, and the rights associated with these titles can be transferred freely without interfering with each other.
This opens up new possibilities for transactions between players.
Leasing, pledging, and pawning
Because owner and user rights are kept separate, players of Cocos-BCX games can potentially lease, pledge, or pawn their in-game items.
For example, a player that owns a Venom Lance he obtained from killing a boss can rent it out to another player for a fee. The player who rented the item will have the use right of the Venom Lance transferred to him.
But after the term of the rental agreement expires, the Venom Lance will revert to its owner.
Similarly, a player may be able to pledge his Star Cannon as collateral for a gold loan. If he fails to pay back the loan, the Star Cannon will become the property of the person who made the loan.
Cocos-BCX includes a visual editor for coding. This means that developers who do not have extensive knowledge of scripting can still create games using the platform.
For developers that do know how to use a scripting language, Cocos-BCX allows them to code using LUA. This prevents them from needing to learn a new language such as Solidity.
Cocos-BCX is a complete smart contract platform. So it could be considered a competitor to Ethereum.
This means that Ethereum assets can be traded using Cocos-BCX, and developers may someday be able to allow players from a Ethereum games to transfer these items to Cocos-BCX game-worlds.
DPoS consensus protocol
As with most gaming blockchains that try to provide scalability, Cocos-BCX uses a Delegated Proof of Stake (DPoS) consensus protocol.
Owners of COCOS have the right to vote for witnesses that will confirm transactions on the COCOS blockchain.
In addition, ownership of COCOS tokens gives the user the right to bandwidth on the network. So users do not have to pay for transactions once an initial investment is made.
The developers of COCOS believe it is one of the fastest blockchains ever created, yet still provides a high level of security. They state that they have tested the blockchain and found that it can process transactions at a speed of 100,000 terabytes per second (TPS).
This high speed is achieved by allowing some transactions to be processed by “light nodes” that do not have to synchronize with the rest of the network. However, important data such as ownership transfers must still be processed by full nodes.
This allows run-of-the-mill game transactions such as combat steps to be processed quickly, while transactions that require high security can still be processed with the finality required by their nature.
Is Cocos-BCX the future of blockchain gaming? It certainly seems to have a lot of features that game developers will love.
Most game developers would be happy to use a platform that lets them code smart contracts without having to learn Solidity. And a built-in decentralized exchange, multiverse creator, and cross-game transfer system are all useful tools.
The big question is whether all of these added features will be enough to convince developers to move off a trusted platform like Ethereum. Ethereum has lots of capital flowing into its projects, and an infrastructure has built up around it over the past few years.
Cocos-BCX is a newcomer on the smart contract platform scene. And newcomers always face an uphill battle.
Still, Cocos-BCX could be the platform that game developers use in the future. We’ll be keeping an eye on it as it is developed.
Would you rather play a Cocos-BCX game with all of these extra features? Or are you content to stay with Ethereum? Let us know in the comments below!