README: update
This commit is contained in:
17
README.md
17
README.md
@@ -3,12 +3,14 @@
|
|||||||
This is a demo of pathfinding on a 2D grid. It consists of 2 main parts:
|
This is a demo of pathfinding on a 2D grid. It consists of 2 main parts:
|
||||||
|
|
||||||
* python notes and implementation
|
* python notes and implementation
|
||||||
* jupyter notebook file
|
* jupyter notebook file: [`python/pathfinding_demo.ipynb`](./python/pathfinding_demo.ipynb)
|
||||||
* standalone python script
|
* standalone python script: [`./python/pathfinding_demo.py`](./python/pathfinding_demo.py)
|
||||||
* C++ interactive demo
|
* C++ interactive demo: [`cpp`](./cpp/)
|
||||||
|
|
||||||
## Python
|
## Python
|
||||||
|
|
||||||
|
Plots a path from one end of the map to the other. Black tiles represent low-cost path, white tiles have high-cost.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### Standalone script
|
### Standalone script
|
||||||
@@ -21,6 +23,10 @@ Contains the same demo as the standalone script and some notes. Since Github sup
|
|||||||
|
|
||||||
## C++
|
## C++
|
||||||
|
|
||||||
|
Interactive demo of entities moving on a simple map with terrains of varying cost. Draw left-mouse button over entities to select them, right-mouse button to send them to selected destination. Simple collision checks are implemented.
|
||||||
|
|
||||||
|
Uses some C++20 features. Latest generated architecture drawing is available in [`docs/diagrams/class_diagram.svg`](./docs/diagrams/class_diagram.svg)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
@@ -91,3 +97,8 @@ plantuml -tsvg docs/diagrams/*.puml
|
|||||||
```
|
```
|
||||||
|
|
||||||
The resulting svg files are located in [docs/diagrams/](./docs/diagrams/).
|
The resulting svg files are located in [docs/diagrams/](./docs/diagrams/).
|
||||||
|
|
||||||
|
## Acknowledgments
|
||||||
|
|
||||||
|
Entity sprite comes from the Bomberman game, taken from [archive.org](https://archive.org/details/bombermansprites/Custom%20Edited%20-%20Bomberman%20Customs%20-%20Bomberman%20Super%20Bomberman%202-Style.png)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user