you can only try to reduce the effect by a few things, it is almost impossible to go away - because it isn't a true blur, it's a color mix.
whenever you resize a picture to a larger size, you'll need to create additional pixels. The calculation on what color those additional pixels have will only retain the correct picture on resizing of full multiples (200%, 300%).
in all other cases the color is usually mixed from the surroundings. so if the computer has to create a pixel between a black and a white original pixel, the new pixel between would be grey - and that is what looks like a blur.
And because different people have different monitor sizes even if you made the gamesize to allow for a full screen on 200% for your computer, a lot of other players will still have the blur of non-multiple resizing.
That snippet basically sets the image rendering of the game canvas to pixels. While the graphics looks crisp and sharp, the fonts and images can look wonky for some reason (I think it's because they're being made pixelated even though they aren't initially). I haven't found a fix for this even after lots of searching and digging. If only there was a way to separate the map and other graphical stuff... The only way that I can think of to get around this is if your game's screen resolution is larger to begin with. But idk really. As Andar said, it doesn't matter cause results may vary. My game looks sharp on my PC but looks blurry on the laptop. I don't think most people will notice/care though. I didn't either... until someone pointed it out and now I can't unsee it... Thank you random person :")