Skip to content

deemp/arigame

Repository files navigation

Arigame

An arithmetics game written for my sisters.

Play here

Development

  1. Get development tools.

    • nodejs, purescript and spago.

    • Alternatively:

      1. Install Nix and direnv.

      2. Enable direnv in this directory.

        direnv allow
      3. Now, you should have a devShell with tools like nodejs, purescript, dhall-lsp-server, etc.

      4. If using VSCode, install the nwolverson.ide-purescript extension.

  2. Install dependencies.

    npm i
  3. Run SASS converter in watch mode.

    npm run sass
  4. Run spago in watch mode.

    spago build -w
    • The nwolverson.ide-purescript extension for VSCode does this for you.
  5. Run parcel in watch mode.

    npm run dev
    • It will open a browser tab with the app running on port 1234.
  6. (Optionally) Run localtunnel to access your app on other devices.

    npx lt -p 1234 -s <SUBDOMAIN>
    • It will listen on port 1234.
    • The app will be available at https://<SUBDOMAIN>.loca.lt.
    • You can specify subdomain via the -s argument.

References

About

An arithmetics game written in PureScript using Halogen, SASS, and Bootstrap 5

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •