Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/s3nsu1k4n/knights_travails
Knights Travails
https://github.com/s3nsu1k4n/knights_travails
odin-project recursive-algorithm ruby
Last synced: 6 days ago
JSON representation
Knights Travails
- Host: GitHub
- URL: https://github.com/s3nsu1k4n/knights_travails
- Owner: S3nsu1k4n
- Created: 2023-07-16T14:24:51.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-07-17T03:49:13.000Z (over 1 year ago)
- Last Synced: 2023-07-17T04:50:59.463Z (over 1 year ago)
- Topics: odin-project, recursive-algorithm, ruby
- Language: Ruby
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Knights Travails
The Odin Project: Knights Travails
# Introduction
In this project, I am implementing Knights Travails using ruby.
On a 8x8 chess board all steps a knight has to move to go from his initial position to any other square on the chess board, should be found recursively and each step has to be printed.
Example:
knight_moves([3, 3], [4, 3])=> 3 moves
[3, 3]
[4, 5]
[2, 4]
[4, 3]
# Demonstrated skills
- ruby
- Algorithm & datastructures# Live Preview
https://