siit-webdev-47 / treasure-hunt-game

1 stars 0 forks source link

Map tiles refactoring #3

Closed Adrian-Moldovan closed 2 months ago

Adrian-Moldovan commented 2 months ago

The map tiles should be organized as a matrix (having lines and columns). It will enhance the navigation and finding a specific tile.

  1. Refactor generateMapTiles() function in App.jsx
  2. Map.jsx component: change the implementantion of rendering the MapTile component in the returned JSX