Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 497 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 497 Bytes

step.1 build contract

npm run fcontract:build2

step.2 build Aspect and run test

npm run aspect:build && node tests/test_tx.cjs

step.3 display game map

eit .env, modify actual CONTRACT

npm run Counter:display

👆this command will real-time query contract and display game map.

step.4 move player

npm run Counter:moveDown

expect test result

will display two red number on map, which means there are two player!