Skip to content

Commit

Permalink
JS and Ruby On Rails CS Section: Add new image for knights travails (#…
Browse files Browse the repository at this point in the history
…26236)

* Add new image for knights travails example

* Add statically CDN link for the images
  • Loading branch information
Ruchita1010 authored Aug 29, 2023
1 parent d30038e commit 87c5bfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion javascript/computer_science/project_knights_travails.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A knight in chess can move to any square on the standard 8x8 chess board from an

All the possible places you can end up after one move look like this:

![Knights Travails board](https://cdn.statically.io/gh/TheOdinProject/curriculum/284f0cdc998be7e4751e29e8458323ad5d320303/ruby_programming/computer_science/project_knights_travails/imgs/01.png)
![Knights Travails board](https://cdn.statically.io/gh/TheOdinProject/curriculum/d30038e0aaca1f35e58e205e37a21b2c9d31053d/javascript/computer_science/project_knights_travails/imgs/01.png)

### Assignment
Your task is to build a function `knightMoves` that shows the shortest possible way to get from one square to another by outputting all squares the knight will stop on along the way.
Expand Down
2 changes: 1 addition & 1 deletion ruby/computer_science/project_knights_travails.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A knight in chess can move to any square on the standard 8x8 chess board from an

All the possible places you can end up after one move look like this:

![Knights Travails board](https://cdn.statically.io/gh/TheOdinProject/curriculum/284f0cdc998be7e4751e29e8458323ad5d320303/ruby_programming/computer_science/project_knights_travails/imgs/01.png)
![Knights Travails board](https://cdn.statically.io/gh/TheOdinProject/curriculum/d30038e0aaca1f35e58e205e37a21b2c9d31053d/ruby/computer_science/project_knights_travails/imgs/01.png)

### Assignment
Your task is to build a function `knight_moves` that shows the shortest possible way to get from one square to another by outputting all squares the knight will stop on along the way.
Expand Down

0 comments on commit 87c5bfc

Please sign in to comment.