i finally solved it
This commit is contained in:
parent
187bf3d466
commit
f69ff1ffd7
1 changed files with 2 additions and 2 deletions
|
@ -41,10 +41,10 @@ fn main() {
|
|||
|
||||
let widthleft = x >= 4;
|
||||
|
||||
let widthright = (lenx - x) >= 4;
|
||||
let widthright = (lenx - x) >= 3;
|
||||
|
||||
// search algorithm starts here
|
||||
// check if the char is s
|
||||
// check if the char is X
|
||||
if frfrvec[y][x] == 'X' {
|
||||
println!("x is {x}");
|
||||
println!("y is {y}");
|
||||
|
|
Loading…
Reference in a new issue