A clone of Flowit using typescript / react / nextjs that can be played at https://flowit-game.github.io/flowit-react/
Is licenced as AGPL-3.0.
To build flowit-react locally, first, install the node modules:
yarnNext clone the levels repository
git clone https://github.com/Flowit-Game/Levels.gitThen convert the levels to the expected format
yarn convert-levelsNow you can run the development server:
yarn devOpen http://localhost:3000 with your browser to see the result.
Ensure you have downloaded and converted the levels. Then run
yarn next build
yarn next exportThis will create an out directory with static files that can be hosted (e.g. On GitHub pages or Amazon S3) to create the site.
If you have docker available and want a quick preview of the site, you can run
cd out
docker run --rm -p 3001:80 -v $PWD:/usr/share/nginx/html nginxAnd then browse to http://localhost:3001