Commit Graph

34 Commits

Author SHA1 Message Date
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
4a09cbbb33 Merge pull request 'main' (#8) from main into validate-input
Reviewed-on: #8
2025-03-27 12:57:56 +00:00
0ebfb2b86d Merge pull request 'simplify-printing' (#7) from simplify-printing into main
Reviewed-on: #7
2025-03-27 12:54:27 +00:00
76284c3951 Add 0 roll handling aswell 2025-03-27 13:54:02 +01:00
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
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
61b00d40db Merge pull request 'simplify-score-calculation' (#6) from simplify-score-calculation into main
Reviewed-on: #6
2025-03-26 22:10:20 +00: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
c14a29a070 Add comment 2025-03-19 11:58:53 +01:00
3420815c74 Update README.md 2025-03-19 10:56:40 +00:00
f076e0e35c Remove unused text file 2025-03-19 11:51:10 +01:00
ceddebcd80 Merge pull request 'Remove unused folder' (#5) from cleanup into main
Reviewed-on: #5
2025-03-19 10:50:03 +00:00
8ed07d0334 Remove unused folder 2025-03-19 11:49:05 +01:00
b285704ae1 Merge pull request 'cleanup' (#4) from cleanup into main
Reviewed-on: #4
2025-03-19 10:48:15 +00:00
3fd7328f66 Add comments 2025-03-19 11:46:19 +01:00
5b61f0e5d9 Follow c++ naming convention 2025-03-19 11:21:04 +01:00
5f8cabb56a Update README 2025-03-19 10:30:20 +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
5ec8a150cd Change gitignore to remove bin folder 2025-03-18 20:54:33 +01:00
de703651f7 Remove executable 2025-03-18 20:53:04 +01:00
d655c852fa Merge pull request 'format-output' (#3) from format-output into main
Reviewed-on: #3
2025-03-18 19:25:20 +00:00
48a2c065f0 Changed the code formatting a bit 2025-03-18 20:25:00 +01:00
959a55d4d0 Print formated output with the frames and rolls now works 2025-03-18 20:00:59 +01:00
e54b191f7a Merge pull request 'calculate-score' (#2) from calculate-score into main
Reviewed-on: #2
2025-03-18 15:44:10 +00: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
b99b13383f Merge pull request 'Add way to extract numbers from the csv file' (#1) from read-file into main
Reviewed-on: #1
2025-03-18 09:53:32 +00: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
8856ecba0b Update README.md 2025-03-17 09:22:08 +00:00
d32ed6acfa Update README.md 2025-03-17 09:21:42 +00:00
e8d7198b45 Initial commit 2025-03-17 09:17:13 +00:00