Commit Graph

21 Commits

Author SHA1 Message Date
deadvey 9255c1d7fa Fixed some clippy lints 2026-05-19 19:34:56 +01:00
deadvey ee34493895 Changed the data_to_send to be a stack so many lines of code can
be pre-processed before the user interacts.
When the /happening api is called it just dequeues the front item
2026-05-19 19:23:19 +01:00
deadvey 019f1088a3 fixed a bug with single word strings and multiple choice blocks side by side 2026-05-18 23:05:19 +01:00
deadvey fbb5a4b503 fixed clippy lints 2026-05-18 14:18:25 +01:00
deadvey 5f294cceb2 documentation 2026-05-18 13:49:35 +01:00
deadvey 051bfe46e4 redesigned how file is tokenised into string, keyword, identifier, bracket and character
added support for GOTOs and removed object recursive calls
2026-05-18 13:22:29 +01:00
deadvey d4947a4434 unwrap_or_exit can now display the error message, requires it to use the Debug trait 2026-05-17 15:52:18 +01:00
deadvey dd04399784 Cleaned code up a bit
TODD:
make colour an enum
make unwrap_or_exit return the error
2026-05-17 15:44:01 +01:00
deadvey 13049309b2 Changed how the data is tokenised 2026-05-17 12:47:22 +01:00
deadvey 0c28bc113d started working on new tokeniser 2026-05-16 21:11:45 +01:00
deadvey 6d012dbe6b added character documentation and split Clothing into a sub-struct
of Character
2026-05-16 14:06:49 +01:00
deadvey a251be7827 added a modify data function for changing the data_to_send mutex 2026-05-16 12:40:00 +01:00
deadvey 20174e697c removed unwraps and added a method to Results called .unwrap_or_exit(error_message, error_code)
This tries to unwrap and if it can't then it outputs the error message with the error!() macro
(log library) and exits with the error code.  This is to be used instead of expect and is for
fatal errors
2026-05-15 19:19:17 +01:00
deadvey a5a45fa1f0 version & fixed some clippy linting 2026-05-14 23:34:11 +01:00
deadvey 24eb0f96e9 moved character parsing to it's own file and made it return data to the API 2026-05-14 21:42:59 +01:00
deadvey a18928c673 added CHANGE command 2026-05-14 21:24:28 +01:00
deadvey a55053dc97 Clippy lint fixing 2026-05-14 15:31:48 +01:00
deadvey ba7985161e moved default sories location and added some proper error handling 2026-05-14 14:51:47 +01:00
deadvey e5a3d0d7b7 added zip file support and passing story as parameter 2026-05-14 00:49:10 +01:00
deadvey fbd315ed7b Implemented choices successfully 2026-05-10 23:19:42 +01:00
deadvey 7e5874ffbb Made server and client 1 2026-05-08 23:24:42 +01:00