0.6.15 • Published 1 year ago
@shogitter/core v0.6.15
@shogitter/core
@shogitter/core is a core logic of http://shogitter.com
Status
- This library is used by shogitter, to generate legal move for each shogi variant rules and validate users' moves.
- Shogitter had been using PHP code (it wasn't an apparently bad choice in 2010 when I was an undergrad student!), and
@shogitter/coreis an almost direct translation of PHP code to TypeScript.- Because of that, some code look not fluent in TypeScript.
- The code is covered by some integration tests. You can see how to use it
Plan
- Integrate
@shogitter/coreto the shogitter itself - (optional) Provide an example UI to play around with what
@shogitter/corecan do
File structure
integration-tests: Integration testssrc: main source codedb: definitions of rules. It looks like an output ofmongoexportcommand because it is.koma.ts: definition of piecesrule.ts: definition of rulesrulegenre.ts: definition of rule genres (categories)
strategy: "strategies" which can customize behavior ofShogiclass
Disclaimer
- There's no clearly defined interface. I can change any interface at any moment
License
@shogitter/core is licensed under GNU AGPL v3.0, except for usages in applications that are listed in agpl-exempted-applications.txt where GPL v3.0 is applied. The list is subject to change in future with an approval of the original author, na2hiro.
0.6.7
1 year ago
0.6.6
1 year ago
0.6.9
1 year ago
0.6.8
1 year ago
0.6.10
1 year ago
0.6.12
1 year ago
0.6.11
1 year ago
0.6.14
1 year ago
0.6.13
1 year ago
0.6.15
1 year ago
0.6.3
1 year ago
0.6.2
1 year ago
0.6.5
1 year ago
0.6.4
1 year ago
0.6.1
1 year ago
0.6.0
1 year ago
0.5.9
1 year ago
0.5.8
2 years ago
0.5.7
2 years ago
0.5.6
2 years ago
0.5.5
2 years ago
0.5.4
2 years ago
0.5.3
2 years ago
0.5.2
2 years ago
0.5.1
2 years ago
0.5.0
2 years ago
0.4.0
2 years ago
0.3.1
2 years ago