GithubHelp home page GithubHelp logo

kingmover's Introduction

Chess Move Animator

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.

Features

  • 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.

Demo

Chess Move Animator Demo

Installation

To run the Chess Move Animator locally, follow these steps:

  1. Clone this repository to your local machine.
  2. Open index.html in your web browser.

Alternatively, you can view the live demo here.

Usage

  1. Enter the starting position coordinates (e.g., "1,1") in the "Start Position" input field.
  2. Enter the destination coordinates in the "Destination" input field.
  3. Click the "Set Start" button to set the starting position.
  4. Click the "Set Destination" button to set the destination.
  5. Watch the king piece smoothly animate its movement from the start to the destination using the shortest path.

Contributing

Contributions are welcome! Please feel free to submit issues and pull requests.

kingmover's People

Contributors

nitigya-joshi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.