diff -r 0e21db22ecec -r 7ff8ba5fb4cf src/main/java/ru/alphatech/icfpc/game/Player.java --- a/src/main/java/ru/alphatech/icfpc/game/Player.java Sun Jun 19 10:50:46 2011 +0400 +++ b/src/main/java/ru/alphatech/icfpc/game/Player.java Sun Jun 19 11:14:05 2011 +0400 @@ -1,13 +1,25 @@ package ru.alphatech.icfpc.game; +import ru.alphatech.icfpc.cards.I; import ru.alphatech.icfpc.cards.ICard; public class Player { + private Slot[] slots = new Slot[256]; + + public Player() + { + for(int i = 0; i < 255; i++) + { + slots[i].setVitality(10000); + slots[i].putValue(new I()); + } + } + public Slot getSlot(int i) { - throw new RuntimeException("Not impilemented yet."); + return slots[i]; } public void applyCardToSlot(ICard card, Slot slot){