Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kurone-kito/dfs-test
đŁ The practice of the depth-first search
https://github.com/kurone-kito/dfs-test
dfs-algorithm example-project
Last synced: about 1 month ago
JSON representation
đŁ The practice of the depth-first search
- Host: GitHub
- URL: https://github.com/kurone-kito/dfs-test
- Owner: kurone-kito
- License: mit
- Created: 2022-04-22T00:18:36.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-21T23:18:10.000Z (over 1 year ago)
- Last Synced: 2023-05-22T00:20:14.283Z (over 1 year ago)
- Topics: dfs-algorithm, example-project
- Language: TypeScript
- Homepage: https://github.com/kurone-kito/fantomo
- Size: 1.23 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.ja.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.ja.md
Awesome Lists containing this project
README
# đŁ The practice of the depth-first search
The project is a practice of the depth-first search for [đť Fantomo](https://github.com/kurone-kito/fantomo).
## TL; DR
```sh
npm ci && npm run build && npm run bin
```### Result
```txt
ââââkââŹâ
ââźââŹâ´kâźP
ââźâźâ¤âkâźâ
ââźâkâźkâ¤â
âkâźâ¤ââââľ
ââŹâźâ´âźâźâŹâ
ââźâźPâPâźk
ââ´ââľkkâ´â´
```- `âź`: Route
- `â`: Mine
- `k`: Key
- `P`: Spawn area## System Requirements
- Node.js Fermium LTS (`^14.19.1`)
## Install the dependencies
```sh
npm install
```## Build (transpile)
The command creates a `dist` directory with the compiled JavaScript files.
```sh
npm run build
```When you want to build with watch on development, you can use the command.
```sh
npm start
```## Invoke the transpiled code
The command invokes the transpiled code: `dist/index.mjs`.
```sh
npm run bin
```## Linting
```sh
npm run lint
npm run lint:fix # Lint and auto-fix
```## Testing
```sh
npm run test
```Currently, the command works as an alias for the `npm run lint` command.
## Rules for Development
Introduce commit message validation at commit time.
â**[Conventional Commits](https://www.conventionalcommits.org/ja/)**â
rule is applied to discourage committing messages that violate conventions.## LICENSE
MIT