What have I been up to lately? Making a Final Fantasy 6 – inspired game in Java! What a fun way to help you study programming!
Of course, as I always tell my students, I spent lots of prep time doing planning and research before I started coding. Honestly, one of the biggest problems I see with my students is that they briefly read a problem description, then immediately start typing code.Perhaps you can get away with this approach for smaller problems, but I highly recommend taking some time to figure out what you’re trying to accomplish first. Taking that time can make the problem easier to solve, rather than just typing the first thing that comes to your head. Coding without planning can lead to confusing, complicated “spaghetti code” (think of a bowl of spaghetti, twisted and tangled, hard to unravel). If you’re taking a class that requires you to complete projects, you might even be asked to write some sort of design document or planning, similar to what I’ve been doing for this project.
If you’re interested in learning more about my approach to planning this project, and how you can use it for your own code, take a look at my latest Patreon post. Computer science students and aspiring game developers, take a look for a practice coding exercise at the end.