In this video we will program a guessing game in Rust to introduce basic concepts and get a flavour for the language syntax. The guessing game will include user input/output, random number generation, comparison with the match statement, loops and basic error handling.
Contents:
0:00 Introduction
0:19 Creating a Project
0:36 User Input
4:05 Generating a Random Number
6:03 Comparison with Match
8:07 Parsing String to Integer
10:13 Adding a Loop
13:09 Conclusion
References:
The Rust Programming Language by by Steve Klabnik and Carol Nichols - [ Ссылка ]
Social Media:
Email: nikola.n.lazarov@outlook.com
Twitter: [ Ссылка ]
LinkedIn: [ Ссылка ]
#rust #course
Ещё видео!