Ukrainian game plan is to make the war so unpopular in Russia domestically that they have to stop the war.
The fallback plan is to make it seem like Ukraine will hold out for a very long time so the rest of the world will be able to either A)intervene or B)support Ukraine enough that they can actually turn Ukraine into Afghanistan.
Hence the insane propaganda war happening.
But the fundamental goal for Ukraine is to play for time and not capitulate. Russia's on the clock (like all attacking forces) so Ukraine is trying to run out the clock.
Russian people want this to be a quick campaign with the Ukrainian government overthrown and the arrest/elimination of the Nazi forces.
The Ukrainian government has spent the last 8 years demonising Russians, banning the Russian language, killing ethnic Russians. Why would the Russian public be sympathetic to them? It would be like America hoping Chinese people turn on their government with all the racist propaganda they've been putting out.
As for turning Ukraine into Afghanistan we'll wait and see. Ukrainians aren't Afghan tribals who've lived through war all their lives, most of them have jobs like accountant or software programmer. They seem to talk the talk a lot, we'll see how tough they really are.