All Projects → EOSArgentina → Gameoflife Ts

EOSArgentina / Gameoflife Ts

Projects that are alternatives of or similar to Gameoflife Ts

Gltfpp
glTF 2.0 loader for C++14
Stars: ✭ 22 (-24.14%)
Mutual labels:  webassembly
Schnorrkel Js
a Javascript wrapper for schnorrkel signatures on Ristretto using WebAssembly.
Stars: ✭ 14 (-51.72%)
Mutual labels:  webassembly
Terrarium Templates
Template and example projects for Fastly Labs Terrarium https://wasm.fastlylabs.com
Stars: ✭ 21 (-27.59%)
Mutual labels:  webassembly
Wasm Json Toolkit
[ORPHANED] A small toolkit for converting wasm binaries into json and back.
Stars: ✭ 23 (-20.69%)
Mutual labels:  webassembly
Csla
A home for your business logic in any .NET application.
Stars: ✭ 865 (+2882.76%)
Mutual labels:  webassembly
Wagon
wagon, a WebAssembly-based Go interpreter, for Go.
Stars: ✭ 882 (+2941.38%)
Mutual labels:  webassembly
Wasm2kt
Web Assembly to Kotlin and Java converter. Allows to compile a C or C++ program/library, and generate a Kotlin or Java program/library.
Stars: ✭ 18 (-37.93%)
Mutual labels:  webassembly
Node Wasm
Import and use wasm in node
Stars: ✭ 28 (-3.45%)
Mutual labels:  webassembly
Notecalc3
NoteCalc is a handy calculator trying to bring the advantages of Soulver to the web.
Stars: ✭ 879 (+2931.03%)
Mutual labels:  webassembly
Wavm
A High Performance XuperChain WASM Virtual Machine based on WAVM
Stars: ✭ 20 (-31.03%)
Mutual labels:  webassembly
Zemeroth
😠⚔️😈 A minimalistic 2D turn-based tactical game in Rust
Stars: ✭ 940 (+3141.38%)
Mutual labels:  webassembly
Webrtc
Pure Go implementation of the WebRTC API
Stars: ✭ 8,399 (+28862.07%)
Mutual labels:  webassembly
Wps Backend
Smart contract for the Worker Proposal System
Stars: ✭ 15 (-48.28%)
Mutual labels:  webassembly
Viper
[WIP] A Pythonesque language with a design that focuses on efficiency and expressiveness. Compiles to WebAssembly
Stars: ✭ 23 (-20.69%)
Mutual labels:  webassembly
Mondeto
An open, flexible, and secure online virtual reality system.
Stars: ✭ 28 (-3.45%)
Mutual labels:  webassembly
Yew Starter
A template for starting a Yew.
Stars: ✭ 22 (-24.14%)
Mutual labels:  webassembly
Eosocial
Deprecated - 📝 Sample dApp of Votable SNS run by EOS Testnet.
Stars: ✭ 14 (-51.72%)
Mutual labels:  webassembly
Smartcircle
✂️Automatically determine where to crop a circular image out of a rectangular.
Stars: ✭ 29 (+0%)
Mutual labels:  webassembly
Bionic
** Bionic - An Ionic CLI clone for Blazor projects ** moved to:
Stars: ✭ 28 (-3.45%)
Mutual labels:  webassembly
Slate
🌌 A new, strongly-typed, fast, and secure programming language made for WebAssembly.
Stars: ✭ 15 (-48.28%)
Mutual labels:  webassembly

GAME OF LIFE for EOS in TypeScript

Step by step guide on how to execute our first TypeScript proof of concept, where we modified the version of Game of Life that Conway proposed by Fleming on https://github.com/tbfleming/eos-game-of-life.

You will be able to see the implementations in TypeScript of:

  • Use of apply and execution of actions
  • Deserialization of contract entry parameters
  • Use of require_auth
  • Read and Inserts in tables
  • Using same abi file between c ++ and TypeScript

1 Prerequisites - Access to EOS Testnet / Node

2 Clone and install AssemblyScript

git clone https://github.com/EOSArgentina/assemblyscript.git
cd assemblyscript
npm install
npm link
  • For this test, you would need to create a custom version of AssemblyScript, we have already modified it for you on our Github, the only difference is the a mod to prevent import abort function which is not available in EOS.

3 Clone GameofLife-ts

git clone https://github.com/EOSArgentina/gameoflife-ts
cd gameoflife-ts

4 Prepare EOSIO Chain Context

./scripts/01-prepare.sh
  • review this script provided as example and update with your actual context, eg your wallet pass, change cleos to a remote http like cleos -u http:// remote, change your keys, etc.
  • this script should be only executed once, during setup, is setting eosio.token and eosio.system contracts, creating eos token, and creating gameoflife account.

5 Compile

./scripts/02-compile.sh
  • underthehood this compiles using asc (assembly script), then execute sed to hack wast to allow eosio to understand this wast file.

6 Deploy Contract

./scripts/03-deploy.sh
  • uploading contract to the testnet

7 Call TypeScript Action

./scripts/04-play.sh
  • if all worked well you are going to see animated game of life results.
  • review each script, if you have any question don't hesitate to ask us for support on http://eosaurora.io -> telegram.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].