This is a project for studying algorithms and game design.
To run this project you need to have node, npm or yarn installed.
Just download the code or clone the repo in the desired folder then on the project folder run npm install
to install all the dependencies.
A node_modules folder should appear, after that run npm run build
to build the project.
After building a dist folder with a js folder inside will appear in the project folder.
Now create a new html
file inside the dist folder.
Then paste this code inside the body tag.
<canvas></canvas>
<p>mouse x: 0 mouse y: 0</p>
<script src="./js/index.js"></script>
You will need a server to run the html code, I recommend using the live server vscode extension.
- TypeScript - Main programming language.
- Webpack - Building the project.
- LibreSprite - Creation and edition of the image assests.
The implementation of the path finding algorithm was based on the red blob games implementation.