public PlayerStack() throws IOException {
        super();
        int seat = 0;
        for (Cards cards : getCardsList()) {
            int x = (seat == 4 || seat == 5 || seat == 6) ? 14 : 13;
            stackList.add(new Stack(cards.getX() + x, cards.getY() + 69));
            seat++;
        }

        String fileName = "images/numbers/comma.png";
        comma = ImageIO.read(new File(fileName));

        for (int i = 0; i < 10; i++) {
            fileName = "images/numbers/" + i + ".png";
            BufferedImage number = ImageIO.read(new File(fileName));
            numbers.put(((Integer) i).toString(), number);
        }
    }