Skip to content

A snake game, where the objective is to grow as large as possible, while eating other snakes along the way, written in Python 3

License

Notifications You must be signed in to change notification settings

techno-sam/hungry-pythons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hungry Pythons

A game similar to slither.io, written in Python 3.6

How you can help

See projects tab.

Downloading Pre-built Binaries

  1. Go to the Releases tab
  2. Open the development bulid for your operating system
  3. Download the <OS>_binaries.zip file (for example, linux_binaries.zip) in the Assets section
  4. Unzip the downloaded archive
  5. See the Recommended Parameters section of this readme for more information

Building

  1. Clone or download this repository.
  2. Install Python 3.6
  3. Execute the following commands in the directory this README file is in.
    1. python3 -m pip install --upgrade pip
    2. python3 -m pip install pygame==1.9.6
    3. pip install -r src/requirements.txt
    4. python3 -m PyInstaller src/client2.spec
    5. python3 -m PyInstaller src/server.spec
  4. Find the binaries in ./dists/

Recommended Parameters

For client:

/path/to/client2 --host 127.0.0.1 --port 9999 --view_dist 475

For server:

/path/to/server --host 127.0.0.1 --port 9999 --border 2000 --timeout 15

Licensing

This project is licensed under the GNU General Public License v3.0. For more information, see license.

About

A snake game, where the objective is to grow as large as possible, while eating other snakes along the way, written in Python 3

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages