Collection of small games written for fun.
The games are written as packages that can be wrapped by an API.
(Game control logic is left to the API/UI.)
Currently available is a CLI interface to play the games.
- Tic-Tac-Toe
./packages/tic-tac-toe
- Othello
./packages/othello
- Clone repository
- Run
pnpm install
- If in the root of the repository,
pnpm start:cli
- Alternatively in
./packages/cli
runpnpm start
- Alternatively in
The project uses pnpm
and pnpm workspaces
.
- Clone repository
- Run
pnpm install
in repository root - In package that you want to modify, check
package.json
for available scripts - Write tests for changed/added features
- (currently a little of in-source for unit tests & integration tests as
*.test.ts
file)
- (currently a little of in-source for unit tests & integration tests as
- Update implementation respectively
- Update build
pnpm build