jolestar / gomoku-wasm

A Gomoku game implements with WebAssembly

Home Page:http://jolestar.com/gomoku-wasm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A Gomoku game implements with WebAssembly

http://jolestar.com/gomoku-wasm


Languages

Language:TypeScript 96.2%Language:Python 2.1%Language:HTML 1.6%