Commit Graph

93 Commits

Author SHA1 Message Date
raul 4e30581a5e Implementing client for connecting to the server
Also went ahead and fixed the server improperly writing to
connections.log, newlines be damned
2024-03-27 13:48:12 +01:00
raul 59efb49e3f Figuring out flags in Cobra 2024-03-26 18:55:52 +01:00
raul 285de706f7 Added get-time exercise 2024-03-25 17:24:03 +01:00
raul 89fce7631b Added logging capabilities to server 2024-03-24 10:56:34 +01:00
raul 61bf3a0276 Re-adding CPU checker and cleaning CLI interface 2024-03-23 13:05:00 +01:00
raul 46ec23f513 Finally beginning to understand Cobra
So all I had to do to add extra subcommands was use cobra-cli add,
great, learning how to use this will definitely be useful in the long
run if I want to build actual CLI applications
2024-03-23 12:33:49 +01:00
raul f0df294bbe Practicing with Cobra 2024-03-23 12:06:31 +01:00
raul 4ba20dfc76 Add tiny server to query-cpu exercise 2024-03-22 15:38:28 +01:00
raul 18bd5f98a3 Added query-cpu exercise 2024-03-21 22:03:27 +01:00
raul 2a0ce3f89d Minor tweaks 2024-03-20 20:59:48 +01:00
raul 6711bc5de5 Added methods exercise 2024-03-19 08:21:08 +01:00
raul f8eacdbc1c Added tcell-practice exercise 2024-03-18 09:13:29 +01:00
raul 6428837551 Add tour-of-go folder and README.md 2024-03-18 08:19:47 +01:00
raul 290d1be8f4 Added tcp-movie exercise
Need to practice sockets more, I have many ideas on what to do with them
2024-03-11 08:29:41 +01:00
raul 7693f81e0b Added http-get exercise 2024-03-10 09:29:55 +01:00
raul 08040ef9c9 Added ability to use custom ports 2024-03-10 09:21:02 +01:00
raul a41033f150 Handling multiple connections using goroutines 2024-03-10 09:07:08 +01:00
raul a4a5594096 Added sockets exercise 2024-03-09 19:35:26 +01:00
Raul 43e9f4c6c4 Trying to implement fizzbuzz with goroutines 2024-03-08 12:03:16 +00:00
Raul 569b255bfa Added delayed-channel exercise 2024-03-08 10:26:58 +00:00
Raul 1279df8aab Added ping-pong exercise to practice goroutines
Currently trying to figure out concurrency without suffering a headache,
stay tuned for more black magic using channels
2024-03-08 08:22:28 +00:00
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