|  | @@ -96,7 +96,16 @@ pub fn apply_move(game: &Game, mov: Move) -> Game {
 | 
	
		
			
				|  |  |              new_game.set_piece(KING, side, new_king);
 | 
	
		
			
				|  |  |              new_game.set_piece(ROOK, side, new_rook);
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  | -        Move::EnPassant { side: side, column: col } => { panic!("oh no"); },
 | 
	
		
			
				|  |  | +        Move::EnPassant { side: side, column: col } => {
 | 
	
		
			
				|  |  | +            
 | 
	
		
			
				|  |  | +            let pawns = game.pawns(side);
 | 
	
		
			
				|  |  | +            if pawns & A_FILE >> game.en_passant & (ROW_4 | ROW_5) != 0 {
 | 
	
		
			
				|  |  | +                if pawns & A_FILE >> game.en_passant & (ROW_4 | ROW_5) != 0 {
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +            panic!("oh no");
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  |          Move::Promotion { mov: mov, promote_to: pt } => { panic!("oh no"); },
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 |