[–] Adminstrater 0 points 3 points (+3|-0) ago  (edited ago)

Comment your code. Add explanations for why you did what you did, and perhaps add TODO: comments for future updates, sanitation, cheat detection, and up-scaling.

You could also put any duplicate code in it's own procedure or function, and call it when you need to. That way if you want to change or edit it, or only have to do it in one place.

You'll know you're a coder when you feel it is more fun to code the game than it is to play it. Good luck!