siit-webdev-47 / treasure-hunt-game

1 stars 0 forks source link

Currently implemented functionalities should be moved in a new Game component #8

Closed Adrian-Moldovan closed 1 month ago

Adrian-Moldovan commented 1 month ago

REFACTORING CURRENT CODE

The curent game logic and state should be incapsulated in a Game component that should be rendered in App.jsx

DETAILS

The App.jsx will render for now 2 React components:

  1. Settings component - component that will handle game settings (e.g. player name, avatar, map rows, map cols - etc.)
  2. Game component- will encapsulate the game logic

REQUIREMENTS