Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jolestar/gomoku-wasm
A Gomoku game implements with WebAssembly
https://github.com/jolestar/gomoku-wasm
assemblyscript gomoku typescript webassembly
Last synced: about 2 months ago
JSON representation
A Gomoku game implements with WebAssembly
- Host: GitHub
- URL: https://github.com/jolestar/gomoku-wasm
- Owner: jolestar
- Created: 2019-04-12T05:35:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-28T14:29:22.000Z (over 1 year ago)
- Last Synced: 2024-04-04T14:31:33.467Z (6 months ago)
- Topics: assemblyscript, gomoku, typescript, webassembly
- Language: TypeScript
- Homepage: http://jolestar.com/gomoku-wasm
- Size: 2.26 MB
- Stars: 35
- Watchers: 4
- Forks: 7
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-assemblyscript - jolestar/gomoku - Go(moku) engine implementation (Projects / Games)
README
# 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
```bash
npm install
npm run build
```### Release
```bash
npm run release
```### Run
```bash
npm run dev
```or run by python server(do not need node env)
```bash
python server.py
```open http://localhost:1234 with browser.
### Online Demo
[http://jolestar.com/gomoku-wasm](http://jolestar.com/gomoku-wasm)
### References
* [AssemblyScript](https://github.com/AssemblyScript/assemblyscript) A TypeScript to WebAssembly compiler
* [as2d](https://github.com/as2d/as2d) brings 2D to AssemblyScript
* [wangdongdongc/Gomoku](https://github.com/wangdongdongc/Gomoku) A typescript Gomoku game, gomoku-wasm's game logic is mainly draws on this project.