8000 GitHub - r-gke/stratops
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

r-gke/stratops

 
 

Repository files navigation

stratops

Test

Strategy games and strategy game variant rules and operations in TypeScript.

based on chessops: https://github.com/niklasf/chessops/

Development

Install build dependencies

pnpm install

Update deps based on package.json file

rm -rf node_modules pnpm-lock.yaml && pnpm store prune && pnpm install

Compile typescript

pnpm run prepare --watch

Run tests

pnpm run test --watch
pnpm run test src/squareSet --watch

Before committing

pnpm run lint
pnpm run format

Watch changes from another project (link)

In the other project (e.g. lila)

  • declare the link towards stratops (from project's package.json)
"dependencies": {
  ...
  "stratops": "link:/path/to/stratops",
  ...
}

in stratops

  • create .env.local file based on .env.local.default
  • link back:
pnpm run link
  • trigger compilation (no watch mode):
pnpm run prepare

License

stratops is licensed under the GNU General Public License 3 or any later version at your choice. See LICENSE.txt for details.

About

No description, website, or topics provided.

Resources

4AC0

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.8%
  • JavaScript 0.2%
0