Root Inc. Interview Question

How would you model a black jack game?