Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranî)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
So whenever I start a new project, I kind of like to know where I'm headed.
So let's have a look at where we're going.
Sure.
In this course, we're going to build a text-based game from start to finish.
We'll start with a player who has a name and a health.
Then we'll liven things up by adding in multiple players.
Once we have some players, we'll introduce some interesting gameplay.
Each player will take a turn, and then based on the role of a die, their health will change.
We'll also have them collect points by finding treasures.
And we'll keep players on their toes.
We'll throw in a few twists along the way.
We'll add in some unique player types, maybe a loaded die or two, just to keep things interesting.
Of course, we'll need to test our code along the way, and we'll look at our spec to help
us do that.
Then at the end of the game, we'll tally up all the scores and see which player wins.
We'll print out all the game statistics, including a list of the high scores.
Finally, we'll package it all up and distribute the game as a Ruby gem.
Now having taught a number of these courses over the years, we've learned that folks preferred
if we don't live code the solutions for them.
Right, it feels too much like a code along.
Right, so in the live coding portion of the course, we'll be building a separate application
than you will in the exercises.
We're going to build a playlist of movies.
But don't worry, the concepts will be the same.
Like you'll use a block to iterate over your players in the game, and we'll use a block
to iterate over the movies in our app.
You're going to end up with two apps at the end, the movie and the game, but you're going
to have all the fun to build the game.
Yep, that's right.
So the first step is we want to make sure that you have Ruby installed on your computer,
and also all the example code downloaded.
So the first couple exercises after this walk you through how to do exactly that.
So take a few minutes to get prepared, and then we'll meet you right back here.
See you in a minute.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.