This example demonstrates how to create on-chain turn-based game (chess in this case) integrated with NEAR Wallet.
yarn
yarn start
assembly/main.ts
for the contract codeassembly/modelts
for the data model codesrc/main.html
for the front-end HTMLsrc/main.js
for the JavaScript front-end code and how to integrate contractssrc/test.js
for the JS tests for the contract