Skip to content
A Gomoku game implements with WebAssembly
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assembly fix getWinner when game is not over. May 9, 2019
docs release May 9, 2019
src
.gitignore support as2d Apr 1, 2019
README.md
index.html
package-lock.json
package.json
server.py refactor move out sdk and game room logic. Apr 15, 2019
tsconfig.json add tsconfig and dependency. Apr 1, 2019

README.md

A Gomoku game implements with WebAssembly

This project try to implement Gomoku game engine with AssemblyScript, and game GUI with AssemblyScript and as2d.
The game engine can run in browser environment and server environment, GUI only run in browser, so you can put the engine on remote server or local. So it is possible that WebAssembly developers can develop cloud and client applications in a unified way in the future.

Build

    npm install
    npm run build

Release

    npm run release

Run

    npm run dev

or run by python server(do not need node env)

    python server.py

open http://localhost:1234 with browser.

Online Demo

http://jolestar.com/gomoku-wasm

References

  • AssemblyScript A TypeScript to WebAssembly compiler
  • as2d brings 2D to AssemblyScript
  • wangdongdongc/Gomoku A typescript Gomoku game, gomoku-wasm's game logic is mainly draws on this project.
You can’t perform that action at this time.