I mean find a better opponent. He doesn't have sportsmanship.
making illegal moves in chess
I looked at the game. It was a legal castle since the king did not move through the threatened space.
The chess.com program does not permit illegal moves, so if something happens you don't understand, you might want to research first before you jump all over the other player.
https://en.wikipedia.org/wiki/Castling

I looked at the game. It was a legal castle since the king did not move through the threatened space.
The chess.com program does not permit illegal moves, so if something happens you don't understand, you might want to research first before you jump all over the other player.
True and true.

I am the other player. I would have been glad if I had found a bug in chess.com and would have resigned kindly! However, if we refer to the holy Fide Law: Article 3.8.b.2.a. Everything looks fine.
https://www.fide.com/component/handbook/?id=124&view=article

Most illegal moves can not be played on chess.com, but I have played a couple of games where illegal moves can happen. I assume a bug or glitch can make this possible.

Most illegal moves can not be played on chess.com, but I have played a couple of games where illegal moves can happen. I assume a bug or glitch can make this possible.
Any examples?

I moved a pawn to capture, which put my king check. I resigned two moves after, when I noticed my king was still in check from two moves prior. But the reality is that these illegal moves are exceptionally more rare than some people say.

I moved a pawn to capture, which put my king check. I resigned two moves after, when I noticed my king was still in check from two moves prior. But the reality is that these illegal moves are exceptionally more rare than some people say.
Not possible
i am playing against a person named Ganedzi
he made an illegal move and castled thru a queen check
i told him thru CHAT,,HE MUST RESGIN..because of this move..
my understanding is no castling can be done wihen an opposing player has piece in place from either side of the king