Usage of GameState and GameMode

I wanna create a game prototype with UE4, graphic is not important for now.
So i’m founding game mechanic classes, but i just got two class: GameState, GameMode.

How to use it? Or here has any complete examples for this?

Okay, i found this > Example Game Projects