Skip to content

AlexAvlonitis/battleship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

battleship

Quick and dirty console battleship game in ruby. 2 players take turns to sink each others ships. battleship (wikipedia)

# run the server
ruby bin/run_server.rb

# run 2 times, on separate terminals
ruby bin/run_client.rb

Improvements

  • Create main server, with clients run on separate consoles using ruby distributed object system.
  • Handle client disconnects on the server
  • tidy up some of the code and console text layout

Releases

No releases published

Packages

No packages published

Languages