1 package ru.alphatech.icfpc.cards;
3 import ru.alphatech.icfpc.game.ICFPCException;
4 import ru.alphatech.icfpc.game.IValue;
5 import ru.alphatech.icfpc.game.Player;
6 import ru.alphatech.icfpc.game.Value;
8 public class Dbl implements ICard
11 public String getName() {
16 public IValue returnValue(IValue nobj, Player proponent, Player opponent)
18 if(nobj instanceof Value)
20 int n = ((Value)nobj).getValue();
24 return new Value(65535);
28 return new Value(n * 2);
33 throw new ICFPCException();