你能解释一下这个for循环是如何工作的吗?
for (int i = 0, ii = deck.size(); i != ii;) {
int x = i % NUMBER_OF_CARDS;
int y = i / NUMBER_OF_CARDS;
Card d = deck.get(i++);
d.setFace(true); // face up
d.displayCard(40 + x * 90, y * 140 + 10); // draw them
println(d.getRank()); // println
text("Value:" + d.getRank() + " of " + d.getSuit(), 40+x * 90, y * 140 + 120);
}