I'm searching for the same type of games, I had a nice list there -> https://www.freecodecamp.org/news/12-free-coding-games-to-learn-programming-for-beginners/ CodeCombat looks great, but only the 5 first levels are free. I tried Codewars too, but for me, https://checkio.org/ was the best way to be introduced to the language. Old post, but maybe it'll help? :) Answer from Riton- on reddit.com
🌐
Grant Jenks
grantjenks.com › docs › freegames
Free Python Games — Free Python Games 2.5.3 documentation
Free Python Games is an Apache2 licensed collection of free Python games intended for education and fun. The games are written in simple Python code and designed for experimentation and changes.
Discussions

Beginner wants to learn Python to make simple games – where to start?
Hello everyone, I am a 14-year-old student and just started learning Python. I have a dream of working at NASA, so I want to learn programming soon. Currently, I want to make a simple game in Python, for example a meteor shooting game or a gravity simulation between planets. More on discuss.python.org
🌐 discuss.python.org
1
2
August 6, 2025
I Want to learn Python and develop games, from where should I start.
If you want to make games consider not choosing Python for it You can't actually create a true exe file with Python which players will be able to launch without installing your version of python and the modules Even if you ship python game in form of frozen binary with interpreter and all the modules, there are further limitations with this approach. And more important, Python lacks performance and type safety More on reddit.com
🌐 r/learnpython
59
42
July 30, 2024
101 Python BASIC Games
Nice! I think my dad used to have one of these books (for ZX Spectrum). I think you should avoid having executable code on the level of the module (e.g. parser = argparse.ArgumentParse ) - put it in main() and run it if __name__ == "__main__": Try to avoid using global. Perhaps refactor your code to use classes, and one of these classes could store the whole state of the game (= the maze, counters...), and be passed around. Unfortunately, verifying if your maze-generation algorithm works would take too much time :( I don't think you need to guarantee that each cell of the grid is reachable, just if you can reach the exit starting from the entrance (one of entrances?) using Depth-First-Search. But if you can't, then what? Will you break some random walls and check again? Or regenerate the whole maze from scratch? Even if your maze is stored in a 2-dimensional char array with # as walls and spaces as rooms, it can still be treated as a graph and be eligible for standard traversal algorithms - it's just a different representation of graph nodes. More on reddit.com
🌐 r/learnpython
22
43
September 23, 2024
What are the biggest ever games made with Python and/or Pygame?
The only major one I've heard is Eve Online. "Both the server and the client software for Eve Online are developed in Stackless Python, a variant of the Python programming language." wikipedia I would guess Python is a good choice for the many nested UI widgets in the game each with custom logic and formatting, using DirectX for the actual pretty graphics. More on reddit.com
🌐 r/Python
98
330
August 14, 2022
🌐
CodeCombat
codecombat.com
CodeCombat: Learn to Code by Playing a Game
Learn typed code through a programming game. Learn Python, JavaScript, and HTML as you solve puzzles and learn to make your own coding games and websites.
🌐
AskPython
askpython.com › python › examples › easy-games-in-python
Easy Games in Python - AskPython
April 20, 2026 - You can start with text-based games using only print() and input(), then move to graphical games using the built-in turtle module or install pygame via pip install pygame. A number guessing game or a Quiz Game are the easiest starting points.
🌐
CheckiO
checkio.org
CheckiO - coding games and programming challenges for beginner and advanced
We have also created Empire of Code - a space game with a mix of strategy, tactics and coding. In addition to the 50k monthly active Python and TypeScript players, who are constantly improving their skills by engaging in CheckiO missions and analysing other members’ solutions, CheckiO is used in more than a 100 different schools and universities. There are a lot of different ways in which we can assist companies. CheckiO is a great promotional tool for ...
🌐
IDTech
idtech.com › blog › easy-games-to-make-in-python
9 Cool & Easy Games to Make in Python (And Starter Code for Beginners)
March 27, 2024 - So, grab your code editor (we use PyCharm), and let’s dive into the world of Python game development! A simple game where the computer picks a random number, and the player tries to guess it. ... Start by generating a random number using random.randint(). Write a basic if condition to check if the guess is correct. Add a loop to allow multiple attempts. ... Forgetting to convert input to an integer (input() returns a string).
Find elsewhere
🌐
Python
wiki.python.org › moin › GameProgramming.html
GameProgramming
"Making Games with Python & Pygame" is also a free, Creative Commons-licensed book that assumes a small amount of Python programming experience. It goes into more detail with the Pygame library. There is the source code for games such as Tetris, Connect Four, Simon, Sokoban, and others.
🌐
GitHub
gist.github.com › wynand1004 › ec105fd2f457b10d971c09586ec44900
A Simple Snake Game made in Python 3 · GitHub
Nice game, you can create classes for the snake body, scoreboard, food and maybe wall. Then the code will be more structured :) ... /bin/python3 "/home/devil/Code/Python/Turtle/Snake Game/snake_game.py" Traceback (most recent call last): File "/home/devil/Code/Python/Turtle/Snake Game/snake_game.py", line 4, in <module> import turtle File "/usr/lib/python3.10/turtle.py", line 107, in <module> import tkinter as TK ModuleNotFoundError: No module named 'tkinter'
🌐
Pygame
pygame.org › news
pygame news
pygame (the library) is a Free and Open Source python programming language library for making multimedia applications like games.
🌐
Python.org
discuss.python.org › python help
Beginner wants to learn Python to make simple games – where to start? - Python Help - Discussions on Python.org
August 6, 2025 - Hello everyone, I am a 14-year-old student and just started learning Python. I have a dream of working at NASA, so I want to learn programming soon. Currently, I want to make a simple game in Python, for example a meteo…
🌐
Anirudh Jayaraman
pythonandr.com › 2015 › 05 › 16 › code-for-my-first-text-based-game
Code for my First Text-Based Game – Anirudh Jayaraman
July 6, 2015 - Sometimes nerds from our generation might also want to get a kick out of these text-based games, as evidenced by the following: Here’s the python code for this text-based game you might want to try out. You can simply copy the code below into a text file, naming it something like game.py and save it to your home directory or wherever you wish to and run game.py from.
🌐
Reddit
reddit.com › r/learnpython › i want to learn python and develop games, from where should i start.
r/learnpython on Reddit: I Want to learn Python and develop games, from where should I start.
July 30, 2024 -

