top of page

Carrot and Potato

Overview

#Python   #teamwork

A two-player, third-person-shooter game made with Python in Tencent Coding, taught by and co-coded with my younger brother, completed on 8/20/2023. (Try it!)

Prototype

prototype.png

Designed the game to be that the first player controls the Carrot on the left with WSAD keys and the second player controls the Potato on the right with ↑↓←→ keys.

Character

Designed the pixelated images of the Carrot, the Potato, the Apple (Carrot's bullet), the Grape (Potato's bullet), and the background in Procreate.

Code

1.png
2.png

2 setup of time and score

1 setup of characters

4_edited.jpg

3 set up timer

3_edited_edited_edited.jpg

4 cloning of Apple (and Grape)

5_edited.jpg
6.png

6 retrieving and removing Apple (and Grape)

5 moving of Carrot (and Potato)

7.png

7 notifications and ending scenarios

bottom of page