Author: Ankit Mogha

Let us Build Checkers, the Board Game in Rust

Reading Time: 4 minutes In my previous blog, you have seen how to build checkers game and implements its basic rules using WebAssembly. In this blog, we build Checkers game using Rust programming language. Let’s get started To get started, type the following in the terminal: Now rustycheckers the library project is created. Setting Up the Checkers Board To start writing the code to manage the game board, the Continue Reading

Let us Build Checkers, the Board Game in WebAssembly

Reading Time: 4 minutes Checkers is a fairly simple game played on an 8×8 game board. The board’s squares are typically alternating colours. Each player then places 12 pieces on the board in fixed squares spaced evenly one square apart from each other. So one Player controls black pieces another player controls white pieces. Lets us see what are some basic rules of the game :- The opponent with Continue Reading

Object Oriented Programming Concepts in Rust

Reading Time: 4 minutes Object Oriented Programming (OOPs) Concept Object Orientated programming is a methodology or paradigm to design a program using classes and objects. OOPs provides the following concepts: – Class and Objects Inheritance Encapsulation Polymorphism Abstraction There is a big debate about how many of these concepts a language needs to implement to be considered object-oriented. Today we gonna see how Rust implements these concepts to be Continue Reading

BABE – Consensus Algorithm and How to Implement it

Reading Time: 3 minutes What are consensus algorithms? Consensus means finding a way so people on a blockchain can reach a common agreement about the present state of the distributed ledger. Consensus algorithms make sure that all the nodes on the blockchain can reach a consensus over some computation. As a result, It will bring reliability to the blockchain network and establish trust among all the nodes in a Continue Reading