2 answers
Asked
415 views
what is the best way to start coding a game
i am just starting out on coding and i am not sure where to start
2 answers
Updated
david’s Answer
Hi, Grayson,
There is a strong inclination to just 'start coding' when learning the skill, but what needs to happen first is to have an objective (such as a game) to create and a design on how the game is to work. That design may start with pencil/paper on the basics and then evolve into the various components that will define the game. If coding begin prior to that, you may find much of the code is unusable or irrelevant. A possibility is to take an existing game that is not complex (such as tic-tac-toe) and work through a design and then code it. Once you get the game working, revisit it to see how you could make it better. I say that because, having successfully written a program, you will always learn techniques that you didn't know at the time you began. :) All the best to you.
There is a strong inclination to just 'start coding' when learning the skill, but what needs to happen first is to have an objective (such as a game) to create and a design on how the game is to work. That design may start with pencil/paper on the basics and then evolve into the various components that will define the game. If coding begin prior to that, you may find much of the code is unusable or irrelevant. A possibility is to take an existing game that is not complex (such as tic-tac-toe) and work through a design and then code it. Once you get the game working, revisit it to see how you could make it better. I say that because, having successfully written a program, you will always learn techniques that you didn't know at the time you began. :) All the best to you.
Thank you, david for the advice.
Ayo
Updated
Jordan’s Answer
I suggest starting with CS50 classes on YouTube to learn and strengthen basic foundations. This channel features video lectures from Harvard's famous introductory computer science course, led by an incredibly intelligent professor. It's an excellent channel that covers essential computer science concepts and offers hands-on projects, such as creating a game in a program called "Scratch" (developed by MIT). Scratch uses a beginner-friendly "visual coding language" that allows you to design a video game in your web browser. I hope you find this helpful!
Delete Comment
Flag Comment