Helping with the analysis

Sort:
Berinium

So I played black here, and I played in this position Rc8. My ldea was to kick his queen and gain control on the open c file, however according to the engine it says its inaccurate move and I should've played g4 instead. Can someone help me with the logic behind g4 pawn push and what does it accomplish?

Berinium

And also how do I post the whole game here?

aggressivesociopath

g4 sets the pawn majority in motion and comes with the threat of Qh4+ and g3. The threat itself is easily dealt with, but that gives Black time to march his pawns down the board.

Berinium

Oh ok I get it, thanks buddy. So Rc8 is inaccuracy becuase now he can move his queen to e2 and then if I play g4 he can meet the check with Qf2 so I wont be able to check and play g3 with a tempo?  

Berinium

Thanks for comments they were really helpful!