Skip to content

A knight's tour (HorseRPG) is a sequence of moves of a knight on a chessboard such that the knight visits every square exactly once.

Notifications You must be signed in to change notification settings

MarvinZhong/HorseRPG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

HorseRPG

  • Enter the size of the map and the location of the self-propelled gun at the beginning
  • Fill in the numbers from the starting position
  • Fill in according to the rules of chess horse walking day
  • Output all the ways to fill the map
  • Numbers will not be repeated to the same box

Input

  • The integers n and m represent the size of the map
  • The integers x and y represent the starting coordinates of the Knight

Output

  • There are several possibilities to fill in numbers

About

A knight's tour (HorseRPG) is a sequence of moves of a knight on a chessboard such that the knight visits every square exactly once.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages