
Click here to access video playbackClick here to access video playback)。
In the speech session, Cocos-BCX technical contributor Reed Hong said that from the beginning of chain games in 2017 to the present, the great feeling is to embrace the big ecology of Ethereum. Although a batch of high-performance competing chains have emerged, we are also very happy. However, a chain with better ecology and independence requires a strong consensus and the contribution of many people.
Specific to the Layer 2 selection of chain games, Reed believes that side chains can be selected in the short term, OP Rollup can be used in the medium term, and ZK Rollup is more optimistic in the long term because of its security, timeliness, TPS, and trigger time. The Internet is not yet mature, and there is still a long way to go to connect to the EVM. Reed also recommends everyone to pay attention to ZK Rollup, and believes that zero-knowledge proof technology is very helpful for the full chain of the game.
The following is the essence of the speech content edited by Odaily, enjoy~
Hello everyone, I'm Reed from the Cocos-BCX project. Today's topic is "Looking at the New Trend of Chain Game Development from the Dark Forest".
Although the trend of chain games in the big bull market that started last year is not very good, we can also see the future development trend from it. Today's focus is on the game "Dark Forest".
The English name of Dark Forest is Dark Forest, which is a decentralized RTS (real-time strategy) game. The post-80s and post-90s should have played "StarCraft" is a real-time strategy game. If you know more about "Three-Body Problem", you will know that the word Dark Forest comes from Liu Cixin's "Three-Body Problem", which is a space survival game. Players can discover and conquer planets in an infinite encrypted universe generated by programs. Follow us The traditional Star Wars games imagined are different, this game is relatively simple.
After entering the game, we need to enter the command line, and finally the account will be exported, which is different from our traditional DeFi game. We need to import the user's private key to temporarily generate an account, so that it can directly help you trade without having to use it every time. All on-chain transactions require user confirmation, which eliminates the confirmation process and makes the game experience smoother.
On the interface after entering the game, the middle area represents the Odaily you conquered and the Odaily you explored around. The left side is the basic information of the player, as well as the mining situation and the Odaily list. The right side is a bit like a command line, where you can enter commands To do some special functions, the whole interface is relatively rough, but the playability of the gameplay is relatively strong. In it, you can conquer, explore, and upgrade Odaily. During the process of upgrading and exploring, some random objects will appear in Odaily, which can enhance your Odaily's offensive and defensive capabilities.
This game was very popular at the time. On August 14 last year, Vitalik said that this game was very fun.
Ethereum not only has mining but also very interesting games, but you need an invitation code to enter this game, which is very difficult to obtain. I was struggling to get an invitation code, although it is a small game. It will soon form its own ecology. It has nearly 20 plug-ins, involving all aspects. The interface of the game itself is relatively rough, and plug-in functions are designed for more advanced gameplay. When players feel uncomfortable, they can develop their own plug-ins to assist them, just like we used to play games with plug-ins Same.Because the game is based on the chain, it is easy to develop auxiliary tools。To do plug-ins in traditional games, you need to crack its game system, protocol, etc., but Dark Forest is a full-chain game, and the data is all on the chain, and the access interface is also on the chain, so it is very convenient to make a plug-in system to assist the game. So although it looks like a niche game, it has formed its own complete ecology, so it is very rare.
As a technical background, we are more curious about its implementation, so I basically took a look at its code. From the code point of view, it can be divided into several parts. Its front end is web3.js/Snarkjs, the contract is solidity, and the contract amount is equal. It's not very big, only two or three thousand lines, and the chain uses Ethereum's side chain xDai.BSC can also basically be regarded as the equivalent of xDai, both of which are side chains of Ethereum. You can use the mature tools of Ethereum. You only need to change the access interface, and the developed stack can be used. It is easy to deploy on Linux Deployment, development, and testing are the advantages of sidechains.
Compare this game with previous blockchain games. I started to get in touch with chain games from Ethercat in 2017. I can see that the choice of the chain is not the same as that of the chain. The dark forest uses the side chain of Ethereum. In a sense, the side chain can also be viewed. It is Layer 2. We used to use EOS, Cocos-BCX, and IOST. The Dark Forest chain is fully chained, and there will be information hiding. The old chain game is the core link, and the development situation is not the same. ,becauseIn the past, we did not choose Ethereum because Ethereum was limited by chain performance, TPS, etc., so it was difficult to choose as the underlying chain of the game. Now that Ethereum Layer 2 is out, the situation will be greatly improved.
Ethereum Layer 2, from the earliest Optimistic, to hybrid solutions, including the most popular Rollup, Ethereum 2.0 is expanded around this. The core solution idea is very simple. How to combine a thousand transactions under the chain into one transaction? It communicates with Ethereum through a contract, so the security is very good, because the security is directly guaranteed by Ethereum itself, so it is relatively safe. A good solution can be seen as a compression technique.
Regarding the selection criteria of chain games, these will be paid great attention to when doing chain game development and technology selection. If the equipment is a high-performance chain, the fee rate should be low. Now the fee rate on Ethereum is still too high, and there is also the support of EVM ,Because many developers are familiar with this, and after so many years of development of EVM, everyone has good experience in many problems. Secondly, there must be a good ecology, and Ethereum is very capable of this condition.
Chain game Layer 2 selection, everyone has been talking about Layer 2, but the entire Layer 2 has not yet fully landed and matured. In the short term, you can choose side chains, and you can use OP Rollup in the medium term. The problem is that funds come in and come out It takes a long time, and it basically takes 7 days now, which is not very friendly. In the long run, I am more optimistic about ZK Rollup, because its security time is very good, its TPS is also better than OP Rollup, and the trigger time is also very short, only 0.3 seconds. We were surprised to achieve 5 seconds back then Yes, but its technology is not yet very mature, and there is still a long way to go to connect to EVM. ZK Rollup has great performance, but it also has drawbacks. It may not launch a usable version in the next 6 months. We are looking forward to it, and you can keep a long-term focus on this.
The zero-knowledge proof Snarkjs is mostly used in this chain game, which is a relatively advanced technology in cryptography.Zero-knowledge proof We can make a simple assumption, and the problem it solves is, for example, you lost the key outside and want to go home, you call the police station but how do you prove to him that this is your home, zero-knowledge The proof can prove such a problem.
In this game, it proves that there is a very important information that cannot be exposed, which is the player's position status. This position status is placed on the chain, but you must hide the status, so the status placed on the chain is just hash Value, based on this data, you can not only hide your information but also ensure that your information is not lost, which is very good in this game.
To make another analogy, for example, when two people play chess, you can clearly see how each piece moves on the chess, but when you play military chess and dark chess, you can’t see how I attack. You can only know when two people are playing against each other. In terms of the game of information hiding, this kind of game is very suitable for zero-knowledge proof, which is very important for the full chain of a game. If a game needs to hide information for game, it is difficult to achieve full chain, because You can see your result as soon as the game is on the chain, but the game cannot be played. Zero-knowledge proof can solve this problem very well, and it is very helpful for the full chain of the game.
We have been doing blockchain games since 2017, and the big feeling is that we want to embrace the big ecology of Ethereum.We are also very happy to see a batch of high-performance competing chains come out, but a chain with better ecological independence still needs a strong consensus and the contribution of many people. Especially the rise of DeFi requires a strong ecology in such a complex network. Ethereum is basically the best ecology in our industry. We still want to go to this big ecology and do something to make the project There is a better development. Based on this big premise, our own project is also designed in this way. The previous main network will be temporarily suspended, and it will be moved to the Ethereum ecosystem. For the time being, we will do some things on the BSC side chain.
thank you all!
thank you all!