Yusuf Adeagboamudacodes.hashnode.dev·Aug 20, 2023Mastering Game Flow: Pygame's Secret Sauce for Seamless State Transitions!In Pygame, a popular Python library for creating 2D games, game states and transitions are important concepts that help you organize and manage different parts of your game. Game states represent different stages or screens of your game, such as the ...Discuss·10 likes·26 readsPython
Yusuf Adeagboamudacodes.hashnode.dev·Aug 20, 2023Crafting Interactive Worlds: A Journey into Game Development with Python and PygameHey there, aspiring game developers! Are you ready to dive headfirst into the vibrant realm of game creation using Python and Pygame? Welcome to this exhilarating journey where we'll journey from the very basics to crafting interactive and entertaini...Discuss·35 readsPython
Sanmarg Paranjpesanmarg.hashnode.dev·Jun 15, 2023Harnessing the Power of DockerHey folks, recently I have been learning Docker and I have been writing Dockerfiles for several open source projects including some projects of mine Wise Words andTic Tac Toe. I found an amazing project Plant Vs Zombie by Marblexu and I decided to co...Discuss·101 readsDocker
Mayank Aggarwalblog.mayankaggarwal.live·Apr 17, 2023Create your Own Addictive Flappy Bird Game in Python - Full Code and Explanation Inside!Introduction: Flappy Bird is a popular game that has been around for quite some time. The game is simple to understand, but difficult to master. The objective of the game is to navigate a bird through a series of pipes without hitting them. In this b...Discuss·34 likes·381 readsTech-Blogsmayank
Sackarias Lunmanblog.sackarias.se·Jan 18, 2023Controlling the Cart-Pole using LQRHi! Today's topic: Full-state feedback control. What is it? How do we optimize it? Can we do better? On the bullet-point list of new things: linearization, minimizing cost and LQR. By the way, if you want to have a deeper look into the code, visit th...Discuss·10 likes·458 readsCart-PolePython
Sackarias Lunmanblog.sackarias.se·Jan 7, 2023Making a Cart-Pole test environmentHappy new year! The thumbnail is a simulation of a system first studied by Edward Lorenz aptly named the Lorenz attractor, or the butterfly attractor. It's the namesake of the famous butterfly effect and gave rise to chaos theory. This brings us to t...Discuss·176 readsCart-PolePython
Hardik Kawalecodersden.hashnode.dev·Jan 3, 2023Create a Simple Game In Python.simple game written in Python using the pygame library. This game is a basic "dodge the obstacles" game where the player controls a character that moves horizontally across the screen and must avoid obstacles that fall from the top of the screen. Fir...Discuss·136 readsGeneral Programming
Thomas Cherickalthomascherickal.hashnode.dev·Jan 2, 2023Part 8: Use Reinforcement Learning to simulate a game of Table Tennis with Graphics in Python Source Codeimport numpy as np import pygame Constants for the game PADDLE_WIDTH = 10 PADDLE_HEIGHT = 50 BALL_RADIUS = 5 PADDLE_SPEED = 5 BALL_SPEED = 5 Initialize the game pygame.init() screen = pygame.display.set_mode((400, 300)) clock = pygame.time.Clock() In...Discuss·88 reads8 applications of all levels written in less than 10 minutes each using ChatGPTTable Tennis
Sackarias Lunmanblog.sackarias.se·Dec 29, 2022Modeling and simulating a Cart-Pole systemThe Cart-Pole is a classic problem in dynamical systems and control theory. The goal is for a controller to balance an inverted pendulum (or several) on top of a cart by moving the cart backward and forwards, violently swinging the pole around until ...Discuss·459 readsCart-Polesimulator
Pablo Curell MompoProblog.codemanship.dev·Dec 28, 2022How to feature test your PyGame GameI write this article as I struggled to find accurate resources on how to feature test my newly started PyGame project. If someone has the same struggles I had, they can find a solution here. I will answer in this article: How can you test that your ...Discuss·2 likes·400 readsPython