Skip to content

nearprotocol/near-chess

Repository files navigation

NEAR Chess

Description

This example demonstrates how to create on-chain turn-based game (chess in this case) integrated with NEAR Wallet.

Open in Gitpod

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