#include #ifndef PUZZLE_H typedef struct { // TODO: figure it out char *LuaSnippet; char *ExpectedOutput; } Test; typedef struct { char *Name; char *Description; /// The tests that are accessible for an end user size_t PublicTestC; Test *PublicTests; size_t PrivateTestC; Test *PrivateTests; } Puzzle; // TODO void ReadPuzzleFromFile(const char *path); void FreePuzzle(Puzzle *self); /// A prebuilt puzzle. Used for debuging Puzzle *GetTestPuzzle(); #define PUZZLE_H #endif // PUZZLE_H