Commit Graph

122 Commits

Author SHA1 Message Date
raul 8b87cce11c Completed goroutine channels exercise
Finally starting to get the hang of how channels in goroutines work,
just pass the values around using arrows after creating the channel
using c := make(chan $TYPE)
2024-03-07 17:59:18 +01:00
raul 91d4985651 Can now add to vector, still practicing channels 2024-03-06 18:04:34 +01:00
raul a3b8027714 Completing 2nd goroutine example 2024-03-05 19:57:16 +01:00
raul 8be6890727 Added inverse-counting exercise 2024-03-04 07:54:48 +00:00
raul 9e978f0bcf Improved UX by reusing scanLine function 2024-03-03 10:29:50 +01:00
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