Documented the functions added in the game.cpp file.