r/learnjava • • Feb 06 '20

Java Side projects for beginners

Hi I’m a freshmen who just started learning java a month back. Are there any side projects that I can work on as a beginner or is it too early for me to start on a side project?

83 Upvotes

15 comments sorted by

View all comments

20

u/edgargonzalesII Feb 06 '20

Calculator, hangman, snake (kinda), connect four, mainly games and small apps. All good to get your feet wet

2

u/qelery Feb 20 '20

Why the kinda fit snake?

3

u/edgargonzalesII Feb 20 '20

Game loop. Requires threads and listening for keyboard inputs in parallel. That is hard especially for a beginner.

Making a 2d array that just waits until the player presses the keyboard to move is more feasible. Essentially you make the whole game (eat, traverse, grow, traverse from one side to the other through wall) but the actual game loop.

1

u/qelery Feb 20 '20

So I’m actually working on this in Python using Pygame which hands most of that stuff. Does Java have an equivalent?

1

u/edgargonzalesII Feb 20 '20

To be very honest - not sure. It has some game engines like LibGDX which I think are kinda user friendly. But nothing as trivial as pygame in my experience