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.ts
for the contract code -
assembly/modelts
for the data model code -
src/main.html
for the front-end HTML -
src/main.js
for the JavaScript front-end code and how to integrate contracts -
src/test.js
for the JS tests for the contract