What is Onchain Reality with guiltygyoza, Kunho Kim
ETH Seoul 2022 · August 2022 · 23:16
Guiltygyoza and Kunho Kim of Topology introduce onchain reality: games whose rules run as smart contracts on Starknet, so they are transparent, auditable and changed only through community governance. Drawing on Dark Forest and user-generated content in games like Roblox, the talk argues that players can become builders and governors. It presents Isaac, an onchain game built on a three-body simulation, where governance voice is earned by playing rather than buying tokens, and previews a fighting game driven by an onchain AI.
Speakers
Topics
From ETH Seoul 2022, hosted by Kryptoplanet.
Transcript
hello everyone i am uh i'm guilty gyoza i go by guilty or gyoza both fine uh my co-founder of topology we are building games uh fully on chain on starknet okay um so uh we're going to talk about a lot of about video games today and we think that there are a lot of past evolutions in the game industry right and every time video games transformed right uh last time around mobile came and we have mobile casual games and mobile give us access to games 24 7. but we think that blockchain will transform video games in a very different way we think blockchain will bring significance to gaming because blockchain is the place
where things are immutable they are permanent they are hard and so things happening on chain has significance and so it will transform video games in a very unique way we think that the game industry right now is akin to web 1.0 so we're kind of calling it game 1.0 uh what game 1.0 means that there are very few people creating video games and the majority of people are consuming the video games so there's a massive skill towards read very few people write to the game as a medium this is like recent statistics in the united states for every one employee in
the game industry there's 1 000 gamers in the us and so you know when we think of gamers we think of people the persona where people are consuming the content and game logic provided by the game developer while the game developer created the content program everything to give you the experience all right so a bunch of video games here on top left we have fortnite when you play fortnite and you basically uh that's a portal four you basically click your left mouse button aim and release your left mouse button and you deploy a castle and all you do is engage with your mouse but the game developer did all the fun stuff right modeling the castle programming uh creating the
computer program that would model the castle place it place the geometry in the scene and so on all the wonderful stuff and you as a gamer are only enjoying the mouse clicking action that is kind of unfortunate we think the game developers are enjoying so much by creating games and gamers are thus far still passively consuming what is provided to them um on the right you have a street fighter and so when you're using a space your special um hadouken in this case you're pressing a combo of keys and you're triggering the computer logic programmed by the developer you're not doing anything more than that right but the computer programmers did a lot a bunch of interesting things drawing the animations programming every little bit of the logic to give you that experience
um same for uh ghost recon breakpoint same for witcher 3 cdpr there's just a lot of things that go behind the scene game developers did and we as gamers are consuming the content and experience provided by them now this sounds terribly like game web 1.0 right and so how do we go to game 2.0 um well one way is to think about system one and system two this is uh thinking fast and slow um and so when you play video games a lot of fast twitch keyboard and mouse that's system one system two is like slow thinking strategic thinking right uh burning your brain sort of thing um in fact a lot of the ten thousand hour game so-called games with incredible depth they are engaging
system two uh intensely so this is the uh beloved age of empire two uh we are looking at uh the famous mbl placing a town center next to the opponents town center this is the famous persian douche right and so by playing persian you enjoy like half resource placing your town center or building your town center and your town center has double hp and so you can basically pull this troll off right so kill your town center move all your villagers to the front and rebuild your home right next to your opponent's home and just shoot down your opponent's tc this is a funny thing and game developers programmed everything um you know program the the logic program setting all the parameters that define what each what each civilization means as gamer we
engage our system through we think strategically about these different strategies to utilize the logic provided by the game developer but still we cannot touch the game code right well other than modding right but the canonical primary game operated by the game developer we can't touch it we can only modify the game as fans okay so uh when it comes to players creating things in game we have to talk about ugc right we just have to talk about it user generate content and uh when it comes to ugc uh it has a very long history so this is a ghost recon future soldier as fps player we love customizing our
guns we like to love to customize how our scope is how our muzzle is our magazine size all that stuff another kind of customization is the appearance editor so this is a naraka play point people love to customize their avatar how they appear in games and this customizer gives you the ability to sort of parametrically play with the sidebars to tune every little details about your facial expression and your body appearance just to give you a benchmark so this is a game with like chinese kung fu usha kind of background with some japanese influence but with the parametric facial editor player gamers are creating ridiculous stuff you know
like iron man uh geralt from the witcher 3 series and so on it's like incredible stuff right so we we have felt this trend where gamers want to actively participate in creating games creating things that exist in games we have to talk about roblox if we talk about ugc so this is the roblox editor where an interface is provided to gamers mostly young kids very young kids that are using this interface to design their little worlds and design little games for other kids to play and furthermore there's a scripting language embedded in the interface which is the lua scripting language so young kids are learning lua in order to play roblox and create games for their friends to play
so this is very cool and let's come back to blockchain for a little bit dark force we have to talk about dark force if we talk about ancient games and what's fun really fun about our force is we have a whole part of the game that is not provided by the game developer right gamers are writing plugins and scripts that are automating automating various different things and there's like whole marketplace also created by gamers not the developer that are hosting these different plugins and these are all user-generated content user-generated scripts so this is really fun but can we take a step further so i like to use this mental model thinking in like schematic terms so let's start with this we have a set
of rules the gate rules of the game and basically the rules would spawn a space of play right so if like in linear algebra you will have like a basis spawning a vector space kind of like that concept right so the rules define the boundary of play outside of boundary is illegal you can play within the boundary now let's put the people here so we have gamers playing in the space of play and we have developers that are building the rules and the rules exist as computer code that's what video games is and the way gamers can influence the rules thus far is indirect right so the gamer can choose to play or not play a game or the gamers can go to steam and upload or downvote a game or put negative comments
to influence the developer to change the rules of the game and so gamers have indirect way of influencing the game and it's basically engaging market forces and capitalism so that you know game developer would sometimes are aligned with gamers they would change the game towards what gamers want sometimes they will fail and the game would die now let's put blockchain into the picture so what if we run the rules of the game on chain right so rules define transitions from game stay in the game state and their computation right so we can write this computation in the form of small contracts and put it on chain so we have games running fully on chain when the rules are enforced on chain we
have a hunching game like dark force conquest excretia and so on what's interesting here is that because the rules are unchanged they're transparent people can audit it and we can also govern it so we can say well no change can be made to the on-chain game unless some community you know reach a consensus to approve it or disapprove it right so we can put an end gate there that logical end says developer can develop new feature but it is gated by some governance decision players have to pass that proposal for the new feature to be implemented into the game and because the game is on chain we can govern it in a in a fully transparent way and notice that the play stroke color of play is the same as
stroke color of govern we think it's important for the gamers to govern the game not coin voting not people with uh you know a capital power and so you have to play the game to have a share to to govern the game and basically we can just replace the gate with the with the dow so that right there is a dow right we can have a doubt that governs the game where every change made to the game has to be approved by the gamers and gamers would get governance right by playing the game not by buying doubt tokens in the market and i think dark force establishes a path here which is gamers themselves are developers they write programs that enhance the gameplay that expand the gameplay and so we can perhaps break that boundary we are all gamers building
games playing games and governing the games um lastly i want to add one last component there um so so far we have established that in order to change the rules of the game we need consensus right so the dial will form some kind of consensus to approve a new feature to be added to the game a new character or a new special ability or nerfing or buffing something another way to change the rules perhaps is through some autonomous route so imagine some meta rules beneath the rules that are just completely immutable and they dictate the some kind of algorithmic change of the rules one example i can i can think of is imagine darwin darwinism evolution so
the meta rules will be the darwinian evolution and the rules will be the species what exists in the world and the evolution doesn't change but the species change over time right new species come up some species goes into extinction and so on but there's some kind of algorithm the meta rules that govern the autonomous evolution of games and this perhaps is can be called as autonomous games okay um so we're making this thesis that we think game right now is at game 1.0 and we are moving towards game 2.0 which we think will have such significance it's a different kind of reality and we're calling them unchained reality and it has a couple of characteristics uh first of all the core game systems
are fully unchanged so it's fully transparent auditable smart contracts it's immutable by default and it's only immutable either by some kind of consensus reached by the community and there should not be coin voting involved that's why it's called merit-based consensus or or by some kind of autonomy of smart contracts so small contract runs some algorithm that dictates the change of rule and the algorithms are immutable and so no one can change the laws of the universe basically uh in order to demonstrate these concepts we at topology have made a hunting game or arching reality called isaac isaac is the first thing about newton isaac newton because we're
running uh basically the three body problem in a small contract and for people who have read the three-body problem story uh it's by a famous chinese sci-fi novelist um and um essentially imagine a solar system where there are three suns and there's like a planet that revolves around these three suns and it's a very poor planet right at any given moment time you may be crashing into a sun or getting too close or too far away from the sun so you'll be either too hot or too cold and so on it is a very harsh environment and so players have to work together to change their fate and so isaac is a game inspired by these stories the three-body problem and also the wandering earth by
the same novelist and also the famous factorial building game resource management game documentation open source uh small contracts all open source and we're currently doing close alpha all right so the game can be understood as three suns in the planet everyone is on the same planet and everyone is building these production pipelines that are harvesting resources and transforming resources and eventually they build planetary engines this is the wandering earth story and so imagine planetary engine as a rocket right and you basically mount your rocket on the surface of the planet and you launch the rocket and you know by newton's layer law there will be a reaction right so you can drive your planet by launching the rocket that's
essentially how players work together to build rockets place their rockets and launch them to drive their planets here and there to dodge the sun and evade the sun and eventually they can escape the sun if they can drive accelerate their planet to escape velocity so they can just escape from this hell hellish environment and that constitutes a win right so the game treats uh escaping the solar system as a win all players win together and when the planet crash into a sun all players die and lose together okay so this is a screenshot from the front end we have three suns and a tiny planet and this is the screenshot at the front end where
players are building pipelines that harvest resource and transform resources and so on this isn't close alpha okay so again all players are unite against the common objective there is no pvp it's entirely co-op pve and what's special about this technically speaking is that the physical laws is operated in a small contract and also the regulations that you know dictate the logistics you know how much resource is harvested is transformed every single tick and so on all these different things are enforced in a small contract so what do we mean by physics when we talk about when we talk about suns and planets right orbital mechanics we have to talk about
newton's law of gravitation so we have the inverse square law right the further you are the less gravitational pull you exert on me and so on and we are approximating this using the standard numerical method right so for anyone taking classes in numerical simulation you know this is the standard very simple uh fourth order ranking cuda method for approximating the uh the differential equation of the gravitational law and we are running this basically this numerical simulator in the cairo contract on starknet on ethereum so that's the layer too and there's also a chaotic system all right so three-body problem is a chaotic problem so we are living in a solar system with
two body we and the sun and everything is pretty stable we just go around in circles and ellipses but in a three-body problem things are very chaotic you can't really project far enough into the future where you are and that's why it's easy to go into destruction but when we run everything on a blockchain everything is transparent and deterministic right so as a gamer i can take the contract from the blockchain and run it locally basically run it four by like 1000 ticks and i can perfectly predict what will happen in the next 1000 ticks everything is deterministic okay so that reduces the difficulty so we can put back to chaos by injecting some randomness and again randomness oracle
the the rabbit hole so we're not doing any article we are deriving random numbers from player actions if you if you know uh fiaschemir we're taking inspiration from fiascomir randomness is derived from sort of hashing together a bunch of player actions in the last tick and so players either optimize their actions and forget about gaming the randomness or they gain their randomness but they they make a bunch of unreasonable player actions so either one or the other which we think players would definitely choose to do the right action and forget about gaming the randomness so this is the the fiasco mirror idea again there are production lines and there are power grids and so the problem is about players working together to
solve this optimization problem at the civilization level so it's a massive co-op factorial game multi-ingress we like the idea that when we make a game we want people with different backgrounds and interest to come in right so you think about counter-strike it attracts people that love muscle twitches and shooting people and that's not everyone right and so this game caters to different people people want to look at circuit layouts engineers people want to look at production throughput right uh people working in like heavy industries and just or oftentimes just nerdy about throughput optimization people that have interest in physics and want to look at the orbital mechanics they can come in and look at that and
finally there's the human coordination problem because everyone needs to work together to pilot their planet around right and imagine a planet with 1 000 people all in the same discord channel and they're all discussing who to do what when that's a human coordination problem and so people who love to do that can join the universe and help coordinate people just by talking they don't play the game and finally just like dark force this game is client agnostic so gaming running on chain everyone can build a front end that interface with the game and visualize the game and so this also presents a client building game how to build the best client that visualizes the game in a optimal and enjoyable way just as a bonus we are doing uh open
alpha soon and we put up this on-chain puzzle constituting uh 50 different puzzles and we're saying that one account can only solve one puzzle and only when you solve a puzzle can you uh choose to can you join the isaac later and so if you haven't already solved the puzzle when later we do open alpha and you send a transaction to join isaac your transaction will revert so this is kind of a way to say well you need to have already solved the puzzle to be able to participate in our alpha and it's all on chain and finally coming back to governance we think governance is super important here and we want to explore non-coin voting mechanism so we're pushing this idea called car style cars is coming from
james cars the author of the proposal of the concept infinite game uh car style is essentially a governance pattern where you govern in order to govern more and play more instead of you play in order to win and stop playing so this is a concept of infinite game okay so the schematic card style is you as players on the top left will play the game which is the subject there and if you play the game well you would earn voice in the doubt right and the voice will be mapped into votes and you can vote on uh proposals proposals are exactly on-chain changes to the on-chain game so everything is fully auditable there are small contracts
in order in order to have governance right or voice in the dow you must play the game well the voice is not some token on the market you can buy so you have to play isaac well to get voice to have votes to vote on proposal to govern the change of isaac on chain in order to play isaac better and repeat that process right so you play more to play better and so on instead of having this sort of dow token mechanics where if you buy dow token you would somehow vote for proposals that would get the price appreciated and then you will exit and then you will stop governing that's finite game and we are all about infinite game so this is the architecture diagram of isaac so isaac implements the
car style pattern you have the dao governing the game on chain the proposal contract the charter contract everything is unchanged so every change made to the dow needs to be approved by the voters and voters are gamers they play the game and finally we want to mention our partners yagi builds the ticker on starknet is you can see it as a clock basically the the gelato network on layer one but on starting it layer too and apibara is the indexer that listens to all events emitted from the isi contracts and and uh put up a nice back end for the front ends to query uh efficiently okay and lastly we want to talk about our upcoming unannounced project we want
to explore more the space of play we are very inspired by dark force the ability for gamers to write scripts and automating things and expanding the complexity of play we want to do something like that and we also want to explore meta rules so many rules again are these algorithms on chain that are immutable they would evolve the game algorithmically and so the gamer game the rules of the game are evolving by some algorithm you can call that autonomous game and we want to build this on chain obviously and we are exploring the fighting game mechanics we love fighting games and um oh it's not repeating and so what you're seeing is it's a female character with a katana and um
can we repeat the the video again sorry yeah thank you yeah so it's a female character with the katana and what she did is you know four dash a backward dash then a four dash but she cancels the four dash into a attack a sequence of attack animation so uh yo for people who play fighting games you will know what i'm talking about and what's special about this game is there is an ai that drives the character so this sequence is not controlled by me pushing keyboards and mouses this sequence of action is driven by some very rudimentary ai in a smart contract that dictates the behavior of this girl also the physicist is in a small
contract obviously so you know the characters move forward and backward accelerate they accelerate the physics is the physics is enforced in a small contract um yeah so this is our next experiment and we are very excited to explore the paradigm of game 2.0 we think we are moving into this new paradigm and in order to build this we are in need of talents as we're looking for smart contract engineer we're looking for research engineer and also front-end designer if you're interested in this vision come talk to us thank you
