Puzzle code for demo, etc
This commit is contained in:
parent
917d320342
commit
0836769fca
4 changed files with 34 additions and 7 deletions
|
@ -1,7 +1,10 @@
|
|||
module Item
|
||||
COMBINATIONS = {
|
||||
[3, 4] => 5,
|
||||
[25, 26] => 30,
|
||||
[3, 4] => 5, # alcohol + dry branch => wet branch
|
||||
[25, 26] => 30, # feather + ink bottle => pen
|
||||
[32, 36] => 33, # button + magnets => magnetized button
|
||||
[37, 38] => 32, # tin + scissors => button
|
||||
[36, 37] => 100, # tin + magnets => can't combine
|
||||
}
|
||||
|
||||
def self.combine(item_a, item_b)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue