Create endgame.cpp