danielfilipealmeida / adventure_studio

Integrated Development Environment (IDE) designed for creating text-based adventure games.
0 stars 0 forks source link

Load the Project Data #13

Open danielfilipealmeida opened 1 day ago

danielfilipealmeida commented 1 day ago

Description
Implement functionality in C to load project data such as rooms, room connections, and objects from a JSON file.

Tasks

  1. Create a loader function in C that loads the rooms, room connections, and objects from a JSON file.
  2. Implement unit tests to ensure the loader function works as expected.
  3. Use nlohmann/json to parse the JSON data.
  4. Add error handling within the loader function to catch and report errors without crashing the program.

Expected Outcome