near-chess
near-chess copied to clipboard
Online chess game running on NEAR Protocol
NEAR Chess
Description
This example demonstrates how to create on-chain turn-based game (chess in this case) integrated with NEAR Wallet.
To Run
yarn
yarn start
To Explore
assembly/main.tsfor the contract codeassembly/modeltsfor the data model codesrc/main.htmlfor the front-end HTMLsrc/main.jsfor the JavaScript front-end code and how to integrate contractssrc/test.jsfor the JS tests for the contract