I am making boulderdash game and m stuck in changing and retrying the level in the game.. Here is my code !!

public ReadFileReplace()
{

imageObject();
replaceIcon();

}