If you're still problems picturing here is how the game is played, let us compare it with far more popular card game Chemin de fer.
The answer on understanding java of craps is realize the dice combinations, or probabilities. https://tuvibattu.vn/bai-viet/huong-dan-choi-xo-so-mien-nam-rikvip.html