Skip to content

bakayu/2PFG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2PFG - 2 Player Fighter Game

A 2 player 2D Fighter Game built via python


Insallation

  1. Clone the repository to your local machine
git clone https://github.com/bakayu/2PFG.git
cd 2PFG
  1. Required dependencies can be found in requirements.txt, run the following code to install them on your machine/python envrionment
pip install -r requirements.txt

Usage

Note: Before running the game, the following code should be executed inside the game folder to ensure the clients connect to the server as intended.

python3 getip.py

Additionally, run the following code should be executed on the machine running the server.

python3 server.py

Finally, run the following code in both the computers to launch the Client (they should be connected to the same network/WIFI).

python3 client.py

Controls

  • w/SPACE - jump
  • d - move right
  • a - move left
  • j - punch
  • k - kick
  • l - dash

Preview

About

2 Player Fighter Game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages