Skip to content

stoneG/snowball

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

105 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Game

Snowball is a "dog eat dog" game. Players maneuver a snowball across the sky, dodging larger snowballs, in an effort to be the last snowball standing.

Photos

alt text
alt text

Gameplay

Here's the video demo

Release

(0.3) Optimized some server calculations, and the game now supports up to 5 players, though YMMV depending on your network connection.
(0.2) Multiplayer is GO.
(0.1) Currently you can play the game as a mutant green snowball that terrorizes all the other snowflake denizens. That's about it though.

Installation

What you need to run the server: python.
What you additionally need to run the client: pygame.

Ubuntu:

sudo apt-get install python-pygame

Clone 'snowball' repository into folder of choice:

git clone https://github.com/stoneG/snowball.git

Running the game

First run the server. You may give a specific IP address for the server to bind to (ie if you want to run locally) or let it automatically attach to your outward IP address.
First, run the server. It will automatically attach to your outward IP address.

python server.py

You may also give a specific IP address instead, such as localhost:

python server.py '127.0.0.1'

Now, please note the IP address that the server is binded and listening on. For example, '192.168.21.45' below:

Listening at ('192.168.21.45', 1060)

Then you want to run your client and point to the server's IP address.
For example, if the server's IP is 192.168.21.45:

python client.py '192.168.21.45'

Then, you should see a client window pop up. clients connect to the server with SPACE. After all desired connections are made, the master client (designated by the server) will have the option of starting the game by hitting 's'.

Controls

ARROWS: Movement
SPACE : Compress snowball for more speed, at the expense of size
ESC : Quit game

TODO

  • Polish
  • Better interface
  • Scoring system/High scores
  • Allow players to chat/choose snowball color/have a screenname
  • Tons more

About

a "dog eat dog" game, except with colorful snowballs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages