Crossplatform game sample using Nethereum and UrhoSharp
Switch branches/tags
Nothing to show
Clone or download
Latest commit 5ceb4bf Jun 9, 2018

README.md

Nethereum Game Sample

This sample game demonstrates how to integrate Nethereum with the UrhoSharp SamplyGame (game sample) to create a cross-platform game that interacts with Ethereum.

A simple smart contract deployed to Ethereum allows you to tracks the users high scores and the top scores. The sample uses private keys to sign "offline" transactions and use a public node for all the communication, this way avoids the local installation of an ethereum client.

More information on UrhoSharp can be found on the Xamarin website, and in github the original sample. Kudos and all the credit goes to the Xamarin guys, specially @EgorBo and @migueldeIcaza for the great engine and sample.

Screenshot

Play along!!

There is an android package here.

##Forms or Original A newer version of the sample (which will be maintained if we do any changes) is the Xamarin.Forms version. This demonstrates decoupling the logic from the game, simplification of running other threads in the background, and support of copy and paste which was not provided in the Urho UI. The sample is still very simple, so not MVVM or dependecy injection has been added.

Small video tutorial

This video gives you a quick introduction on the sample:

  • Quick overview of UrhoSharp and cross-platform development
  • Overview of public nodes like infura.io
  • Overview of private keys
  • Overview of the solution structure
  • Overview of the smart contract, .net service, offline transaction signing.

Cross platform game development with Ethereum using UrhoSharp and .Net