Skip to content

Commit 605bbd3

Browse files
committed
Translate lesson overview
1 parent 3a04170 commit 605bbd3

File tree

1 file changed

+28
-13
lines changed

1 file changed

+28
-13
lines changed

vi/1/lessonoverview.md

Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,32 +10,47 @@ material:
1010
answer: 1
1111
---
1212

13-
In Lesson 1, you're going to build a "Zombie Factory" to build an army of zombies.
13+
<!-- In Lesson 1, you're going to build a "Zombie Factory" to build an army of zombies. -->
14+
Trong Bài 1, ngươi sẽ xây một "Nhà máy Zombie" để từ đó dựng một đội quân Zombie.
1415

15-
* Our factory will maintain a database of all zombies in our army
16+
<!-- * Our factory will maintain a database of all zombies in our army
1617
* Our factory will have a function for creating new zombies
17-
* Each zombie will have a random and unique appearance
18+
* Each zombie will have a random and unique appearance -->
1819

19-
In later lessons, we'll add more functionality, like giving zombies the ability to attack humans or other zombies! But before we get there, we have to add the basic functionality of creating new zombies.
20+
* Nhà máy sẽ duy trì một cơ sở dữ liệu (database) về tất cả Zombie trong đội quân
21+
* Nhà máy sẽ đi kèm một hàm (function) để tạo ra Zombie mới
22+
* Mỗi Zombie sẽ có một hình dáng ngẫu nhiên và duy nhất
2023

21-
## How Zombie DNA Works
24+
<!-- In later lessons, we'll add more functionality, like giving zombies the ability to attack humans or other zombies! But before we get there, we have to add the basic functionality of creating new zombies. -->
25+
Ở những bài sau, ngươi sẽ thêm nhiều tính năng hơn, như cho phép Zombie tấn công con người hoặc các Zombie khác! Nhưng trước đó, nhà máy phải có tính năng cơ bản để tạo ra Zombie mới đã.
2226

23-
The zombie's appearance will be based on its "Zombie DNA". Zombie DNA is simple — it's a 16-digit integer, like:
27+
<!-- ## How Zombie DNA Works -->
28+
## Cách Hoạt động của DNA Zombie
29+
30+
<!-- The zombie's appearance will be based on its "Zombie DNA". Zombie DNA is simple — it's a 16-digit integer, like: -->
31+
Hình dán của Zombie sẽ dựa trên "DNA Zombie". DNA Zombie là một số nguyên 16 chữ số, chẳng hạn:
2432

2533
```
2634
8356281049284737
2735
```
2836

29-
Just like real DNA, different parts of this number will map to different traits. The first 2 digits map to the zombie's head type, the second 2 digits to the zombie's eyes, etc.
37+
<!-- Just like real DNA, different parts of this number will map to different traits. The first 2 digits map to the zombie's head type, the second 2 digits to the zombie's eyes, etc. -->
38+
Cũng giống như DNA thật, mỗi phần của số này sẽ quy định một đặc tính. 2 chữ số đầu sẽ quy định loại đầu cho Zombie, 2 chữ số tiếp theo sẽ quy định loại mắt, v.v.
3039

31-
> Note: For this tutorial, we've kept things simple, and our zombies can have only 7 different types of heads (even though 2 digits allow 100 possible options). Later on we could add more head types if we wanted to increase the number of zombie variations.
40+
<!-- > Note: For this tutorial, we've kept things simple, and our zombies can have only 7 different types of heads (even though 2 digits allow 100 possible options). Later on we could add more head types if we wanted to increase the number of zombie variations. -->
41+
> Ghi chú: Để đơn giản, trong bài hướng dẫn này, Zombie sẽ chỉ có 7 loại đầu khác nhau (mặc dù 2 chữ số cho phép tận 100 lựa chọn khác nhau). Sau này, ngươi có thể thêm nhiều loại đầu hơn nếu muốn tăng số biến thể Zombie.
3242
33-
For example, the first 2 digits of our example DNA above are `83`. To map that to the zombie's head type, we do `83 % 7 + 1` = 7. So this Zombie would have the 7th zombie head type.
43+
<!-- For example, the first 2 digits of our example DNA above are `83`. To map that to the zombie's head type, we do `83 % 7 + 1` = 7. So this Zombie would have the 7th zombie head type. -->
44+
Ví dụ, 2 chữ số đầu của DNA trên là `83`. Để quy định loại đầu cho Zombie, ngươi chỉ cần thực hiện `83 % 7 + 1` = 7. Theo đó, Zombie này sẽ có loại đầu thứ 7.
3445

35-
In the panel to the right, go ahead and move the `head gene` slider to the 7th head (the Santa hat) to see what trait the `83` would correspond to.
46+
<!-- In the panel to the right, go ahead and move the `head gene` slider to the 7th head (the Santa hat) to see what trait the `83` would correspond to. -->
47+
Trong cửa sổ bên phải, ngươi hãy thử di chuyển thanh trượt `head gene` (gien đầu) đến loại đầu thứ 7 (mũ Giáng Sinh) để xem đặc tính tương ứng với `83`.
3648

37-
# Put it to the test
49+
<!-- # Put it to the test -->
50+
# Thực hành xem!
3851

39-
1. Play with the sliders on the right side of the page. Experiment to see how the different numerical values correspond to different aspects of the zombie's appearance.
52+
<!-- 1. Play with the sliders on the right side of the page. Experiment to see how the different numerical values correspond to different aspects of the zombie's appearance. -->
53+
1. Hãy thử chơi với các thanh trượt bên phải đây. Thí nghiệm xem các giá trị số khác nhau sẽ ảnh hưởng hình dáng Zombie khác nhau như thế nào.
4054

41-
Ok, enough playing around. When you're ready to continue, hit "Next Chapter" below, and let's dive into learning Solidity!
55+
<!-- Ok, enough playing around. When you're ready to continue, hit "Next Chapter" below, and let's dive into learning Solidity! -->
56+
Chơi chút thế thôi. Khi ngươi đã sẵn sàng tiếp tục, hãy nhấn "Next Chapter" (Chương tiếp theo) bên dưới, và cùng lao đầu vào học Solidity!

0 commit comments

Comments
 (0)