29 Commits
Author SHA1 Message Date
owner dbfba6a7dd Removed 'ghost' files 2025-03-27 22:25:54 +01:00
owner 2778a490a7 Changed header names to be more consistent 2025-03-27 21:44:51 +01:00
owner 2ec206b5bb Changed makefile 2025-03-27 18:11:50 +01:00
owner 35cd28b6be Cleaned up main.cpp 2025-03-27 18:09:44 +01:00
owner efc1b264b8 Made code style more consistent, use const reference in parameters, and removed a redundant check 2025-03-27 18:05:20 +01:00
owner aa141a8f22 Changed from ubuntu:25.04 to debian:sid-slim 2025-03-27 17:28:49 +01:00
owner 002d8a0804 Add missing value if the last frame is a spare 2025-03-27 15:38:31 +01:00
owner 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
owner 76284c3951 Add 0 roll handling aswell 2025-03-27 13:54:02 +01:00
owner aa81717fd9 Removing the redundant score calculation from parseValues, as the overarching logic is the same as the calculateScore function 2025-03-27 12:26:17 +01:00
owner 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
owner f5e96e7704 Now iterating over a Frame object 2025-03-26 23:03:23 +01:00
owner 05ba979f58 Testing roll combination validation 2025-03-26 12:44:11 +01:00
owner 8fdd4c18fd Validate if roll is higher than 10, and lower than 0 2025-03-26 12:05:45 +01:00
owner c14a29a070 Add comment 2025-03-19 11:58:53 +01:00
owner f076e0e35c Remove unused text file 2025-03-19 11:51:10 +01:00
owner 8ed07d0334 Remove unused folder 2025-03-19 11:49:05 +01:00
owner 3fd7328f66 Add comments 2025-03-19 11:46:19 +01:00
owner 5b61f0e5d9 Follow c++ naming convention 2025-03-19 11:21:04 +01:00
owner 5f8cabb56a Update README 2025-03-19 10:30:20 +01:00
owner 67d8fa370d Fix include folder name, update dockerfile and compile the executable inside the docker container 2025-03-19 10:26:16 +01:00
owner 5ec8a150cd Change gitignore to remove bin folder 2025-03-18 20:54:33 +01:00
owner de703651f7 Remove executable 2025-03-18 20:53:04 +01:00
owner 48a2c065f0 Changed the code formatting a bit 2025-03-18 20:25:00 +01:00
owner 959a55d4d0 Print formated output with the frames and rolls now works 2025-03-18 20:00:59 +01:00
owner 43cd0101f3 Score calculation has been moved to it's own file 2025-03-18 16:40:31 +01:00
owner e52031d3df Initial implementation of calculation of the score 2025-03-18 15:39:43 +01:00
owner 842e015c14 Add way to extract numbers from the csv file 2025-03-17 13:47:58 +01:00
owner fd03f5561f Add boilerplate code. 2025-03-17 10:53:26 +01:00