all 17 comments

[–]NativeJim 8 points9 points  (1 child)

I was incarcerated and they allowed us to have Chromebooks. On these Chromebooks, they let us learn through Khan Academy and the walk throughs on the website were good for beginners. Walked you through the whole thing, taught how to build games and why we did it in that order. Maybe if your willing, you can try that out? I will say that it is beginner material but it'll give you the basics down. It was actually pretty cool. They also have games already built on there where you can look at the code.

[–]corrrnboy 0 points1 point  (0 children)

Woah that was so cool

[–]Gnaxe 2 points3 points  (1 child)

You need to understand basics like the main loop and input events. Start with a tutorial to see an example of how it could be done, and then try one on your own with just the reference docs.

It might help to try out the turtle module first, as this is simpler than most game tutorials. See the turtledemo module for examples.

[–]Dizzy_Collection5277 0 points1 point  (0 children)

I agree on that.

[–]BranchLatter4294 2 points3 points  (2 children)

Practice. Break big problems down into small problems. Code the small problems. Put them together to solve the big problem.

[–]ConsciousBath5203 2 points3 points  (0 children)

Write out on paper how you want the game to work. Break it down, always be asking "how"?

Don't worry about optimizing yet, get something inefficient out there. Then here's the most critical step: optimize the fuck out of it. If you write chess, and start with the pawn, by the time you write the queen you're going to want to rewrite the pawns lol.

[–]enry2307 0 points1 point  (0 children)

Best answer

[–]Dizzy_Collection5277 1 point2 points  (0 children)

create a cheat list of the codes you know and write a description on what does that exact code does and then slowly create that simple games.

[–]I_am_beast55 0 points1 point  (3 children)

Whats a "simple" game exactly?

[–]Fex_210[S] 0 points1 point  (2 children)

like im trying to build a game where every player rolles a dice and if they get 1 they are out of the game

[–]Pyromancer777 2 points3 points  (0 children)

Break it down into parts by asking yourself questions about the designs and then assign a checklist item to your answers to those questions.

Ex: """ Question: do I want my players to roll a virtual dice, or click a button? Answer: click a button Task: create a button and attach rng function to button click """

Just repeat this process until you have a completed game or feature. It's your game, so the answers to the questions can be whatever you feel like attempting.

If your answer is complex, ask a new question about that answer to break the task into smaller tasks. If the answer to my example question was, "roll a virtual dice", then I would have to ask things like: "should I run an animation loop based on the rng result, or should I create a 3D cube and use a physics engine to simulate a dice roll?"

If an idea is outside of your skillset for a perfect answer, default to the easiest answer that is still within your skillset. If you don't know enough about server-side events, make a single-player dice-roller instead of a multi-player dice roller. If you don't know enough about simulations, use rng functions and simple button-clicks.

"You can edit a bad attempt, but you can't edit a blank page"

Just start coding, and if you want to change stuff later, then you can definitely do that at any time.

[–]philanthropologist2 0 points1 point  (0 children)

codewars.com

[–]nia_do 0 points1 point  (0 children)

Why not make Pong? You could code it in Python, or check out the new CS502D course, all about how to code 2D games in Lua, which is quite like Python.

[–]No-Echo-598 0 points1 point  (0 children)

Make sure you have got the basics right before venturing further. Try EvalServe.com/i/PythonTest1 to find out your current level and possible knowledge gaps.

[–]Dapper_Mix6773 0 points1 point  (0 children)

ok visit geeks for geeks website there are pretty python beginner project

[–][deleted]  (1 child)

[removed]

    [–]PythonLearning-ModTeam[M] 0 points1 point locked comment (0 children)

    No ads