r/learnjava • u/[deleted] • May 19 '21
Fun beginner projects to help me become more familiar with java?
I just got done with my first Computer Science class in college. I know loops, branches, variables, methods, classes, etc. but not as well as I should. The class didn't give me real experience with using the code, just gave me answers out of a book. What projects can I do to become more familiar with these concepts as well as learn more concepts I will need in the future? I already followed Alex Lee's tic tac toe video on youtube. I made the program but it was super confusing and I do not understand it. Thank you!
11
u/jjrobinson-github May 19 '21
I found https://exercism.io/ to be a fantastic way to get a nearly endless supply of programming challenges to work on.
Alternately there is r/dailyprogrammer where there is a new programming challenge posted by the mods frequently. and over 300 back challenges you can work on.
But of those were very handy for learning C# when I started.
2
May 19 '21
I'll check it out in a sec when I can get to my computer. Is it a game?
2
u/jjrobinson-github May 20 '21
no it is an exercise generating system. 30min or so problems to solve. You DL their binary. Then run the cmd line to check out a new exercise. You work your solution, test it with the test problem set they provide for you, and then you upload your solution and they run it against GIANT problem set of known data. If it passes, then you have completed the assignment and can check out a new problem. When you submit a solution, then other coders that have completed X levels above you are offered the chance to put comments on your solution so you get some feedback. Great way to get you a constant supply of new challenges AND to get constructive feedback from other coders on your solution.
6
u/ItsBJr May 19 '21
On the r/learnprogramming subreddit they have a bunch of suggestions of projects for all types languages and skill levels.
4
u/Farpafraf May 20 '21
Alex Lee's tic tac toe video
damn my code is shit but that's just horrifying, for starters why is he saving the whole thing he has to print in the matrix instead of just having a 3x3 that contains just the picks and then printing it with a separate method?
1
13
u/desrtfx May 19 '21
I would suggest the MOOC linked in the sidebar to brush up your skills and understanding.
Also, the /r/learnprogramming FAQ have extensive lists of project ideas and practice sites