erik-lance / Cataclysm-Digital-Companion

A digital companion for GAMEDES Elective
https://cataclysm-digital-companion.vercel.app
0 stars 0 forks source link

Map Randomizer #3

Closed erik-lance closed 5 months ago

erik-lance commented 5 months ago

Create a file under /src/utils/ called randomizer.ts.

This will be the helper file for randomizing the map obstacles (walls and destructibles). We generate an int[][] array similar to the format in #5 . This file simply provides a map data randomizer function.

johnwhoyou commented 5 months ago

Implemented in 48f7c5f27ad39a1b77744c3d4aaa2319a4e1f21f