Permalink
Browse files

added display of current gold reserves

  • Loading branch information...
1 parent eae6cfe commit 70b9d152157b616d5523e79353aeba2075cea51f @dereke committed Mar 6, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 example/london.rb
View
@@ -9,9 +9,11 @@
resources = london.turn
puts "turn 1"
resources.print
+puts "You have #{london.gold_reserves} gold"
london.resources << Field.new
resources = london.turn
puts "turn 2"
-resources.print
+resources.print
+puts "You have #{london.gold_reserves} gold"

0 comments on commit 70b9d15

Please sign in to comment.