What's going on at the end of the game, where it looks like the black king is moving around without white doing anything?
Aman premoves everything in the end, he is very low on time. Most platforms allow you to make moves in advance, and those are automatically executed after your opponent moves, as long as they are legal.