- Ruby 2.0
- Rails 4.0.0
This app was rewritten in Meteor. The maintained codebase can be found here
Dominion
This app was rewritten in Meteor. The maintained codebase can be found here
When playing Swindler, I received this error in my log:
/Users/michaelbug/Sites/dominion/app/models/game_player.rb:82:in
block in find_cards_in_play': undefined method
id' for nil:NilClass (NoMethodError)
from /Users/michaelbug/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/relation/query_methods.rb:216:inblock in select' from /Users/michaelbug/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/relation/query_methods.rb:216:in
select'
from /Users/michaelbug/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/relation/query_methods.rb:216:inselect' from /Users/michaelbug/Sites/dominion/app/models/game_player.rb:82:in
find_cards_in_play'
from /Users/michaelbug/Sites/dominion/app/services/card_player.rb:50:inattack' from /Users/michaelbug/Sites/dominion/app/services/card_player.rb:17:in
play_card'
from /Users/michaelbug/Sites/dominion/app/controllers/concerns/websockets/game/turn_actions.rb:70:inblock in _play_card' from /Users/michaelbug/Sites/dominion/app/controllers/concerns/websockets/game/turn_actions.rb:54:in
block in with_active_record_connection'
from /Users/michaelbug/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:294:inwith_connection' from /Users/michaelbug/Sites/dominion/app/controllers/concerns/websockets/game/turn_actions.rb:53:in
with_active_record_connection'
from /Users/michaelbug/Sites/dominion/app/controllers/concerns/websockets/game/turn_actions.rb:67:in_play_card' from /Users/michaelbug/Sites/dominion/app/controllers/concerns/websockets/game/turn_actions.rb:24:in
block in play_card'
from /Users/michaelbug/Sites/dominion/app/controllers/concerns/websockets/game/turn_actions.rb:59:in `block in execute_in_thread'
/Users/michaelbug/Sites/dominion/app/models/game_player.rb:78:in
block in find_cards_in_hand': undefined method
id' for nil:NilClass (NoMethodError)
from /Users/michaelbug/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/relation/query_methods.rb:216:inblock in select' from /Users/michaelbug/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/relation/query_methods.rb:216:in
select'
from /Users/michaelbug/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/relation/query_methods.rb:216:inselect' from /Users/michaelbug/Sites/dominion/app/models/game_player.rb:78:in
find_cards_in_hand'
from /Users/michaelbug/Sites/dominion/app/models/game_player.rb:73:infind_card_in_hand' from /Users/michaelbug/Sites/dominion/app/services/card_trasher.rb:17:in
block in trash'
from /Users/michaelbug/Sites/dominion/app/services/card_trasher.rb:16:ineach' from /Users/michaelbug/Sites/dominion/app/services/card_trasher.rb:16:in
trash'
from /Users/michaelbug/Sites/dominion/app/cards/rat.rb:42:inprocess_action' from /Users/michaelbug/Sites/dominion/app/services/turn_action_handler.rb:32:in
process_player_response'
from /Users/michaelbug/Sites/dominion/app/cards/rat.rb:32:inblock (2 levels) in play' from /Users/michaelbug/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:294:in
with_connection'
from /Users/michaelbug/Sites/dominion/app/cards/rat.rb:30:in `block in play'
On the third (or second) run of King's Court, when using Workshop as the target action, if the card to gain from Workshop is "out-of-stock", you can still select that card via the options checkbox. However, the game is smart enough to not let the player gain the card.
Likewise, the pile number doesn't update as you gain a card from Workshop using King's Court (assuming Throne Room) as well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.