Chess Move Animator is a JavaScript application that allows users to visualize the movement of a king piece on a chessboard. Users can input the starting position and destination coordinates, and the king piece will smoothly animate its movement from the start to the destination using the shortes path.
- Interactive: Users can input starting and destination coordinates using text inputs.
- Smooth Animation: The king piece moves smoothly from the starting position to the destination position using shortest possible path.
- Responsive: The application adjusts to different screen sizes, ensuring a consistent user experience.
To run the Chess Move Animator locally, follow these steps:
- Clone this repository to your local machine.
- Open
index.html
in your web browser.
Alternatively, you can view the live demo here.
- Enter the starting position coordinates (e.g., "1,1") in the "Start Position" input field.
- Enter the destination coordinates in the "Destination" input field.
- Click the "Set Start" button to set the starting position.
- Click the "Set Destination" button to set the destination.
- Watch the king piece smoothly animate its movement from the start to the destination using the shortest path.
Contributions are welcome! Please feel free to submit issues and pull requests.