Poker
- 1 Devlogs
- 1 Total hours
I am building Poker in Python
I am building Poker in Python
Building Poker in Python P1:
For my first part, I started working on the code to make the actual screen that the players would play on along with also being a base for future projects as well. To do so I created the PyGame Engine:
The PyGame engine creates a lightweight game framework using Python and PyGame. It initializes a game window, handles user events, maintains a stable frame rate, and calculates delta time for smooth, frame-independent gameplay mechanics.
One of the main challenges that I ran into however was ensuring the game window maintained the correct resolution regardless of Windows or Mac display scaling settings. Another was implementing an accurate delta time system that can later be used for smooth movement and animations.