Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,000 --> 00:00:06,320
So whenever I start a new project, I kind of like to know where I'm headed.
2
00:00:06,320 --> 00:00:08,080
So let's have a look at where we're going.
3
00:00:08,080 --> 00:00:09,080
Sure.
4
00:00:09,080 --> 00:00:12,200
In this course, we're going to build a text-based game from start to finish.
5
00:00:12,200 --> 00:00:14,880
We'll start with a player who has a name and a health.
6
00:00:14,880 --> 00:00:18,200
Then we'll liven things up by adding in multiple players.
7
00:00:18,200 --> 00:00:21,260
Once we have some players, we'll introduce some interesting gameplay.
8
00:00:21,260 --> 00:00:25,920
Each player will take a turn, and then based on the role of a die, their health will change.
9
00:00:25,920 --> 00:00:29,560
We'll also have them collect points by finding treasures.
10
00:00:29,560 --> 00:00:31,180
And we'll keep players on their toes.
11
00:00:31,180 --> 00:00:33,220
We'll throw in a few twists along the way.
12
00:00:33,220 --> 00:00:38,080
We'll add in some unique player types, maybe a loaded die or two, just to keep things interesting.
13
00:00:38,080 --> 00:00:41,160
Of course, we'll need to test our code along the way, and we'll look at our spec to help
14
00:00:41,160 --> 00:00:42,280
us do that.
15
00:00:42,280 --> 00:00:46,360
Then at the end of the game, we'll tally up all the scores and see which player wins.
16
00:00:46,360 --> 00:00:50,040
We'll print out all the game statistics, including a list of the high scores.
17
00:00:50,040 --> 00:00:53,800
Finally, we'll package it all up and distribute the game as a Ruby gem.
18
00:00:53,800 --> 00:00:57,160
Now having taught a number of these courses over the years, we've learned that folks preferred
19
00:00:57,160 --> 00:00:59,480
if we don't live code the solutions for them.
20
00:00:59,480 --> 00:01:01,640
Right, it feels too much like a code along.
21
00:01:01,640 --> 00:01:06,100
Right, so in the live coding portion of the course, we'll be building a separate application
22
00:01:06,100 --> 00:01:07,720
than you will in the exercises.
23
00:01:07,720 --> 00:01:09,479
We're going to build a playlist of movies.
24
00:01:09,479 --> 00:01:11,600
But don't worry, the concepts will be the same.
25
00:01:11,600 --> 00:01:15,820
Like you'll use a block to iterate over your players in the game, and we'll use a block
26
00:01:15,820 --> 00:01:18,300
to iterate over the movies in our app.
27
00:01:18,300 --> 00:01:22,199
You're going to end up with two apps at the end, the movie and the game, but you're going
28
00:01:22,199 --> 00:01:23,759
to have all the fun to build the game.
29
00:01:23,759 --> 00:01:24,759
Yep, that's right.
30
00:01:24,759 --> 00:01:28,479
So the first step is we want to make sure that you have Ruby installed on your computer,
31
00:01:28,480 --> 00:01:30,320
and also all the example code downloaded.
32
00:01:30,320 --> 00:01:35,000
So the first couple exercises after this walk you through how to do exactly that.
33
00:01:35,000 --> 00:01:38,440
So take a few minutes to get prepared, and then we'll meet you right back here.
34
00:01:38,440 --> 00:01:59,479
See you in a minute.
3224
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.