Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/danieldidiobalsamo/maze_generator

Maze generator web app | C++ / Web Assembly / Vue.js
https://github.com/danieldidiobalsamo/maze_generator

cpp emscripten emscritpen maze-generator vue wasm webassembly

Last synced: 26 days ago
JSON representation

Maze generator web app | C++ / Web Assembly / Vue.js

Awesome Lists containing this project

README

        

# About

This app is a maze generator and solver, written in C++ and running in your web browser.
It takes advantage of web assembly using Emscripten, which allows the Vue.js frontend to import the C++ maze generator as a Javascript module.

The following algorithms are implemented :
- solvers: A*, Dijkstra
- generators: Backtracking, Hunt and Kill

![image info](./img/ui.png)

# How to launch

The following dependencies must be installed:
- CMake
- [Emscripten](https://emscripten.org/docs/getting_started/downloads.html#installation-instructions-using-the-emsdk-recommended)
- clang (needed for emscripten)
- node.js
- (optional) Boost.test to launch unit tests

Then just launch this script:
~~~
./launch_dev.sh
~~~

Compile and launch unit tests without the http server :
~~~
./launch_dev.sh --no-wasm
~~~