Beginner to Golang (and coding!) projects?

  1. Write a program that pings a specific reddit for the top posts that day. This might stretch your ability a little bit, but it isn’t incredibly hard. Also feel free to ping me if you need help.

  2. Write a program that given an imgur url, downloads the image there. Again, might take a little push to get there but doable.

  3. Combine 1 & 2 to create something that downloads an image from something like r/wallpapers (get the top posts, filter for one that is imgur, then download it).

  4. Try to find out how to change your desktop background via code. I know on mac os x you can do this by editing an SQLite value.

  5. Combine 3 & 4 to make a program that downloads a new wallpaper and sets it daily.

  6. Try to code basic data structures. Things like a queue, a stack, or a graph. Or try to code algorithms like a binary search and do exercise problems. I write and talk about these specific topics more on my blog here - https://www.calhoun.io/lets-learn-algorithms/#bubblesort

  7. Code up a tic tac toe game that you can play. Try making it so you choose all the moves, then try writing a crappy AI and then try to make the AI smarter. The last portion of this might be a little harder but its a good exercise.

  8. Try to code up a blackjack game. Again, no AI at first, then try ot introduce some basic AI.

  9. Follow a guide where you build a web app from scratch. I go over this in my course (usegolang.com) but I don’t want to sound like I’m just trying to get you to buy it, so do 1-8 first and see if they help. If not, feel free to ignore me.

If you get that far, or have any issues, feel free to reach out for more suggestions. I have been trying to stockpile some beginner-accessible ideas and would love to get your feedback on them if you need more projects :slight_smile:

8 Likes