• Home
  • Blog
  • C# / Unity
  • C++ / Unreal Engine
  • Python strategy games
  • Python arcade games
  • Python other
  • Machine Learning
  • C
  • Scratch
  • Coding and electronics
  • How I learnt to code
  • Project Euler
  • Feedback
  James L.'s coding

 PYTHON ARCADE GAMES BY JAMES l.

Click the buttons below the screenshots to get my Python code (in a Trinket) for Tetris, Space Invaders, Flappy Bird, Snake, Lily Pad, Bat & Ball or Water the Crops.
​
All the games require Pygame to run, so you will need to copy the code from the Trinket to your PC.

Space Invaders, Flappy Bird, Lily Pad, Bat & Ball and Water the Crops also use images which are attached to the buttons below.

Tetris

Picture
Tetris code

Flappybird

Picture
Flappy Bird code
Pipe (png)
starting background (gif)
Flapping Bird (png)
Background (jpg)
Lily Pad
Picture
lily pad code
river (jpg)
lily (JPG)
frog (JPG)
lose (JPG)


​Water the Crops

Picture
water the crops code
the scratch cat

Space Invaders

Picture
Space invaders code
alien ship(png)
background music(mp3)
bullet image(png)
bullet image 2 (png)
explosion image(jpg)
Explosion sound(mp3)
hit other ship(mp3)
space ship on(mp3)
player's bullet(mp3)
Alien's Bullet(mp3)

Snake

Picture
Snake code

Bat and Ball

Picture
Bat and ball code
Bat and Ball (JPG)
Back to top
Proudly powered by Weebly
  • Home
  • Blog
  • C# / Unity
  • C++ / Unreal Engine
  • Python strategy games
  • Python arcade games
  • Python other
  • Machine Learning
  • C
  • Scratch
  • Coding and electronics
  • How I learnt to code
  • Project Euler
  • Feedback