1
00:00:00,180 --> 00:00:05,940
The ultimate dice game and yeah, I threw an ultimate to sound, make it sound more exciting, but there

2
00:00:05,970 --> 00:00:11,190
are visuals introduced in this game which we haven't seen before in the earlier products projects where

3
00:00:11,190 --> 00:00:14,870
we're actually producing visual dice that look like dice.

4
00:00:15,120 --> 00:00:22,230
So the objective here is to apply the game logic as well as flow making the JavaScript dice game, applying

5
00:00:22,230 --> 00:00:27,210
the visuals of the dice, using scissors and the combination of arrays that are going to hold the data

6
00:00:27,330 --> 00:00:28,950
of how the day should look like.

7
00:00:29,100 --> 00:00:35,190
There's also the game play and the win logic and random, of course, because we need the computer roll,

8
00:00:35,190 --> 00:00:40,090
we need the player to roll, and then we need to be able to compare who has the higher roll and whoever

9
00:00:40,110 --> 00:00:41,730
else the highest is the winner.

10
00:00:41,880 --> 00:00:44,610
Very simple rules here for this game.

11
00:00:44,610 --> 00:00:49,980
And you can just keep pressing roll and you can always get a random value on the dice.

12
00:00:50,130 --> 00:00:51,190
So let's check this game out.

13
00:00:51,630 --> 00:00:52,320
So here we go.

14
00:00:52,320 --> 00:00:53,520
We get a question.

15
00:00:53,530 --> 00:00:54,330
Roll the dice.

16
00:00:54,330 --> 00:00:55,620
We've got a button to roll.

17
00:00:55,620 --> 00:00:58,200
We've got player one player to hit roll.

18
00:00:58,200 --> 00:01:01,350
And you see that player two wins because player two got six.

19
00:01:01,620 --> 00:01:02,820
Player one got four.

20
00:01:03,030 --> 00:01:05,010
And you can be any player you want.

21
00:01:05,010 --> 00:01:07,860
So there's no player versus computer in this one.

22
00:01:07,860 --> 00:01:09,270
It's player one and player two.

23
00:01:09,270 --> 00:01:15,330
So you can pick a player, pick your favorite player and roll the dice and see who's going to be returning

24
00:01:15,330 --> 00:01:16,740
back the higher score.
