Impluse News
  • Home
  • News
  • Politics
  • Business
  • National
  • Culture
  • Opinion
  • Lifestyle
  • Sports
No Result
View All Result
  • Home
  • News
  • Politics
  • Business
  • National
  • Culture
  • Opinion
  • Lifestyle
  • Sports
No Result
View All Result
Impluse Logo
No Result
View All Result
Home NFT

Writing a Blockchain Game on Rust Smart Contracts Over the Weekend: nft

by Impluse News Desk
February 10, 2022
in NFT
0
nft
7.9k
SHARES
788.7k
VIEWS
Share on FacebookShare on Twitter

Now there are regular announcements about NFT-metaverse-blockchain-games that have attracted investments of millions of dollars estimated at billions, but when studying projects, there are either Coming Soon dice, or the sale of JPG-pictures at auctions of NFT-tokens, or centralized projects with homeopathic doses of blockchain. Before calling it all a hype bubble, I decided to figure out the technology stack on my own and make my own NFT blockchain game with a minimum of resources. Read under the cut how I did it in just 2 days, and also buy my NFTs (no).

The main criteria for creating a game for me were the following:

  • Victory is determined by skill, not randomness
  • Ability to play against real people for real money

Problems to be solved:

  • Confidence. Before putting money on the line, the player must be sure that he will definitely receive the pot if he wins, and the rules of the game will not be changed.
  • Simplicity. If it is difficult to deposit/withdraw money or understand the game, this narrows the circle of players.
  • Lack of personal resources. I need to do this with minimal time and, preferably, without legal consequences.

There was no need to accept payments because, in the blockchain, each account is automatically a wallet. If the whole game is put into a smart contract, then it will turn out to be trustless, since it does not require a server/backend and therefore does not imply the presence of a trust center. You just need to trust the code. Players send all their actions to a smart contract, which processes them and at the end decides who won and then automatically pays the prize.

A smart contract (or decentralized application, dApp) is a kind of autonomous immutable entity (microservice) that operates in a distributed network (blockchain) and runs in containers on validator servers. Validators have a financial incentive to behave correctly and remain accessible. In this way, game users can trust that the code will work in a predictable way, and its author will not be able to run away with money by shutting down the servers.

It was quite expensive to execute transactions on the “first wave” blockchains, but in recent years there have been many solutions with extremely cheap transactions, something like $0.001 per “turn” with a confirmation time of 1 second. Of course, you can’t build RTS or shooters here, but at least board and logic games already look suitable. Also, the use of new Wasm blockchains as a virtual machine allows us not to reinvent the wheel of our own game mechanics, but to use something previously written and laid out in Open Source.

I decided to start with a regular game of checkers, using someone else’s ready-made code to the maximum. I opened git, ran a search, and took the first links from the search results: ready-made code for the game logic ( rusty-checkers ) and JS UI for the frontend ( checkers ).

Tags: Blockchain nftnft newsnft token

Impluse News Desk

Related Posts

NFT
NFT

NFT pictures will be hacked at The Standoff

February 15, 2022
Analysis of the tasks of the contest for hacking NFT “The Standoff Digital Art”
NFT

Analysis of the tasks of the contest for hacking NFT “The Standoff Digital Art”

February 14, 2022
NFT
NFT

Step-by-step instructions on how to create an NFT collection on Golang + Ethereum (part 1)

February 13, 2022
Next Post
crypto

The new gold rush in Silicon Valley: the boom of work in crypto startups

SushiSwap

Sushi Drama: how a conflict in the SushiSwap team almost killed a promising project

business

The collapse of the mining "business". Arbitrage practice

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Follow Us

Recommended

NFT

Step-by-step instructions on how to create an NFT collection on Golang + Ethereum (part 1)

5 months ago
Zakharova

Zakharova said that new steps against the Russian media “will cost a lot”

5 months ago
Kiev

Striptease bomb shelter: how the people of Kiev are preparing for the “invasion” of Russia

5 months ago
Antonov

Ambassador Antonov said that the United States fears a rapprochement between Russia and China

5 months ago

Instagram

    Please install/update and activate JNews Instagram plugin.

Categories

  • Business
  • Crypto
  • Culture
  • Featured
  • Lifestyle
  • National
  • News
  • NFT
  • Opinion
  • Politics
  • Sports
  • Travel
  • Uncategorized
  • World

Topics

Beijing Beijing Olympics bejing Blockchain crypto Budget 2022 centralization crypto nft corona coronavirus covid covid 19 crypto crypto currency crypto news crypto stored defi blockchain Dmitry game news ice hockey implusenews impluse news Krasnodar moscow Nepryaeva news nft nft and metaverse nft news nft project nft token nft use olympic olympics omicron Poklonskaya Putin \ russia Russian scientist skaters st petersburg ukraine Ukrainian United States Ural dumplings Zakharova
No Result
View All Result

Highlights

कामगारों के लिए ई-श्रम पोर्टल पर रजिस्ट्रेशन की हुई शुरूआत, जानिए कैसे कर सकते हैं रजिस्ट्रेशन

Savor The Cryptocurrency Experience Fully With Crypto Mufasa.

Technology, business, and why freelancers have emerged

Williemgc exceeds 1 million subscribers on YouTube

Cryptocurrency vindication. Arbitrage practice

NFT pictures will be hacked at The Standoff

Trending

Soni Mehta: Acing The World of Dance and Entrepreneurship.
Lifestyle

Soni Mehta: Acing The World of Dance and Entrepreneurship.

by Himanshu Mahawar
May 7, 2022
0

Soni Mehta is a young influencer, professional dancer, choreographer and entrepreneur from Punjab. She has been staying...

ForexGlo

ForexGlo: The young musical artist has shown his A-game through each of his tracks.

April 11, 2022
Shabaz Zamani

Spell bounding millions of listeners around the world with his melodious voice and catchy songs is Shabaz Zamani.

April 6, 2022
कामगारों के लिए ई-श्रम पोर्टल पर रजिस्ट्रेशन की हुई शुरूआत, जानिए कैसे कर सकते हैं रजिस्ट्रेशन

कामगारों के लिए ई-श्रम पोर्टल पर रजिस्ट्रेशन की हुई शुरूआत, जानिए कैसे कर सकते हैं रजिस्ट्रेशन

March 9, 2022
Savor The Cryptocurrency Experience Fully With Crypto Mufasa.

Savor The Cryptocurrency Experience Fully With Crypto Mufasa.

February 28, 2022

Impluse News

Impluse reports news on the latest technology, science, and business developments, their interactions with other industries.

Recent News

  • Soni Mehta: Acing The World of Dance and Entrepreneurship. May 7, 2022
  • ForexGlo: The young musical artist has shown his A-game through each of his tracks. April 11, 2022
  • Spell bounding millions of listeners around the world with his melodious voice and catchy songs is Shabaz Zamani. April 6, 2022

Categories

  • Business
  • Crypto
  • Culture
  • Featured
  • Lifestyle
  • National
  • News
  • NFT
  • Opinion
  • Politics
  • Sports
  • Travel
  • Uncategorized
  • World
  • About Us
  • Contact
  • Privacy Policy
  • Terms and Conditions

© 2022 IMPLUSE NEWS

No Result
View All Result
  • Home
  • Politics
  • News
  • Business
  • Culture
  • National
  • Sports
  • Lifestyle
  • Travel
  • Opinion

© 2022 IMPLUSE NEWS