Skip to main content

Built and signed on GitHub Actions

Syllabist Engine provides the underlying logic for the Syllab.ist word game

This package works with Deno, Browsers
This package works with Deno
This package works with Browsers
JSR Score
35%
Published
5 months ago (1.0.0)

Syllabist Engine

Syllabist Engine will provider the underlying logic for the Syllab.ist word game.

Features

In it's first iteration Syllabist Engine will have the following features:

  • Utility:

    • Sourcing Plain Text word files.
    • Syllabifying Plain Text word files into a separated Plain Text.
    • Transforming the separated Plain Text files into JSON format.
    • Compressing the JSON into syllabist format.
  • Gameplay:

    • Comparing a list of selected syllables with the JSON structure to determine validity.
    • Suggesting alternative paths from the last selected syllable.

At time of first commit, the utility functions are complete.

Environments

Syllabist Engine will be built to run on Deno components whch will be shared with the brower environment such as the Expander component, Matcher component and Suggestion component should not use any Deno internals as these will not be availble in the browser environment and polyfilling will increase the package size.

Tools

Code coverage is monitored via the codecov service and should not drop below 98%, if possible.

Tests and formatting will be checked in Github Actions on commit and when a Pull Request is created. All commits to main will be made via a Pull Request, committing directly will not be allowed.

Committing

All new components or new functionality should be covered as thoroughly as possible by unit tests.

Significant workflows such as: sourcing a Plain Text file, converting a Plain Text file and matching a syllable list to a data structure should be covered as thoroughly as possible by e2e tests.

All Deno components should have benchmarks.

Testing and Benchmark Exclusions

Component Exclusion Reason
Constants.js Unit tests & Benchmarks No executable code
Stubs.js Benchmarks Test utility for which performance is unimportant

Status

Syllabist Engine

codecov

Built and signed on
GitHub Actions
View transparency log