Endless Runner - Pygame Arcade GameEndless Runner - Pygame Arcade Game
A fast-paced endless runner built in Python/Pygame — jump and duck to dodge obstacles as speed increases over time. Recently UpdatedEndless Runner - Pygame Arcade Game
A fast-paced endless runner built in Python/Pygame — jump and duck to dodge obstacles as speed in...
Overview
Endless Runner is a lightweight, single-file arcade game built with Python and Pygame. The player controls a character that automatically runs forward while the game world scrolls endlessly, gradually increasing in speed. Players must jump over ground obstacles and duck under flying birds to survive as long as possible and rack up the highest score.
The game features smooth physics-based jumping (gravity and velocity), a duck/slide mechanic, procedurally spawned obstacles of varying size, animated flying bird enemies with wing motion, parallax scrolling clouds and ground detail, a live score and speed HUD, and a game-over screen with instant restart. The codebase is compact, well-commented, and organized into clear classes (Player, Obstacle, Bird), making it an excellent base for beginners learning game development or for developers who want to customize and extend an endless-runner template quickly.
Features
Requirements
pip install pygame)No internet connection or external assets required — runs entirely offline
Instructions
pip install pygameRun the script: python 3_endless_runner.pyControls:
- SPACE / UP / W — Jump
- DOWN / S — Duck / Slide
- ESC — Quit
- R — Restart after Game Over
Other items by this author
| Category | Scripts & Code / Python |
| First release | 25 July 2026 |
| Last update | 25 July 2026 |
| Files included | .py |
| Tags | 2d game, python, endless runner, game template, pygame, side scroller, casual game, arcade game, indie game, jump game, retro game, offline game, single file, python game, dodge game |








