The dice game that Will Turner plays with Davy Jones is called Liar's Dice, a gambling game where each player has to make consecutively higher bids based upon how many of each die they claim are on the table (two threes, four fives, etc.), until a player is called a liar, in which case all the dice are shown and it's seen if the bid is correct.