Skip to content

Commit

Permalink
First pawn invalid move.
Browse files Browse the repository at this point in the history
  • Loading branch information
jisoldi committed Apr 23, 2024
1 parent ec1e210 commit 84c56bc
Showing 1 changed file with 37 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Pawn invalid movements

# Size
width = 8
height = 8

# Starting board
```
a b c d e f g h
1 | | | |BK| | | | |
2 |BP| | | | | | | |
3 | | | | | | | | |
4 | | | | | | | | |
5 | | | | | | | | |
6 | | | | | | | | |
7 |WP| | | | | | | |
8 | | | |WK| | | | |
```
# Moves
1. a7-a8


# Result
`LAST_MOVE_INVALID`

# Final board
```
a b c d e f g h
1 | | | |BK| | | | |
2 |BP| | | | | | | |
3 | | | | | | | | |
4 | | | | | | | | |
5 | | | | | | | | |
6 | | | | | | | | |
7 |WP| | | | | | | |
8 | | | |WK| | | | |
```

0 comments on commit 84c56bc

Please sign in to comment.