End Game Character Functionality

Added the selling of the player's resources upon the end of the game.