Why was I not allowed to move my bishop?

Sort:
Avatar of seekingshruti

I am playing against white, last move was white knight from f4 to e6 checking my king, after this I wanted to kill the knight with my bishop on g4 but was unable to do so, does any one know why?
I had to move my king from g5 to g6, next the knight obviously knocked out my queen at d8.

Avatar of CraigIreland

You're in check from both the Knight and the Bishop on c1. You need to move the King to clear both checks.

Avatar of seekingshruti

Thank you

Avatar of HiHelloLoser

Your king is double checked by a bishop and knight.