Skip to content

BillC424/Knights-Travails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 

Repository files navigation

Knights-Travails

https://www.theodinproject.com/lessons/ruby-knights-travails

Project to create a knight_moves method to show the shortest possible way to move from one square to another square on a chess board. This involved creating classes for the Knight piece, nodes, and adjacency list used for determining the shortest path. This challenged my understanding of data structures, breadth first searches, and classes/instance variables.

Live demo at: https://replit.com/@BillC424/Knights-Travails#main.rb

Built using Ruby. From The Odin Project curriculum (https://www.theodinproject.com/)