Skip to content
Newer
Older
100644 23 lines (14 sloc) 1.35 KB
da5dc05 @pieter Add a README
authored
1 IPv6 Battleships
2 ----------------
3
4 This is an implementation of Battleships using ICMPv6 ping request/reply commands. It was written as an entry for the IPv6 competition for ipv6day.nl. It was created in a few hours time, so they code is pretty hackish.
5
6 Every user playing the game will get 100 IPv6 addresses assigned to their interface. When a user hits the other player, they send an ICMP echo request. If the target is part of a ship, it will get replied with an ICMP echo reply. If not, the user will get an ICMP unreachable message. The game has a battlelog which allows you to follow what happens on the networking side.
7
8
9 Implementation
10 ==============
11
12 The networking part is written in Ruby. The interface side is written in Objective-C. The two are tied together using MacRuby, which you will need to have installed to compile and run the program. If you don't have MacRuby, you can download a version of Battleships from the 'downloads' section in Github, which bundles it by default. Note that the application requires root access.
13
14 The networking code may also run on FreeBSD, but I doubt it. For the interface you'll need at least Mac OS X Snow Leopard on a 64-bit machine (Core 2 or better).
15 Graphics
16 ========
17
18 The graphics were made by Kim Does <ipv6@kdoes.nl>.
19
20 Screenshot
21 ==========
22
23 <img src="https://github.com/pieter/ipv6-battleships/raw/master/images/img2.png">
Something went wrong with that request. Please try again.