Skip to content

Commit f1d1ec1

Browse files
committed
Translate 'Wrapping up'
1 parent 08a033a commit f1d1ec1

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/content/learn/tutorial-tic-tac-toe.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2725,16 +2725,16 @@ Et enää tarvitse `xIsNext` tilan määrittelyä tai kutsuja `setXIsNext`. Nyt,
27252725
27262726
### Lopetus {/*wrapping-up*/}
27272727
2728-
Congratulations! You've created a tic-tac-toe game that:
2728+
Onneksi olkoon! Olet luonut ristinolla-pelin, joka:
27292729
2730-
- Lets you play tic-tac-toe,
2731-
- Indicates when a player has won the game,
2732-
- Stores a game's history as a game progresses,
2733-
- Allows players to review a game's history and see previous versions of a game's board.
2730+
- Antaa sinun pelata ristinollaa,
2731+
- Ilmoittaa kun pelaaja on voittanut peli,
2732+
- Tallentaa pelin historian pelin edetessä,
2733+
- Antaa pelaajan palata takaisin pelin historiassa ja katsoa edellisiä versioita pelin taulukosta.
27342734
2735-
Nice work! We hope you now feel like you have a decent grasp of how React works.
2735+
Hyvää työtä! Toivottavasti tunnet nyt, että sinulla on hyvä käsitys siitä miten React toimii.
27362736
2737-
Check out the final result here:
2737+
Katso lopullinen tulos täältä:
27382738
27392739
<Sandpack>
27402740
@@ -2903,12 +2903,12 @@ body {
29032903
29042904
</Sandpack>
29052905
2906-
If you have extra time or want to practice your new React skills, here are some ideas for improvements that you could make to the tic-tac-toe game, listed in order of increasing difficulty:
2906+
Jos sinulla on ylimääräistä aikaa tai haluat harjoitella uusia React taitojasi, tässä on joitain ideoita parannuksista, joita voisit tehdä ristinolla-peliin, listattuna vaikeusjärjestyksessä:
29072907
2908-
1. For the current move only, show "You are at move #..." instead of a button.
2909-
1. Rewrite `Board` to use two loops to make the squares instead of hardcoding them.
2910-
1. Add a toggle button that lets you sort the moves in either ascending or descending order.
2911-
1. When someone wins, highlight the three squares that caused the win (and when no one wins, display a message about the result being a draw).
2912-
1. Display the location for each move in the format (row, col) in the move history list.
2908+
1. Nykyiselle siirrolle, näytä "Olet siirrossa #..." sen sijaan, että näyttäisit painikkeen.
2909+
1. Kirjoita `Board` käyttämään kahta silmukkaa tehdäksesi ruudukon sen sijaan, että kovakoodaisit ne.
2910+
1. Lisää painike, joka antaa sinun järjestää siirrot joko nousevaan tai laskevaan järjestykseen.
2911+
1. Kun joku voittaa, korosta kolme ruutua, jotka aiheuttivat voiton (ja kun kukaan ei voita, näytä viesti tuloksesta olevan tasapeli).
2912+
1. Näytä jokaisen siirron sijainti muodossa (rivi, sarake) siirtohistorian listassa.
29132913
2914-
Throughout this tutorial, you've touched on React concepts including elements, components, props, and state. Now that you've seen how these concepts work when building a game, check out [Thinking in React](/learn/thinking-in-react) to see how the same React concepts work when build an app's UI.
2914+
Tämän oppaan aikana, olet käsitellyt Reactin käsitteitä, mukaan lukien elementit, komponentit, propsit ja tila. Nyt kun olet nähnyt miten nämä käsitteet toimivat peliä rakentaessa, katso [Thinking in React](/learn/thinking-in-react) nähdäksesi miten samat Reactin käsitteet toimivat kun rakennat sovelluksen käyttöliittymää.

0 commit comments

Comments
 (0)