@mattstuddert
Posted
Excellent work on this solution, Mateusz! Your project looks incredible, and I like how you've used Storybook and implemented tests.
There are a couple of areas you could improve, which would be great to see:
- You've used buttons for setting up the game and restarting a game, which is great. However, you've not used them for the actual game tiles, which means they're not accessible to anyone navigating using a keyboard. Adding buttons would make playing the game accessible to anyone not using a mouse/trackpad.
- As @yaloswog mentioned above, the CPU player isn't smart. An excellent way to test yourself further would be to make the CPU smart. This would mean the CPU would proactively block potential winning moves from the player and try to build sequences of its own to win.
Keep up the amazing work! 👍
Marked as helpful