Problem solving and logic

Programming is more than just understanding the syntax. You also need to know the domain of your problem, the correct solution to the problem, and how to implement it in the syntax that you’ve learned. Here will be some discussions about using problem solving and logic to do just that.


A Basic Introduction to Collision Detection Without Algorithms

Apr. 8, 2024 problem-solving ·

I think, before we start looking at an example, we need to discuss what collision detection even is. Collision detection is a set of algorithms that is used to introduce physics into our game world. Specifically the physics of collision. Depending on the game that you choose to make this could look like the player character landing on a platform in a platformer, it could be a weapon hit with an enemy, or running into a boundary in a dungeon crawler.




Managing Groups of Things in Go: Part 2 Maps

Mar. 30, 2024 syntax · problem-solving ·

Just like our previous post on arrays, it is challenging to talk about these concepts in a way that is meaningful. As an aside, I feel that all programming is like this. A new topic can be discussed, but until a real world applicable situation can be talked about in the same context it means less to the learner, making it more difficult to “get it”. I, personally, haven’t used maps generally in my game development journey.