Skip to content

CRYstalloidal/open-knights-tours

Repository files navigation

open knight's tour

Will calculate an open knight's tour with given point and board size.
马的遍历问题图形化解决方案

  • package.json - Points to the app's main file and lists its details and dependencies.
  • main.js - Starts the app and creates a browser window to render HTML. This is the app's main process.
  • index.html - A web page to render. This is the app's renderer process.
  • preload.js - A content script that runs before the renderer process loads.

To Use

To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

Install dependencies

npm install

Run the app

npm start

Build the app

npm install electron-builder
npm dist


Note: If you're using Linux Bash for Windows, [see this guide](https://www.howtogeek.com/261575/how-to-run-graphical-linux-desktop-applications-from-windows-10s-bash-shell/) or use `node` from the command prompt.


## License

[CC0 1.0 (Public Domain)](LICENSE.md)