From micah at 8thlight.com Tue Nov 4 01:14:46 2008 From: micah at 8thlight.com (Micah Martin) Date: Tue, 4 Nov 2008 00:14:46 -0600 Subject: [battleship] test 3 Message-ID: working now? Micah From micah at 8thlight.com Tue Nov 4 01:07:42 2008 From: micah at 8thlight.com (Micah Martin) Date: Tue, 4 Nov 2008 00:07:42 -0600 Subject: [battleship] test 2 Message-ID: <9A357285-AE00-4F23-9127-9FF8EAACD5F0@8thlight.com> How about this one? Micah From micah at 8thlight.com Tue Nov 4 01:06:15 2008 From: micah at 8thlight.com (Micah Martin) Date: Tue, 4 Nov 2008 00:06:15 -0600 Subject: [battleship] test message Message-ID: <8549C9F1-1F49-44FA-BE9D-706621136DB6@8thlight.com> Does this get to the list? Micah From christopher.lloyd at gmail.com Sat Nov 8 17:12:46 2008 From: christopher.lloyd at gmail.com (Chris Lloyd) Date: Sun, 9 Nov 2008 09:12:46 +1100 Subject: [battleship] Locker Room Not Working Message-ID: <5F82438C-63FC-46A8-8005-A49E2C401FEE@gmail.com> Hey, I was just playing around with the locker room and none of the analysis tools are working. Is this a known issue? Chris -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2437 bytes Desc: not available URL: From micah at 8thlight.com Sat Nov 8 22:51:36 2008 From: micah at 8thlight.com (Micah Martin) Date: Sat, 8 Nov 2008 22:51:36 -0500 Subject: [battleship] Locker Room Not Working In-Reply-To: <5F82438C-63FC-46A8-8005-A49E2C401FEE@gmail.com> References: <5F82438C-63FC-46A8-8005-A49E2C401FEE@gmail.com> Message-ID: <95F1F9C2-51BA-431B-9EF4-B0D5FB8E2B30@8thlight.com> I've updated the Battleship engine. The analysis should work now and next time it encounters an error, it will pop up a window telling you why. Micah On Nov 8, 2008, at 5:12 PM, Chris Lloyd wrote: > Hey, > > I was just playing around with the locker room and none of the > analysis tools are working. Is this a known issue? > > Chris > > _______________________________________________ > Sparring-battleship mailing list > Sparring-battleship at rubyforge.org > http://rubyforge.org/mailman/listinfo/sparring-battleship From steve at iannopollo.com Mon Nov 10 10:53:18 2008 From: steve at iannopollo.com (Steve Iannopollo) Date: Mon, 10 Nov 2008 10:53:18 -0500 Subject: [battleship] Locker Room Not Working In-Reply-To: <5F82438C-63FC-46A8-8005-A49E2C401FEE@gmail.com> References: <5F82438C-63FC-46A8-8005-A49E2C401FEE@gmail.com> Message-ID: Along the same lines, I've never used flog before but I'm pretty sure I installed it properly. The flog README says it depends on ruby2ruby and ParseTree, both of which I have installed. If I go to the root directory of my player and type 'flog .' it spits out a report, but the battleship app tells me I don't have flog installed properly. Any ideas as to what is causing this? Thanks for any insight! -Steve On Nov 8, 2008, at 5:12 PM, Chris Lloyd wrote: > Hey, > > I was just playing around with the locker room and none of the > analysis tools are working. Is this a known issue? > > Chris > > _______________________________________________ > Sparring-battleship mailing list > Sparring-battleship at rubyforge.org > http://rubyforge.org/mailman/listinfo/sparring-battleship From micah at 8thlight.com Mon Nov 10 17:19:18 2008 From: micah at 8thlight.com (Micah Martin) Date: Mon, 10 Nov 2008 16:19:18 -0600 Subject: [battleship] Locker Room Not Working In-Reply-To: References: <5F82438C-63FC-46A8-8005-A49E2C401FEE@gmail.com> Message-ID: Steve, Try this version of the production: http://sparring.rubyforge.org/battleship/battleship_debug.llp It will print the output of the flog command to "~/battleship.log". Hopefully the output will clue you in on the problem. Micah On Nov 10, 2008, at 9:53 AM, Steve Iannopollo wrote: > Along the same lines, I've never used flog before but I'm pretty > sure I installed it properly. The flog README says it depends on > ruby2ruby and ParseTree, both of which I have installed. If I go to > the root directory of my player and type 'flog .' it spits out a > report, but the battleship app tells me I don't have flog installed > properly. Any ideas as to what is causing this? > > Thanks for any insight! > > -Steve > > > On Nov 8, 2008, at 5:12 PM, Chris Lloyd wrote: > >> Hey, >> >> I was just playing around with the locker room and none of the >> analysis tools are working. Is this a known issue? >> >> Chris >> >> _______________________________________________ >> Sparring-battleship mailing list >> Sparring-battleship at rubyforge.org >> http://rubyforge.org/mailman/listinfo/sparring-battleship > > _______________________________________________ > Sparring-battleship mailing list > Sparring-battleship at rubyforge.org > http://rubyforge.org/mailman/listinfo/sparring-battleship From leavengood at gmail.com Mon Nov 10 21:05:13 2008 From: leavengood at gmail.com (Ryan Leavengood) Date: Mon, 10 Nov 2008 21:05:13 -0500 Subject: [battleship] Problems on Linux with Battleship simulator Message-ID: Hi, I saw the Ruby Kata presentation at RubyConf (sat in the front row) and enjoyed it and I want to take part in this battleship tournament. I am running Ubuntu Linux Fiesty though and I am having a problem trying to play the battleship simulator. I installed JRuby, then installed the limelight and battleship_tournament gems inside JRuby, and generated a player, but when I try to run the simulation (with just the default players) I get this exception when I click "Begin Battle" or "Go to Locker Room": Exception in thread "AWT-EventQueue-0" /home/rjl/develop/jruby/jruby-1.1.5/lib/ruby/gems/1.8/gems/limelight-0.3.0-java/lib/limelight/builtin/players/combo_box_popup_list_item.rb:13:in `mouse_clicked': undefined method `value=' for nil:NilClass (NoMethodError) from :1 ...internal jruby stack elided... from Limelight::Builtin::Players::ComboBoxPopupListItem.mouse_clicked(:1) from (unknown).(unknown)(:1) I don't know much about LimeLight so I have no idea where to start in debugging this. So I hope I can get help here. Regards, Ryan From leavengood at gmail.com Mon Nov 10 21:28:16 2008 From: leavengood at gmail.com (Ryan Leavengood) Date: Mon, 10 Nov 2008 21:28:16 -0500 Subject: [battleship] Problems on Linux with Battleship simulator In-Reply-To: References: Message-ID: On Mon, Nov 10, 2008 at 9:05 PM, Ryan Leavengood wrote: > > I installed JRuby, then installed the limelight and > battleship_tournament gems inside JRuby, and generated a player, but > when I try to run the simulation (with just the default players) I get > this exception when I click "Begin Battle" or "Go to Locker Room": Responding to myself: The problem was I had installed JRuby 1.1.5, which apparently has a problem with Limelight like JRuby 1.1.4 does (as noted on the Limelight home page), so I installed JRuby 1.1.3 and it worked fine. Another thing is that I think it should be specified that all the needed gems need to be installed inside the JRuby environment, even when using rake inside the battleship player directory. So for example before I could "rake gem" I needed to "jruby -S gem install hoe" to get Hoe and it's dependencies. Now it is time to start working on my AI :) Regards, Ryan From micah at 8thlight.com Tue Nov 11 09:51:24 2008 From: micah at 8thlight.com (Micah Martin) Date: Tue, 11 Nov 2008 08:51:24 -0600 Subject: [battleship] Problems on Linux with Battleship simulator In-Reply-To: References: Message-ID: Ryan, I'm glad you figured it out. JRuby 1.1.3 is really the best bet to run Limelight at the moment. Thanks for the tip about installing gems in the JRuby environment. However, this shouldn't be universally required since there's nothing specific to JRuby in the player source. Micah On Nov 10, 2008, at 8:28 PM, Ryan Leavengood wrote: > On Mon, Nov 10, 2008 at 9:05 PM, Ryan Leavengood > wrote: >> >> I installed JRuby, then installed the limelight and >> battleship_tournament gems inside JRuby, and generated a player, but >> when I try to run the simulation (with just the default players) I >> get >> this exception when I click "Begin Battle" or "Go to Locker Room": > > Responding to myself: > > The problem was I had installed JRuby 1.1.5, which apparently has a > problem with Limelight like JRuby 1.1.4 does (as noted on the > Limelight home page), so I installed JRuby 1.1.3 and it worked fine. > > Another thing is that I think it should be specified that all the > needed gems need to be installed inside the JRuby environment, even > when using rake inside the battleship player directory. So for example > before I could "rake gem" I needed to "jruby -S gem install hoe" to > get Hoe and it's dependencies. > > Now it is time to start working on my AI :) > > Regards, > Ryan > _______________________________________________ > Sparring-battleship mailing list > Sparring-battleship at rubyforge.org > http://rubyforge.org/mailman/listinfo/sparring-battleship From leavengood at gmail.com Tue Nov 11 10:38:29 2008 From: leavengood at gmail.com (Ryan Leavengood) Date: Tue, 11 Nov 2008 10:38:29 -0500 Subject: [battleship] Problems on Linux with Battleship simulator In-Reply-To: References: Message-ID: On Tue, Nov 11, 2008 at 9:51 AM, Micah Martin wrote: > > I'm glad you figured it out. JRuby 1.1.3 is really the best bet to run > Limelight at the moment. Yes that seems to be the case. > Thanks for the tip about installing gems in the JRuby environment. However, > this shouldn't be universally required since there's nothing specific to > JRuby in the player source. Well that is probably true. In my case the issue is that the JRuby rake is the first in my path so I need the gems for the rake tasks. Though I could fix my path easily enough. Though I would assume that all the gems needed inside the Battleship Simulator would need to be installed inside JRuby. On that note, you list rcov as a requirement for the Locker Room, yet that is a native Ruby gem and can't be installed inside JRuby. What are my options for that? Regards, Ryan From micah at 8thlight.com Tue Nov 11 11:23:36 2008 From: micah at 8thlight.com (Micah Martin) Date: Tue, 11 Nov 2008 10:23:36 -0600 Subject: [battleship] Problems on Linux with Battleship simulator In-Reply-To: References: Message-ID: <02DEE312-D47C-43CA-B548-639E61CC20C9@8thlight.com> On Nov 11, 2008, at 9:38 AM, Ryan Leavengood wrote: > On that note, you > list rcov as a requirement for the Locker Room, yet that is a native > Ruby gem and can't be installed inside JRuby. What are my options for > that? The analyzers make systems calls. For example the FlogAnalyzer makes the following call: results = `flog -a #{profile.lib_dir}` And the CoverageAnalyzer does: results = `cd #{profile.root_path} && rake -f Battleship.Rakefile spec_with_rcov` Both require MRI specific gems. So as long as the MRI gem executables are in the PATH, the analyzers should work. Just a note... These analysis tools are not final. You may run them to get an idea of the final judging criteria. But understand that the analysis performed in the locker room is not comprehensive or accurate of the actual judging criteria that will be used. Micah From micah at 8thlight.com Mon Nov 17 12:26:38 2008 From: micah at 8thlight.com (Micah Martin) Date: Mon, 17 Nov 2008 11:26:38 -0600 Subject: [battleship] Human players enabled Message-ID: Battleship Competitors, I have updated the Battleship production to allow for human players. Now you may match your wits against those of you computer AI. When you startup the production, you'll notice the first choice for each player is Human. The Human player is just for fun. It has no bearing on the tournament. Micah From steve at iannopollo.com Mon Nov 17 15:27:44 2008 From: steve at iannopollo.com (Steve Iannopollo) Date: Mon, 17 Nov 2008 15:27:44 -0500 Subject: [battleship] Human players enabled In-Reply-To: References: Message-ID: <5C22574C-B415-4E99-A376-456E90958709@iannopollo.com> Is there any way we can pull down other peoples players and pit our player against theirs? It would be fun to see how my guy fairs and what needs to be improved. Didn't know if this would be taboo. Thanks! -Steve On Nov 17, 2008, at 12:26 PM, Micah Martin wrote: > Battleship Competitors, > > I have updated the Battleship production to allow for human > players. Now you may match your wits against those of you computer > AI. > > When you startup the production, you'll notice the first choice for > each player is Human. The Human player is just for fun. It has no > bearing on the tournament. > > Micah > _______________________________________________ > Sparring-battleship mailing list > Sparring-battleship at rubyforge.org > http://rubyforge.org/mailman/listinfo/sparring-battleship From micah at 8thlight.com Mon Nov 17 15:32:06 2008 From: micah at 8thlight.com (Micah Martin) Date: Mon, 17 Nov 2008 14:32:06 -0600 Subject: [battleship] Human players enabled In-Reply-To: <5C22574C-B415-4E99-A376-456E90958709@iannopollo.com> References: <5C22574C-B415-4E99-A376-456E90958709@iannopollo.com> Message-ID: When the tournament is over, I will release all the submitted AIs. Until then, it's up to each participant whether they want to share their solution or not. There's no rule against it. Micah On Nov 17, 2008, at 2:27 PM, Steve Iannopollo wrote: > Is there any way we can pull down other peoples players and pit our > player against theirs? It would be fun to see how my guy fairs and > what needs to be improved. Didn't know if this would be taboo. Thanks! > > -Steve > > On Nov 17, 2008, at 12:26 PM, Micah Martin wrote: > >> Battleship Competitors, >> >> I have updated the Battleship production to allow for human >> players. Now you may match your wits against those of you computer >> AI. >> >> When you startup the production, you'll notice the first choice for >> each player is Human. The Human player is just for fun. It has no >> bearing on the tournament. >> >> Micah >> _______________________________________________ >> Sparring-battleship mailing list >> Sparring-battleship at rubyforge.org >> http://rubyforge.org/mailman/listinfo/sparring-battleship > > _______________________________________________ > Sparring-battleship mailing list > Sparring-battleship at rubyforge.org > http://rubyforge.org/mailman/listinfo/sparring-battleship From jballanc at gmail.com Tue Nov 18 01:13:28 2008 From: jballanc at gmail.com (Joshua Ballanco) Date: Tue, 18 Nov 2008 01:13:28 -0500 Subject: [battleship] Alternate test suites? Message-ID: <6EDBBB19-85FD-4223-AEDF-7DC8F8B671C3@gmail.com> Question on testing: How about alternates to RSpec? I just ran through substituting the default RSpec test with an equivalent default test case using MiniTest, and everything still seems to be operating normally. I don't see anything in the rules about it, but I thought I would ask to be sure. Cheers, Josh From micah at 8thlight.com Tue Nov 18 08:25:47 2008 From: micah at 8thlight.com (Micah Martin) Date: Tue, 18 Nov 2008 07:25:47 -0600 Subject: [battleship] Alternate test suites? In-Reply-To: <6EDBBB19-85FD-4223-AEDF-7DC8F8B671C3@gmail.com> References: <6EDBBB19-85FD-4223-AEDF-7DC8F8B671C3@gmail.com> Message-ID: There's a rake task in the Battleship.Rakefile that runs rcov on your rspec suite. This will be used to analyze test coverage. It uses an rspec task which is why the rules require the use of rspec. You're welcome to use any other testing framework, but at the risk of loosing points on test coverage. Micah On Nov 18, 2008, at 12:13 AM, Joshua Ballanco wrote: > Question on testing: How about alternates to RSpec? I just ran > through substituting the default RSpec test with an equivalent > default test case using MiniTest, and everything still seems to be > operating normally. I don't see anything in the rules about it, but > I thought I would ask to be sure. > > Cheers, > > Josh > _______________________________________________ > Sparring-battleship mailing list > Sparring-battleship at rubyforge.org > http://rubyforge.org/mailman/listinfo/sparring-battleship From jballanc at gmail.com Tue Nov 18 08:37:07 2008 From: jballanc at gmail.com (Joshua Ballanco) Date: Tue, 18 Nov 2008 08:37:07 -0500 Subject: [battleship] Alternate test suites? In-Reply-To: References: <6EDBBB19-85FD-4223-AEDF-7DC8F8B671C3@gmail.com> Message-ID: <016EFCCF-A12D-4853-A2A8-0EF7ED062270@gmail.com> Hmm...ok. I was only looking at the Rakefile and the gemspec. The main reason that I asked is because switching the default test case to MiniTest jumped my test coverage from 7% (the default with RSpec) to 20% (same 1 test, but implemented in MiniTest), which doesn't seem exactly...fair. ;-) -Josh On Nov 18, 2008, at 8:25 AM, Micah Martin wrote: > There's a rake task in the Battleship.Rakefile that runs rcov on > your rspec suite. This will be used to analyze test coverage. It > uses an rspec task which is why the rules require the use of rspec. > > You're welcome to use any other testing framework, but at the risk > of loosing points on test coverage. > > Micah > > On Nov 18, 2008, at 12:13 AM, Joshua Ballanco wrote: > >> Question on testing: How about alternates to RSpec? I just ran >> through substituting the default RSpec test with an equivalent >> default test case using MiniTest, and everything still seems to be >> operating normally. I don't see anything in the rules about it, but >> I thought I would ask to be sure. >> >> Cheers, >> >> Josh >> _______________________________________________ >> Sparring-battleship mailing list >> Sparring-battleship at rubyforge.org >> http://rubyforge.org/mailman/listinfo/sparring-battleship > > _______________________________________________ > Sparring-battleship mailing list > Sparring-battleship at rubyforge.org > http://rubyforge.org/mailman/listinfo/sparring-battleship From jballanc at gmail.com Tue Nov 18 08:54:04 2008 From: jballanc at gmail.com (Joshua Ballanco) Date: Tue, 18 Nov 2008 08:54:04 -0500 Subject: [battleship] Alternate test suites? In-Reply-To: References: <6EDBBB19-85FD-4223-AEDF-7DC8F8B671C3@gmail.com> Message-ID: <6FAF43AB-9704-45F4-A8A4-C2A99E450B14@gmail.com> To follow up on my own reply... A bit of fiddling with rcov on the command line revealed a few things. First, the 7% number (which did seem rather low), is due to 'rcov' not being in the exclude list along with 'spec'. That also explains why MiniTest was doing so much better. Turns out that running a simple test using MiniTest touches around 45% of the lines in MiniTest, which are likewise not excluded by rcov. Might I suggest adding a few patterns to the rcov exclude list? 'rcov' is a must for accurate results. Then 'test' and 'shoulda' should take care of the most popular alternatives. Cheers, Josh On Nov 18, 2008, at 8:25 AM, Micah Martin wrote: > There's a rake task in the Battleship.Rakefile that runs rcov on > your rspec suite. This will be used to analyze test coverage. It > uses an rspec task which is why the rules require the use of rspec. > > You're welcome to use any other testing framework, but at the risk > of loosing points on test coverage. > > Micah > > On Nov 18, 2008, at 12:13 AM, Joshua Ballanco wrote: > >> Question on testing: How about alternates to RSpec? I just ran >> through substituting the default RSpec test with an equivalent >> default test case using MiniTest, and everything still seems to be >> operating normally. I don't see anything in the rules about it, but >> I thought I would ask to be sure. >> >> Cheers, >> >> Josh >> _______________________________________________ >> Sparring-battleship mailing list >> Sparring-battleship at rubyforge.org >> http://rubyforge.org/mailman/listinfo/sparring-battleship > > _______________________________________________ > Sparring-battleship mailing list > Sparring-battleship at rubyforge.org > http://rubyforge.org/mailman/listinfo/sparring-battleship From micah at 8thlight.com Tue Nov 18 10:23:22 2008 From: micah at 8thlight.com (Micah Martin) Date: Tue, 18 Nov 2008 09:23:22 -0600 Subject: [battleship] Alternate test suites? In-Reply-To: <6FAF43AB-9704-45F4-A8A4-C2A99E450B14@gmail.com> References: <6EDBBB19-85FD-4223-AEDF-7DC8F8B671C3@gmail.com> <6FAF43AB-9704-45F4-A8A4-C2A99E450B14@gmail.com> Message-ID: Joshua, Thanks for the suggestions. I'll make sure the exclude list is properly configured when judging the solutions. Micah On Nov 18, 2008, at 7:54 AM, Joshua Ballanco wrote: > To follow up on my own reply... > > A bit of fiddling with rcov on the command line revealed a few > things. First, the 7% number (which did seem rather low), is due to > 'rcov' not being in the exclude list along with 'spec'. That also > explains why MiniTest was doing so much better. Turns out that > running a simple test using MiniTest touches around 45% of the lines > in MiniTest, which are likewise not excluded by rcov. > > Might I suggest adding a few patterns to the rcov exclude list? > 'rcov' is a must for accurate results. Then 'test' and 'shoulda' > should take care of the most popular alternatives. > > Cheers, > > Josh > > > On Nov 18, 2008, at 8:25 AM, Micah Martin wrote: > >> There's a rake task in the Battleship.Rakefile that runs rcov on >> your rspec suite. This will be used to analyze test coverage. It >> uses an rspec task which is why the rules require the use of rspec. >> >> You're welcome to use any other testing framework, but at the risk >> of loosing points on test coverage. >> >> Micah >> >> On Nov 18, 2008, at 12:13 AM, Joshua Ballanco wrote: >> >>> Question on testing: How about alternates to RSpec? I just ran >>> through substituting the default RSpec test with an equivalent >>> default test case using MiniTest, and everything still seems to be >>> operating normally. I don't see anything in the rules about it, >>> but I thought I would ask to be sure. >>> >>> Cheers, >>> >>> Josh >>> _______________________________________________ >>> Sparring-battleship mailing list >>> Sparring-battleship at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/sparring-battleship >> >> _______________________________________________ >> Sparring-battleship mailing list >> Sparring-battleship at rubyforge.org >> http://rubyforge.org/mailman/listinfo/sparring-battleship > > _______________________________________________ > Sparring-battleship mailing list > Sparring-battleship at rubyforge.org > http://rubyforge.org/mailman/listinfo/sparring-battleship From kingmt at gmail.com Thu Nov 20 15:00:27 2008 From: kingmt at gmail.com (Michael King) Date: Thu, 20 Nov 2008 14:00:27 -0600 Subject: [battleship] Error starting up Limelight Message-ID: <9e75a7ef0811201200we4de47me34b123b86bbe17@mail.gmail.com> I am trying the following command: jruby -S limelight open ~/Desktop/battleship.lll and getting the following error: /usr/lib/jruby-1.1.3/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require': no such file to load -- battleship/mock_war_Room (LoadError) ... Anyone else seeing/seen this issue? I can run the Limelight Sandbox Production and all the demos that I have tried work, although a bit sluggish. Details: jruby 1.1.3 Limelight .3 Battleship 1.0 Sun Java 1.6 Ubuntu Intrepid - Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: From micah at 8thlight.com Thu Nov 20 16:27:50 2008 From: micah at 8thlight.com (Micah Martin) Date: Thu, 20 Nov 2008 15:27:50 -0600 Subject: [battleship] Error starting up Limelight In-Reply-To: <9e75a7ef0811201200we4de47me34b123b86bbe17@mail.gmail.com> References: <9e75a7ef0811201200we4de47me34b123b86bbe17@mail.gmail.com> Message-ID: Wow! I found the problem and fixed it. Should work now. As you may have guess it was that capitol R in mock_war_Room. I'm just amazed to discover that the mac is not totally case sensitive. It was able to load that file with the typo and I'm able to traverse my hard drive using any case I want. Incredible! Thanks for pointing that our Michael. Micah On Nov 20, 2008, at 2:00 PM, Michael King wrote: > I am trying the following command: > jruby -S limelight open ~/Desktop/battleship.lll > > and getting the following error: > /usr/lib/jruby-1.1.3/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:27:in `require': no such file to load -- > battleship/mock_war_Room (LoadError) > ... > > Anyone else seeing/seen this issue? > > I can run the Limelight Sandbox Production and all the demos that I > have tried work, although a bit sluggish. > > Details: > jruby 1.1.3 > Limelight .3 > Battleship 1.0 > Sun Java 1.6 > Ubuntu Intrepid > > - Michael > > _______________________________________________ > Sparring-battleship mailing list > Sparring-battleship at rubyforge.org > http://rubyforge.org/mailman/listinfo/sparring-battleship From jballanc at gmail.com Fri Nov 21 10:34:54 2008 From: jballanc at gmail.com (Joshua Ballanco) Date: Fri, 21 Nov 2008 10:34:54 -0500 Subject: [battleship] Rakefile fix Message-ID: <5BE8E031-A8EF-4DB3-B8E3-A3B576F80269@gmail.com> Just wanted to send a quick note about something I stumbled over in the Rakefile. The line: s.files = FileList['**/*'].to_a ...needs to be modified to be: s.files = FileList['**/*'].to_a.reject!{ |f| f =~ /pkg/ } ...otherwise you'll get circular dependancy errors or (as I discovered) your gems will begin to grow in size exponentially. (For the record, I finally noticed this when my gem reached nearly half a gigabyte and took nearly 10 minutes to install!). Cheers, Josh From micah at 8thlight.com Mon Nov 24 09:15:39 2008 From: micah at 8thlight.com (Micah Martin) Date: Mon, 24 Nov 2008 08:15:39 -0600 Subject: [battleship] Rakefile fix In-Reply-To: <5BE8E031-A8EF-4DB3-B8E3-A3B576F80269@gmail.com> References: <5BE8E031-A8EF-4DB3-B8E3-A3B576F80269@gmail.com> Message-ID: <898B1461-527C-42C7-AB16-73BCEA96A76F@8thlight.com> Thanks Josh. That's useful to know. Micah On Nov 21, 2008, at 9:34 AM, Joshua Ballanco wrote: > Just wanted to send a quick note about something I stumbled over in > the Rakefile. The line: > > s.files = FileList['**/*'].to_a > > ...needs to be modified to be: > > s.files = FileList['**/*'].to_a.reject!{ |f| f =~ /pkg/ } > > ...otherwise you'll get circular dependancy errors or (as I > discovered) your gems will begin to grow in size exponentially. (For > the record, I finally noticed this when my gem reached nearly half a > gigabyte and took nearly 10 minutes to install!). > > Cheers, > > Josh > _______________________________________________ > Sparring-battleship mailing list > Sparring-battleship at rubyforge.org > http://rubyforge.org/mailman/listinfo/sparring-battleship From micah at 8thlight.com Mon Nov 24 15:03:44 2008 From: micah at 8thlight.com (Micah Martin) Date: Mon, 24 Nov 2008 14:03:44 -0600 Subject: [battleship] Battleship Tournament 1 week notice Message-ID: <71A90F8E-43C8-49D4-9213-CAD2BB6ABE2C@8thlight.com> Rubyists, This is a 1 week notice for the Battleship Sparring Tournament deadline. All submissions must be in by November 30th. http://sparring.rubyforge.org/battleship/index.html -------------- next part -------------- A non-text attachment was scrubbed... Name: battleship_small.png Type: image/png Size: 43968 bytes Desc: not available URL: -------------- next part -------------- Micah From micah at 8thlight.com Wed Nov 26 21:22:56 2008 From: micah at 8thlight.com (Micah Martin) Date: Wed, 26 Nov 2008 20:22:56 -0600 Subject: [battleship] Player profiles Message-ID: <4BBA7ECE-6B03-4E6D-9259-0A1580E16BC0@8thlight.com> Participants, Please remember to edit the generate Rakefile and provide your name and email address where indicated. Without this information, we may not be able to identify the winners. Micah From matthew.d.williams at gmail.com Sun Nov 30 17:16:45 2008 From: matthew.d.williams at gmail.com (Matthew Williams) Date: Sun, 30 Nov 2008 17:16:45 -0500 Subject: [battleship] Default players not showing up? Message-ID: <4c8cdcb30811301416j48466f66td436c0b0941fc7ad@mail.gmail.com> I just setup the Battleship package after catching the RubyConf talk (great talk by the way!). I'm trying to get the environment setup to start playing as I think we're going to use this at our local Ruby Users Group in January for our meeting. But I'm not getting the two default players to show up when I launch the app and if I build a player and install the gem, it does not show up either. I also tried installing the debug version which was mentioned in another thread but that didn't help out any. Looking forward to seeing things play out! Take care! -Matt Williams From matthew.d.williams at gmail.com Sun Nov 30 17:23:11 2008 From: matthew.d.williams at gmail.com (Matthew Williams) Date: Sun, 30 Nov 2008 17:23:11 -0500 Subject: [battleship] Default players not showing up? In-Reply-To: <4c8cdcb30811301416j48466f66td436c0b0941fc7ad@mail.gmail.com> References: <4c8cdcb30811301416j48466f66td436c0b0941fc7ad@mail.gmail.com> Message-ID: <4c8cdcb30811301423k318eff8jfbc636b2ac4d46a8@mail.gmail.com> Guess I should have scrolled all the way down on the README, I issued the command described and I'm up and running. Problem solved! On Sun, Nov 30, 2008 at 5:16 PM, Matthew Williams wrote: > I just setup the Battleship package after catching the RubyConf talk > (great talk by the way!). > > I'm trying to get the environment setup to start playing as I think > we're going to use this at our local Ruby Users Group in January for > our meeting. > > But I'm not getting the two default players to show up when I launch > the app and if I build a player and install the gem, it does not show > up either. > > I also tried installing the debug version which was mentioned in > another thread but that didn't help out any. > > Looking forward to seeing things play out! Take care! > -Matt Williams >