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
@spec new(String.t, String.t) :: K2poker.Game.t | |
def new(player1, player2) do | |
game = %K2poker.Game{ | |
players: [ | |
%K2poker.Player{id: player1}, | |
%K2poker.Player{id: player2} | |
], | |
deck: K2poker.Deck.shuffled_strings | |
} |
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
This is a walkthough on how to add an Advertising network into your RubyMotion Project, the AdNetwork I am using is leadbolt, | |
I have not used them long enough to give a full review, but so far they seem reputable and easy to use, with a web based dashboard for managing your apps and banners. | |
http://www.leadbolt.com/developers-signup/?ref=10083628 => This is a referral link, so would apprieciate if you used it :) | |
Sign up to leadbolt, Download their IOS sdk, add your app details, and follow the simple instructions on their site. | |
move downloaded files into: | |
/vendor/leadbolt/ |