Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add changes from ipv6 test @ UvA

  • Loading branch information...
commit 604c1d1622d28c856fa6a4aced372ab1a3e74348 1 parent 04a7026
@pieter authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 map.rb
  2. +1 −1  test.rb
View
4 map.rb
@@ -2,9 +2,9 @@
require 'lib/battlefields'
require 'lib/network'
-bf = Battlefields.new("en1")
+bf = Battlefields.new("en1", nil, 2642)
puts bf.player.net_prefix
-bf.set_opponent(bf.player.net_prefix, 6975)
+bf.set_opponent(bf.player.net_prefix, 2640)
m = 0.upto(99).map { |i|
address = bf.opponent.address_for_coordinate(i)
View
2  test.rb
@@ -18,4 +18,4 @@
puts "Printing board"
puts bf.board_rep
-puts "The game is now accessible at #{bf.our_prefix}"
+puts "The game is now accessible at #{bf.player.full_prefix}"
Please sign in to comment.
Something went wrong with that request. Please try again.