Skip to content

AravindVasudev/socket-snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

multi-player gameplay single player gameplay

Socket Snake

Terminal based two-player snake game.

Note

This game is a fork of my standalone snake clone which on itself is implemented over my pacman clone.

TODOs

  • Exit cleanly when either of the player dies.
  • Make both players different color.
  • Make the UX better.
  • Fix Makefile to remove relative imports of headerfiles.

Building

The game uses unix sockets and hence is NOT supported in windows. I've currently tested the build in MacOS but it should work just fine in any *nix distribution as long as it has ncurses and sockets.

$ make

# Server
$ ./bin/snake serve 8080

# Client
$ ./bin/snake connect 127.0.0.1 8080

About

TCP-based Two Player Snake Game On The Terminal.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published