Skip to content

bellingham07/react-learn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1.仅针对当前着手,显示“You are at move #…”而不是按钮。 (没看懂。。不做了) 2.重写 Board 以使用两个循环来制作方块而不是对它们进行硬编码。 ✅ 3.添加一个切换按钮,使可以按升序或降序对落子的步数进行排序。 ✅ 4.当有人获胜时,突出显示致使获胜的三个方块(当没有人获胜时,显示一条关于结果为平局的消息)。 ✅(虽然做到了,但是使用ref直接操作dom树,感觉是下等马之选,希望学成了能改进一下吧 2024-12-11 21:49:00 5.在“落子”的历史列表中以 (row, col) 格式显示每步的位置。✅

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published