Commit Graph

14 Commits

Author SHA1 Message Date
35cd28b6be Cleaned up main.cpp 2025-03-27 18:09:44 +01:00
efc1b264b8 Made code style more consistent, use const reference in parameters, and removed a redundant check 2025-03-27 18:05:20 +01:00
1228b7150a Validate if there are more or less than the allowed rolls, if the numbers are valid and if the number isn't a number. 2025-03-27 15:07:45 +01:00
7d9da3cc50 The printing function now only prints a single string, that has been created by the function PrintFrames::parseValue(vector<Frame> frames) that parses the frames 2025-03-27 12:24:02 +01:00
f5e96e7704 Now iterating over a Frame object 2025-03-26 23:03:23 +01:00
05ba979f58 Testing roll combination validation 2025-03-26 12:44:11 +01:00
8fdd4c18fd Validate if roll is higher than 10, and lower than 0 2025-03-26 12:05:45 +01:00
5b61f0e5d9 Follow c++ naming convention 2025-03-19 11:21:04 +01:00
67d8fa370d Fix include folder name, update dockerfile and compile the executable inside the docker container 2025-03-19 10:26:16 +01:00
959a55d4d0 Print formated output with the frames and rolls now works 2025-03-18 20:00:59 +01:00
43cd0101f3 Score calculation has been moved to it's own file 2025-03-18 16:40:31 +01:00
e52031d3df Initial implementation of calculation of the score 2025-03-18 15:39:43 +01:00
842e015c14 Add way to extract numbers from the csv file 2025-03-17 13:47:58 +01:00
fd03f5561f Add boilerplate code. 2025-03-17 10:53:26 +01:00