equal
deleted
inserted
replaced
62 if(batch.card instanceof Zero) |
62 if(batch.card instanceof Zero) |
63 { |
63 { |
64 batch.card = (ICard) new Value(0); |
64 batch.card = (ICard) new Value(0); |
65 } |
65 } |
66 |
66 |
67 batch.card.returnValue(value, this, myOpponent); |
67 getSlot(batch.slot.getId()).putValue(batch.card.returnValue(value, this, myOpponent)); |
68 break; |
68 break; |
69 case SLOT_TO_CARD: |
69 case SLOT_TO_CARD: |
70 getSlot(batch.slot.getId()).getValue().returnValue(batch.card, this, myOpponent); |
70 getSlot(batch.slot.getId()).putValue(getSlot(batch.slot.getId()).getValue().returnValue(batch.card, this, myOpponent)); |
71 break; |
71 break; |
72 } |
72 } |
73 } catch (ICFPCException exception){ |
73 } catch (ICFPCException exception){ |
74 getSlot(batch.slot.getId()).putValue(new I()); |
74 getSlot(batch.slot.getId()).putValue(new I()); |
75 } |
75 } |