Hasami Shogi board game (please visit the about page of the live preview for a tutorial)
Live preview: https://hasami-shogi.netlify.app
This serverless application was written with Vue 3
as the frontend framework.
Tailwind
is used tp add styling to the elements. Webassembly
(Rust
) is
being used to compute the best move for the computer player. For computing the
best move we're using the minimax
algorithm. Webpack
is used to bundle and
build the application. Github actions
is used as a CI/CD
tool. Netlify
is
used to host the result.
yarn build-wasm
to build the wasm computation engine
yarn serve
to start a local dev server at http://localhost:8080
Write for readability untill performance becomes a problem
The list of conventions that have been adapted for this project.
- Use issue tracker IDs in branch names
- Add a short descriptor of the task
- Use hyphens as separators
Lead with issue tracker ID for the task followed by a short description of what the task is about.
<issuenumber>-description-with-multiple-words
Source: https://deepsource.io/blog/git-branch-naming-conventions/
Structure commit messages as follows:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
Supported types: fix
, feat
, build
, chore
, ci
, docs
, style
,
refactor
, perf
, test
- fix: a commit of the type fix patches a bug in your codebase (this correlates with PATCH in semantic versioning).
- feat: a commit of the type feat introduces a new feature to the codebase (this correlates with MINOR in semantic versioning).
- BREAKING CHANGE: a commit that has a footer BREAKING CHANGE:, or appends a ! after the type/scope, introduces a breaking API change (correlating with MAJOR in semantic versioning). A BREAKING CHANGE can be part of commits of any type.