mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 18:04:31 -06:00
Carol tweaks to the first few paragraphs
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
# Guessing Game
|
||||
|
||||
Let’s jump into Rust by working on a hands-on project! This chapter introduces
|
||||
you to a few common Rust concepts by showing you how to use them in a real
|
||||
program. You’ll learn about `let`, `match`, methods, associated functions, using
|
||||
external crates, and more! The following chapters will explore these ideas in
|
||||
more detail: in this chapter, you’ll practice the fundamentals.
|
||||
Let’s jump into Rust by working through a hands-on project together! This
|
||||
chapter introduces you to a few common Rust concepts by showing you how to use
|
||||
them in a real program. You’ll learn about `let`, `match`, methods, associated
|
||||
functions, using external crates, and more! The following chapters will explore
|
||||
these ideas in more detail: in this chapter, you’ll practice the fundamentals.
|
||||
|
||||
You’ll implement a classic beginner programming problem: a guessing game.
|
||||
Here’s how it works: the program will generate a random integer between 1 and
|
||||
100. It will then prompt you to enter a guess. After entering a guess, it will
|
||||
indicate whether the guess is too low or too high. If you guess correctly, the
|
||||
game will congratulate you.
|
||||
100. It will then prompt the user to enter a guess. After entering a guess, it
|
||||
will indicate whether the guess is too low or too high. If the guess is
|
||||
correct, the game will print congratulations and exit.
|
||||
|
||||
## Setting Up a New Project
|
||||
|
||||
|
||||
Reference in New Issue
Block a user