Skip to content

Commit

Permalink
Add reminder for promotion logic
Browse files Browse the repository at this point in the history
  • Loading branch information
alecho committed Sep 24, 2019
1 parent af843ae commit d7d3c25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/chex/game.ex
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ defmodule Chex.Game do
game
|> add_move(move)
|> capture_piece(capture)
# |> promote_pawn()
|> switch_active_color()
|> update_castling(piece)
|> update_en_passant(piece)
Expand Down

0 comments on commit d7d3c25

Please sign in to comment.