Hello everyone, lately my interest on game making has grown larger, I have never done any sort of coding before, except for that time I made pong in Python... but that was over three years ago, I have completely forgot every thing I learned lol and I had to stop learning it because I didn't have any time at the time any longer.

So from where should I start?

🌐
Reddit
reddit.com › r/learnpython › 101 python basic games
r/learnpython on Reddit: 101 Python BASIC Games
September 23, 2024 -

Hi there learnpython!

Just wanted to post an update on a project that I'm working - refactoring old BASIC games into modern Python. I've added 2 new games - Aceyducey, a simple card game and Amazing - a random maze generator which I've refactored into a simple CLI tool. If anyone has any comments or suggestions how to improve the code, that would be greatly appreciated.
In particular I'm unsure if there is a way to know if the approach used to generate a random maze in Amazing will always lead to a maze that is solvable? I've added the exit in a random location in the final row but haven't tested if that position can be visited from the entrance - I believe this would require representing each position in the maze as a node but I tried to follow the approach listed in the original source code.

Thanks for reading!

https://github.com/ctosullivan/Python-101-BASIC-Games

Top answer
1 of 5
7
Nice! I think my dad used to have one of these books (for ZX Spectrum). I think you should avoid having executable code on the level of the module (e.g. parser = argparse.ArgumentParse ) - put it in main() and run it if __name__ == "__main__": Try to avoid using global. Perhaps refactor your code to use classes, and one of these classes could store the whole state of the game (= the maze, counters...), and be passed around. Unfortunately, verifying if your maze-generation algorithm works would take too much time :( I don't think you need to guarantee that each cell of the grid is reachable, just if you can reach the exit starting from the entrance (one of entrances?) using Depth-First-Search. But if you can't, then what? Will you break some random walls and check again? Or regenerate the whole maze from scratch? Even if your maze is stored in a 2-dimensional char array with # as walls and spaces as rooms, it can still be treated as a graph and be eligible for standard traversal algorithms - it's just a different representation of graph nodes.
2 of 5
6
Cool project. If I may suggest one thing and honestly my skill level is middle so maybe you already have one and I just lack the ability to properly identify it, but I’d suggest putting a main() function in your classes or ideally one main class, rather than calling the required functions at the bottom of the script. Just makes readability a bit easier in my opinion. Cool project I look forward to checking a few out when I have time!
🌐
Reddit
reddit.com › r/python › what are the biggest ever games made with python and/or pygame?
r/Python on Reddit: What are the biggest ever games made with Python and/or Pygame?
August 14, 2022 - Apparently guild wars 2 servers use python, although the game itself is in C++. You can see part of the python code here https://wiki.guildwars2.com/wiki/PvP_Matchmaking_Algorithm ... That's not the actual code, its just a quick remake of it in python for demonstration sake (hence why its titled 'pseudocode')
🌐
Pygame
pygame.org › tags › all
all
Lite side-scrolling medieval fantasy strategy game in the art style inspired by Medieval art from various period and regions (with a sprinkle of education elements for historical medieval period) made with Pygame. A math puzzle that involves clearing a grid of numbers using a combination of fast reflexes and knowledge of greatest common factors. Playable in Desktop (PC) or browser on any device. ... Quick platformer made in a week with Pygame. Full-featured game console based on pygame that can be integrated in your python game in order to execute python command/scripts/custom in-game functions, pip install pgconsole
🌐
Python.org
discuss.python.org › python help
Coding a simple fishing game, logic being ignored (EDITED) - Python Help - Discussions on Python.org
October 9, 2023 - Hi friends, your help would be much appreciated with this one sorry in advance if i am not asking for help in the right way or have not formatted this document correctly, its my first time asking for help, please bear with me. 😀 the ‘if statement’ with asterixs ** before it is being ignored (it is the first staement inside the still fishing while loop) I have tried re arranging the order of the if statements my code does not realise that I have added a catch to my esky. it will no...
🌐
Codingal
codingal.com › coding-for-kids › blog › 2d-games-with-python
2D Games with Python - Codingal
November 27, 2025 - One among these is ‘Pygame’. Pygame is kind of a library that makes it easier for you to code with inbuilt tools like graphics, sound, etc. By the end of this article, you will be able to easily understand and learn to make a simple 2D game using Python.
🌐
CodeWizardsHQ
codewizardshq.com › home › all articles › python games for kids to code
10 Python Games for Kids to Code | Learn Python Coding
June 2, 2025 - This is a perfect project for a beginner to tackle. The game itself only explores basic Python concepts like setting variables and generating random integers. Also, the Python code is very well documented in this tutorial.
🌐
Python Forum
python-forum.io › thread-42154.html
My first python game : Tic-Tac-Toe
Hello everyone, Here is my first python game : Tic-Tac-Toe. I would like hints about code optimization. #grid creation grid = [] line = [] for i in range (3): for j in range (3): line.append(' ') grid.append(line) line = [] #g...
🌐
GeeksforGeeks
geeksforgeeks.org › python › snake-game-in-python-using-pygame-module
Snake Game in Python - Using Pygame module - GeeksforGeeks
These values represent how wide and tall the game window is respectively. The next line of code assigns values to these properties based on a user-defined value called snake_speed . This variable tellspygame how fast (in pixels per second) to move the snake aroundthe screen. Higher values will make for faster movement but also more intense gameplay!
Published   July 23, 2025