Dot-Box icon indicating copy to clipboard operation
Dot-Box copied to clipboard

[New Feature]: Can add Hints and Undo Moves

Open shraddhha opened this issue 8 months ago • 3 comments

🎮 feature Request

feature logic and basic description:

  1. Undo Functionality Description: Allow players to undo their last move, providing an opportunity to correct mistakes or reconsider their strategy.

Logic:

Maintain a history of moves in an array. Implement an undo button that reverts the last move

  1. Hint Functionality Description: Provide players with a hint, suggesting the next best move to help them strategize better.

Logic:

Analyze the current game state. Determine a strategic move (e.g., a move that will complete a box or block the opponent). Highlight the suggested move.

Point down the features

feature points Allow users to do changes it played wrongly by using undo functionality and hint may provide hints to the user when stuck.

Select program in which you are contributing

GSSoC24

Code of Conduct

  • [X] I follow CONTRIBUTING GUIDELINE of this project.

shraddhha avatar Jun 21 '24 08:06 shraddhha