This example demonstrates how to create on-chain turn-based game (chess in this case) integrated with NEAR Wallet.
yarn
yarn start
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