Square game

Download the game (I wrote it in pygame ok)

Description:

This is just a generic square game that you can play with 2 players or play by yourself.
This is my first project and I think I have learned a lot from my experiences, Ive learned how to solve problems,
troubleshoot, and build. I chose to use pygame becuase of its simple syntax.

Changelog

V1.0-Initialized game on a website
V1.2-Added a working pathfinding system that also works diagonally
V1.3-Fixed lag and other bugs
V1.4-The bot was finalized
V1.5-Final update, added how to play

Download

How to play

Use the arrow keys to move your character if you are red player. Use arrow keys if you are green player
Press SHIFT to attack. Use left shift for red player and right shift for green player
Avoid obstacles and enemy players.
For red player, press "1" key for block(melee weapon) and "2" key for the gun, and "3" key for the shield.
Green player uses arrow keys to move
Press "/" key to use the gun, and "right control" key for the block, and return key for the shield.
To dash, Red player presses left mouse button and green player presses right mouse button.
In PvE, Human player can use mouse, human player is red player.

Setting the game up

-IMPORTANT: MAKE SURE TO INSTALL PYTHON AND PYGAME

NOTE: It is required you use python 3.13 as pygame only works on 3.13, make sure your interpreter is also set to 3.13

-After you download the game, extract the zip and download pygame with: python -m pip install pygame

Python Installation Guide