The ultimate dice game and yeah, I threw an ultimate to sound, make it sound more exciting, but there
are visuals introduced in this game which we haven't seen before in the earlier products projects where
we're actually producing visual dice that look like dice.
So the objective here is to apply the game logic as well as flow making the JavaScript dice game, applying
the visuals of the dice, using scissors and the combination of arrays that are going to hold the data
of how the day should look like.
There's also the game play and the win logic and random, of course, because we need the computer roll,
we need the player to roll, and then we need to be able to compare who has the higher roll and whoever
else the highest is the winner.
Very simple rules here for this game.
And you can just keep pressing roll and you can always get a random value on the dice.
So let's check this game out.
So here we go.
We get a question.
Roll the dice.
We've got a button to roll.
We've got player one player to hit roll.
And you see that player two wins because player two got six.
Player one got four.
And you can be any player you want.
So there's no player versus computer in this one.
It's player one and player two.
So you can pick a player, pick your favorite player and roll the dice and see who's going to be returning
back the higher score.