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:
Settings component - component that will handle game settings (e.g. player name, avatar, map rows, map cols - etc.)
Game component- will encapsulate the game logic
REQUIREMENTS
[x] Create a Game component and move the implemented logic and the Player and Map components
[x] Create a Settings component. The component should only return a dummy element containing a H2 with the tag content "Settings". ONLY CREATE THE COMPONENT - the logic will be implemented in the future!
[x] App.jsx should return the Settings and Game compoments
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:
REQUIREMENTS