This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using MonoTouch.Foundation; | |
using MonoTouch.UIKit; | |
using Core; | |
namespace Hnefatafl | |
{ | |
public class Application |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cardRoot.Add (new Section | |
{ | |
new StringElement ("Play Card", delegate | |
{ | |
if (game.cardPlaysRemaining > 0) | |
{ | |
game.currentCard = cardPlayed; | |
if (cardPlayed.title.Equals("Peace Talks")) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Timothy-Risis-MacBook-Pro:bots Tim$ rrobots InsultDuck.rb InsultDuck.rb | |
/Users/Tim/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': no such file to load -- gosu (LoadError) | |
from /Users/Tim/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
from /Users/Tim/.rvm/gems/ruby-1.9.2-p180/gems/rrobots-0.0.0/lib/rrobots/gui/gosuarena.rb:1:in `<top (required)>' | |
from /Users/Tim/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
from /Users/Tim/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
from /Users/Tim/.rvm/gems/ruby-1.9.2-p180/gems/rrobots-0.0.0/lib/rrobots/gui.rb:2:in `<top (required)>' | |
from /Users/Tim/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
from /Users/Tim/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
from /Users/Tim/. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mothy-Risis-MacBook-Pro:bots Tim$ rrobots NervousDuck.rb NervousDuck.rb | |
Error loading NervousDuck.rb! | |
uninitialized constant NervousDuck | |
Error loading NervousDuck.rb! | |
uninitialized constant NervousDuck | |
/Users/Tim/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': no such file to load -- gosu (LoadError) | |
from /Users/Tim/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
from /Users/Tim/.rvm/gems/ruby-1.9.2-p180/gems/rrobots-0.0.0/lib/rrobots/gui/gosuarena.rb:1:in `<top (required)>' | |
from /Users/Tim/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
from /Users/Tim/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' |
NewerOlder