equal
deleted
inserted
replaced
65 } |
65 } |
66 |
66 |
67 getSlot(batch.slot.getId()).putValue(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()).putValue(getSlot(batch.slot.getId()).getValue().returnValue(batch.card, this, myOpponent)); |
70 IValue valueC = batch.card; |
|
71 |
|
72 if(valueC instanceof Zero) |
|
73 { |
|
74 valueC = new Value(0); |
|
75 } |
|
76 |
|
77 getSlot(batch.slot.getId()).putValue(getSlot(batch.slot.getId()).getValue().returnValue(valueC, this, myOpponent)); |
71 break; |
78 break; |
72 } |
79 } |
73 } catch (ICFPCException exception){ |
80 } catch (ICFPCException exception){ |
74 getSlot(batch.slot.getId()).putValue(new I()); |
81 getSlot(batch.slot.getId()).putValue(new I()); |
75 } |
82 } |