Skip to content

Commit ec9d42b

Browse files
committed
progress on 07
1 parent 9725e8f commit ec9d42b

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

07_robot.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,27 @@
22

33
# Proje: Robot
44

5-
{{quote {author: "Edsger Dijkstra", title: "The Threats to Computing Science", chapter: true}
5+
{{quote {author: "Edsger Dijkstra", title: "Bilgisayar Bilimine Yönelik Tehditler", chapter: true}
66

7-
[...] the question of whether Machines Can Think [...] is about as relevant as the question of whether Submarines Can Swim.
7+
[...] Makinelerin Düşünüp Düşünemeyeceği sorusu [...] Denizaltıların Yüzüp Yüzemeyeceği sorusu kadar alakalıdır.
88

99
quote}}
1010

1111
{{index "artificial intelligence", "Dijkstra, Edsger"}}
1212

13-
{{figure {url: "img/chapter_picture_7.jpg", alt: "Illustration of a robot holding a stack of packages", chapter: framed}}}
13+
{{figure {url: "img/chapter_picture_7.jpg", alt: "Bir paket yığınını tutan bir robotun illüstrasyonu", chapter: framed}}}
1414

1515
{{index "project chapter", "reading code", "writing code"}}
1616

17-
In "project" chapters, I'll stop pummeling you with new theory for a brief moment, and instead we'll work through a program together. Theory is necessary to learn to program, but reading and understanding actual programs is just as important.
17+
"Proje" bölümlerinde, sizi kısa bir an için yeni teorilerle sıkmayı bırakacağım ve bunun yerine birlikte bir program üzerinden çalışacağız. Programlama öğrenmek için teoriye ihtiyaç vardır, ancak gerçek programları okuyup anlamak da en az teori kadar önemlidir.
1818

19-
Our project in this chapter is to build an ((automaton)), a little program that performs a task in a ((virtual world)). Our automaton will be a mail-delivery ((robot)) picking up and dropping off parcels.
19+
Bu bölümdeki projemiz, bir ((otomasyon)) inşa etmek olacak, bir ((sanal dünya))da görev gerçekleştiren küçük bir program. Otomasyon, paketleri teslim alıp bırakan bir posta teslim ((robotu)) olacak.
2020

21-
## Çayır alanı
21+
## Meadowfield
2222

2323
{{index "roads array"}}
2424

25-
The village of ((Meadowfield)) isn't very big. It consists of 11 places with 14 roads between them. It can be described with this array of roads:
25+
((Meadowfield)) köyü çok büyük değil. 11 yer ve aralarında 14 yoldan oluşur. Köyün yollarını tanımlayan bu yol dizisi ile tanımlanabilir:
2626

2727
```{includeCode: true}
2828
const roads = [
@@ -36,13 +36,13 @@ const roads = [
3636
];
3737
```
3838

39-
{{figure {url: "img/village2x.png", alt: "Pixel art illustration of a small village with 11 locations, labeled with letters, and roads going being them"}}}
39+
{{figure {url: "img/village2x.png", alt: "11 konumlu, harflerle etiketlenmiş ve yolların onlara ait olduğu küçük bir köyün piksel sanat illüstrasyonu"}}}
4040

41-
The network of roads in the village forms a _((graph))_. A graph is a collection of points (places in the village) with lines between them (roads). This graph will be the world that our robot moves through.
41+
Köydeki yol ağı bir _((grafik))_ oluşturur. Bir grafik, noktaların (köydeki yerler) ve aralarındaki çizgilerin (yollar) olduğu bir koleksiyonudur. Bu grafik, robotumuzun hareket ettiği dünya olacak.
4242

4343
{{index "roadGraph object"}}
4444

45-
The array of strings isn't very easy to work with. What we're interested in is the destinations that we can reach from a given place. Let's convert the list of roads to a data structure that, for each place, tells us what can be reached from there.
45+
Dize dizisiyle çalışmak pek kolay değildir. İlgilendiğimiz şey, belirli bir yerden ulaşılabilen hedeflerdir. Hadi bu yol dizisini bize her yer için nereye gidilebileceğini söyleyen bir veri tipine çevirelim.
4646

4747
```{includeCode: true}
4848
function buildGraph(edges) {
@@ -64,11 +64,11 @@ function buildGraph(edges) {
6464
const roadGraph = buildGraph(roads);
6565
```
6666

67-
Given an array of edges, `buildGraph` creates a map object that, for each node, stores an array of connected nodes.
67+
Kenarlar dizisi verildiğinde, `buildGraph` her bir düğüm için bağlı düğümlerin bir dizisini depolayan bir map nesnesi oluşturur.
6868

6969
{{index "split method"}}
7070

71-
It uses the `split` method to go from the road strings, which have the form `"Start-End"`, to two-element arrays containing the start and end as separate strings.
71+
`"Başlangıç-Bitiş"` şeklinde olan yol dizelerinden başlangıç ve bitişi ayrı dizeler olarak içeren iki öğeli dizilere gitmek için `split` metodunu kullanır.
7272

7373
## Görev
7474

0 commit comments

Comments
 (0)