【文件属性】:
文件名称:elephant-chess:中国象棋,象象
文件大小:40KB
文件格式:ZIP
更新时间:2021-05-05 04:36:22
JavaScript
象棋v0.1.0-三角洲
中国象棋中国象棋。
用法
Nodejs的
const chess = new Chess('Fair play')
const john = new Human('John Smith')
const marry = new Computer('Marry Parker')
chess.connect(john, marry) // currently without network connection
chess.set(3)
chess.game()
chess.game() // possible set
chess.game() // set or error
chess.game() // error
// Feature in v2.0: use firebase for remote players.
浏览器
// To be descri
【文件预览】:
elephant-chess-main
----package.json(644B)
----tools()
--------run-watch.js(799B)
--------serve.js(2KB)
--------watch.js(116B)
--------build.js(116B)
--------build-lib.js(187B)
--------run-build.js(9KB)
--------build.md(1KB)
--------build-helpers.js(5KB)
----resources()
--------象棋棋谱大全 - 象棋谱.url(48B)
--------Making Interactive Node.js Console Apps That Listen for Keypress Events - thisDaveJ.url(118B)
----LICENSE(7KB)
----dist()
--------index.html(362B)
--------main.js(582B)
----src()
--------index.js(463B)
--------model()
--------view()
--------console()
----build.config.js(491B)
----lib()
--------el.js(8KB)
--------el-v0.js(20KB)
--------el_README.md(615B)
--------makeLexerClass.js(10KB)
--------el-data.js(12KB)
----README.md(10KB)