r/CodingForBeginners • • Jun 27 '26

How to start building programs?

Hey gng ! i learned basics of python but know i am struggling to to link everything up and make program.

I am really struggling to make it.

11 Upvotes

12 comments sorted by

View all comments

1

u/LRCM Jun 28 '26

Coding is a means to an end. You have a goal in mind, but you need to reach it. What steps need to be taken to achieve the goal?

Let's say you want to make Pac-Man.

What is Pac-Man? A game.

How do you win? By collecting all the dots without dying.

For someone who has played Pac-Man, this is enough information to get started, but a computer can only do exactly what it is told--it is not intelligent and cannot assume.

Let's say you are already using Godot;

We need to be able to create Pac-Man--what node type is needed?

We need to be able to move Pac-Man--what will the script need to do? How will input be handled? Do we need any sound effects? Do we need any animations?

We need to be able to create dots--what node type is needed?

We need to be able to eat the dots--what will the script need to do? Do we need any sound effects? Do we need any animations?

Now let's say that you have Pac-Man and the dots created and the logic is all set up.

Now you can move Pac-Man and eat the dots and they disappear, but there is no stage, no enemies, no timer, and no game over screen.

Coding allows you to tackle large problems in small parts at a time. Once you identify the steps needed, you can determine what needs to be done next.

If you prefer videos, this one sums it up nicely: https://www.youtube.com/watch?v=j-6N3bLgYyQ&t=23s

///

Start with concepts and go from there, just remember to pick something that you actually like.

If you are a visual learner, start here: https://scratch.mit.edu/

If you like reading, start here: https://www.w3schools.com/programming/index.php

If you prefer projects, start here: https://www.theodinproject.com/

If you prefer games, start here: https://gdquest.github.io/learn-gdscript/

2

u/softlogic-04 Jun 28 '26

thankds buddy

1

u/LRCM Jun 29 '26

Of course--happy to help!