Permalink
Browse files

Update readme

  • Loading branch information...
1 parent 8cbd9b2 commit 8cc44189fdca23b1a6eac473ba197748c96212fe @jtpalmer committed Mar 13, 2011
Showing with 16 additions and 3 deletions.
  1. +16 −3 week2/README
View
@@ -2,11 +2,24 @@ NAME
Games::Snake - A simple version of the classic Snake video game
SYNOPSIS
- perl snake.pl
+ perl snake.pl
- Or for 2-player mode over the internet:
+ Or for 2-player:
- perl snake2p.pl
+ perl snake2p.pl
+
+ By default, the game will connect to a server to determine the
+ IP address and port of the other player. If you are using public
+ IP address, or both players are on the same network, you can specify
+ the remote IP address and port number directly.
+
+ Options:
+ --laddr Local IP address
+ --lport Local port number
+ --raddr Remote player IP address
+ --rport Remote player port number
+ --saddr Server IP address
+ --sport Server port number
PREREQUISITES
* SDL

0 comments on commit 8cc4418

Please sign in to comment.