Welcome to this repository containing a collection of fun, interactive 2D and 3D games and simulations built using Python! Each script is a standalone project using AI utilizing different libraries such as pygame, ursina, and the built-in turtle module.
Disclaimer: These projects
3dadventure.py,mc.pyandtimesurvivor.pyare made with AI.
To run these games, you will need Python 3.x installed on your system. You will also need to install the required external libraries. You can install them via pip:
pip install pygame ursinaPls delete
savegame.jsoncuz that's technically my data
A multi-phase 3D action-survival game built with the ursina engine. Progress through different dimensions, talk to NPCs, and defeat bosses.
- Features: Multiple levels (Plains, Safe Zone, Final Arena etc.), interactive NPCs, unlockable companions, team up abilities, melee and ranged combat, powers, health UI, and a functioning Save/Load system.
- Controls: *
W, A, S, D- MoveSpace- JumpLeft Click- Sword AttackRight Click- Shoot Arrow (requires Bow)E- Throw Shockwave GrenadeF- Interact with NPCs8- Save Game9- Load Game0- Pause/Main MenuEsc- Main Menu
A 2D Minecraft-style sandbox game built using pygame.
- Features: Procedural terrain generation (dirt, grass, stone, ores, trees), block mining and placing, hotbar and inventory system, basic crafting mechanics (planks, sticks, tools), tool durability, gravity physics, and a day/night cycle.
- Controls:
A, D- Move left/rightSpace- JumpLeft Click- Mine blockRight Click- Place selected block1-9- Select hotbar slotE- Open inventoryF- Change Mining Mode
A fast-paced 2D top-down arena survival game using Python's turtle module.
- Features: Endless waves of enemies, directional shooting mechanics, AoE shockwave attacks, spawnable powerups (speed boost, damage boost), and a survival timer.
- Controls:
W, A, S, D- MoveK- ShootE- Shockwave attackSpace- PauseR- Restart
A console-driven interactive drawing program using the turtle graphics module.
- Features: Terminal-based inputs translate directly to visual drawing commands on the canvas.
- Controls: Follow the on-screen terminal prompts to enter movement distances and turning angles (
rfor right,lfor left). Typerestartto clear the canvas orexitto quit the program.
Regards, mdhPHoenixVBcodes and AI (Gemini 3.1 and Flash)