Commit Graph

67 Commits

Author SHA1 Message Date
raul a89ca3987b Separate goroutines exercise into different files
Also went ahead and added a way to interactively select which function
to execute so I can easily execute each file individually, I still have
to learn channels and passing data through these channels but I don't
want old code possibly bothering me
2024-03-02 10:00:45 +01:00
raul a4667e2039 Added an actual win condition
Also realized that I was supposed to decrement the X/Y values instead of
incrementing them
2024-03-01 20:45:21 +01:00
raul 38fe54f3de Added guessing coordinates to matrix exercise 2024-02-29 06:50:39 +01:00
raul 9e45c522c8 Added renamer exercise 2024-02-28 06:45:40 +01:00
raul 2577b92b2f Added background checker with goroutines 2024-02-27 07:04:25 +00:00
raul 8ad40f4930 Practicing goroutines 2024-02-26 10:59:46 +00:00
raul f140ccceba Added matrix exercise 2024-02-25 07:34:27 +01:00
raul fa8a997395 Added loading-bar exercise 2024-02-21 18:07:30 +01:00
raul a806cecefa Finished exercise and added getAverage() 2024-02-17 21:41:21 +01:00
raul d3400c86ee Added sum-args exercise 2024-02-16 18:26:12 +01:00
raul 207c3fafcb Moved file-reader to its own repo 2024-02-14 16:14:46 +01:00
raul 887e0556bf No longer rendering spaces as secret characters 2024-02-13 07:37:54 +00:00
raul 30d42a3219 Added win condition checking
You can actually win the game now
2024-02-13 07:32:07 +00:00
raul f29f803ddb Added guessing individual word letters 2024-02-13 06:56:52 +01:00
raul ca05ff2eba Fixed crashing without arguments 2024-02-12 12:04:28 +00:00
raul 92d4ff62f3 Added LICENSE 2024-02-12 09:23:46 +00:00
raul 8ab370f705 Cleaning up code and adding hiddenChar viewer 2024-02-12 07:00:25 +01:00
raul 092619f4bb Tweaking 2024-02-11 16:30:42 +01:00
raul 01a822c9ab Added the actual game 2024-02-10 22:20:19 +01:00
raul d1fddbe7ee Added life system 2024-02-10 15:13:59 +01:00
raul 4ea49a46b0 Learning structs and cleaning up old code 2024-02-10 13:44:41 +01:00
raul ab76136b4b Adding interactive prompts
Planning to make a rudimentary hangman game, good practice for learning
structs
2024-02-09 21:28:57 +01:00
raul fa015f4837 Added guessing string 2024-02-09 09:35:46 +00:00
raul de2229ada1 Cleaned up functions 2024-02-08 12:31:01 +00:00
raul 0fe0cc29a0 Added reading a random line from a file 2024-02-07 17:15:34 +01:00
raul 1bf9e3e27c Figured out how to add file lines to array 2024-02-06 17:12:29 +01:00
raul 93bd23b848 Added factorial exercise and cleaned up repo 2024-02-05 08:49:14 +00:00
raul 5df40a8847 Added file-reader exercise 2024-02-04 09:45:14 +01:00
raul 57a3fe4e69 Quick testing 2024-02-03 14:29:49 +01:00
raul c12d2d91a1 Merge branch 'main' of https://git.bulgariu.xyz/raul/golang-exercises 2024-02-03 14:24:17 +01:00
raul f82ec16975 Improved testing environment 2024-02-03 14:21:38 +01:00
raul 1ac4bf24bc Delete array-sorter/random.txt 2024-02-03 14:20:43 +01:00
raul 74449479cf Delete array-sorter/numbers.txt 2024-02-03 14:20:31 +01:00
raul 0444c42dd6 Finally finished exercise and added test script
I'm real proud of this one, might even make the sorter into its own
library along with minmax-array
2024-02-03 14:01:11 +01:00
raul 07d8c34480 Trying to get the sorting to work
Currently only gets the smallest number and prints it equal to the
amount of numbers in the original array, slices are a pain to deal with
2024-02-02 09:38:24 +00:00
raul 2bcbe7edc9 Added array-sorter exercise 2024-02-02 08:18:21 +00:00
raul 4b34de5781 Added ability to input custom delay 2024-02-01 12:40:28 +00:00
raul b93f7e445e Added cool delay to star printing 2024-02-01 07:13:28 +00:00
raul 4913df663a Added counter exercise 2024-01-31 07:43:11 +00:00
raul fde585b7ad Completed exercise and added min-max-array library
I'm done with this for now, gonna move on to newer projects instead of
getting stuck here
2024-01-31 07:19:14 +00:00
raul 20a539b9c4 Tweaking and improving UX 2024-01-30 09:35:22 +00:00
raul cfaf807701 Severely expanded functionality
Also, cleaner code!
2024-01-30 08:42:16 +00:00
raul 6f3370693d Starting new exercise 2024-01-30 06:47:29 +01:00
raul 24f0adac09 Cleanup 2024-01-29 17:43:28 +01:00
raul ce1106d3b3 Finished arrays exercise
I'm done with this exercise, it has become so convoluted that I can't
comprehend the codebase anymore, here be dragons
2024-01-29 17:40:49 +01:00
raul e7f5cec04c Added ability to input and store numbers 2024-01-28 07:41:55 +01:00
raul 58aeefff0f Removed cobra and added basic logic
Cobra was complicating things too much so I'm gonna stick to basic
switch statements for now when handling choices
2024-01-27 22:31:15 +01:00
raul d5183387ec Having fun with Cobra
Seems like a pretty decent library for creating CLI apps, I'll have to
practice with it more eventually
2024-01-26 22:27:27 +01:00
raul bb1cf72840 Playing with arrays 2024-01-26 18:53:59 +01:00
raul dd1849da8e Properly finished arithmetic average exercise
I've never done something so convoluted in my life, I think I should
just stick to fmt.scan whenever I'm asking for simple inputs
2024-01-25 19:50:52 +01:00