From 64f3861aa00747498d7ef5ca88c8b1946038871c Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Sun, 13 Mar 2022 17:27:06 +0100 Subject: [PATCH] Add tutorial's second part todo list --- src/index.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/index.js b/src/index.js index 6727202..bafdacc 100644 --- a/src/index.js +++ b/src/index.js @@ -2,6 +2,14 @@ import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; +/*TODO + Display the location for each move in the format (col, row) in the move history list. + Bold the currently selected item in the move list. + Rewrite Board to use two loops to make the squares instead of hardcoding them. + Add a toggle button that lets you sort the moves in either ascending or descending order. + When someone wins, highlight the three squares that caused the win. + When no one wins, display a message about the result being a draw. +*/ function Square(props) { return (