summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authoramanjain1644 <[email protected]>2024-07-12 15:15:13 +0530
committeramanjain1644 <[email protected]>2024-07-12 15:15:13 +0530
commitbb1ce7fe68a374f60b5cf85db318478f57beb0b9 (patch)
tree6ac322f2638ad654146ba5d27e0e37e53eea2ffa /app.js
parent5460f45a33c8cfd423e3d84c6bf082f7a55dc4e7 (diff)
modified the chess board
Diffstat (limited to 'app.js')
-rw-r--r--app.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/app.js b/app.js
index 5085dd6..8e41b32 100644
--- a/app.js
+++ b/app.js
@@ -1,32 +1,20 @@
let board = [
-<<<<<<< Updated upstream
- [0, 0, 0, 0, 0, 0, 0, 0],
- [0, 0, 0, 0, 0, 0, 0, 0],
- [0, 0, 0, 0, 0, 0, 0, 0],
- [0, 0, 0, 0, 0, 0, 0, 0],
- [0, 0, 0, 0, 0, 0, 0, 0],
-=======
[0, 1, 0, 0, 0, 0, 0, 0],
[1, 1, 0, 0, 0, 0, 0, 0],
[1, 1, 0, 0, 0, 0, 0, 0],
[0, 0, 1, 1, 1, 0, 0, 0],
[0, 0, 1, 2, 1, 0, 0, 0],
[0, 0, 1, 1, 1, 0, 0, 0],
->>>>>>> Stashed changes
[0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0],
]
-<<<<<<< Updated upstream
-console.log(amelia_move(board, 7, 7))
-=======
console.log(board.length)
console.log(amelia_move(board, 0,0))
->>>>>>> Stashed changes
function pawn_move(board, y, x) {
let moves = []