Skip to content

Commit 15d4e80

Browse files
committed
Translate tic-tac-toe tutorial paragraphs 171-172
1 parent 03df7e4 commit 15d4e80

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2908,12 +2908,12 @@ body {
29082908
29092909
</Sandpack>
29102910
2911-
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:
2911+
বাড়তি সময় থাকলে বা React-এর নতুন দক্ষতাগুলো অনুশীলন করতে চাইলে গেমে নিচের উন্নতিগুলো করতে পারেন। সহজ থেকে কঠিন ক্রমে সাজানো হয়েছে:
29122912
2913-
1. For the current move only, show "You are at move #..." instead of a button.
2914-
1. Rewrite `Board` to use two loops to make the squares instead of hardcoding them.
2915-
1. Add a toggle button that lets you sort the moves in either ascending or descending order.
2916-
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).
2917-
1. Display the location for each move in the format (row, col) in the move history list.
2913+
1. শুধু বর্তমান চালের জন্য বাটনের বদলে "You are at move #..." দেখান।
2914+
1. `Board`-এ প্রতিটি ঘর সরাসরি না লিখে দুটি লুপ দিয়ে ঘরগুলো তৈরি করুন।
2915+
1. চালগুলো ঊর্ধ্বক্রম বা অধঃক্রমে সাজানোর জন্য একটি toggle বাটন যোগ করুন।
2916+
1. কেউ জিতলে জয়ের তিনটি ঘর হাইলাইট করুন। কেউ না জিতলে গেম ড্র হওয়ার বার্তা দেখান।
2917+
1. চালের ইতিহাসে প্রতিটি চালের অবস্থান (row, col) আকারে দেখান।
29182918
29192919
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 building an app's UI.

0 commit comments

Comments
 (0)