Ruger's own American Rimfire rifle probably had more to do with discontinuing the 77/22 in 2016 than the CZ 452, 453 and 455. The Ruger was slightly more expensive in stores that sold both, and the CZ 452, 3 and 5 series rifles arguably shoot better out pf the box. However, the 77/22 had some significant pros in its corner.
The 77/22's magazine is superb - arguably the best detachable magazine ever made for a bolt action .22. The fact that the BX series 10/22 magazines work just fine in the 77/22 doesn't hurt either. And you can still get a 77/22 magazine for about half the cost of a CZ magazine.
What the 77/22 could not compete with was the budget priced American Rimfire. It has none of the grace or charm of the 77/22, but it's cheap and it appeals to the same crowd who buy the 10/22 (a pale shadow of it's former self) and then "upgrade" it with third party aftermarket parts. Basically a Lego set for shooters.
Price wise you'll see the synthetic stock 77/22 at around $500-$550, the walnut stocked, blued rifles will sell in the $600-$700 range, and the rare variants like the boat paddle all weather models will start around $800-$850. Some of the even less common variants will top $1000. The above numbers are based on recent completed sales on GB.
You can however still find some good deals out in the wild. I recently purchased a 1984 vintage 77/22 in near mint condition (but no box) with a nothing special Simmons scope for $489. I noted it was placed 5 rifles back in a used rack with some very non attention getting used .22 LR rifles and after letting it sit there a month until I had spare discretionary cash, I offered them $425 and they took it. It was was a good buy at $489, and even better at $425. The poor display probably had a lot to do with that gun shop being an aggressive CZ dealer busy selling the current (and IMHO really ugly) CZ 457, and they just weren't inspired by a 77/22 they probably took in on trade.
I removed the Simmons scope and installed a Nikon I had sitting on a shelf and it should be a very good shooter, once I replace the trigger spring and sear with a Timney or Volquartzen, and shim the bolt. The need to make some changes is part of the problem Ruger had with the 77/22 in terms of competing with CZs.
A CZ 452 453, or 455 could be relied upon to shoot really well out of the box with mid range or better match ammo, and the 453 had a very nice adjustable trigger out of the box. I get 5 shot 1 MOA accuracy at 100 yards with both my CZ 453 American and my CZ 453 Varmint using SK Std Plus or SK Match.
The 77/22 on the other hand normally has a heavy and gritty trigger pull, and accuracy can be a bit of a crap shoot, at least in terms of getting 1.5 to 1.0 MOA accuracy out of the box. Most benefit from shimming the bolt, and a few need to have the barrel set back and rechambered to reach their potential. On the plus, side, like the CZ 455, they are easy to rebarrel and if you spend $275-$400 on a new barrel for it from Shilen, Green Mountain or Clark along with the shims and trigger modes, they are superb shooters.
On the other hand, while both the CZ and the Ruger are well finished, CZ took a short cut with a stamped trigger guard where Ruger uses a nicely finished investment cast steel part.
The other option out there right now at a great price is the Zastava MP22 / CZ99 Precision. It can be had for around $250 new, and around $185 used, has a very stiff receiver and shoots very well (about 1.25 to 1.5 MOA at 100 yards). The metal work is very nicely polished and blued - the best of the bunch when compared to the Ruger and CZ. It also has a very nice adjustable trigger. However, it has two issues that can turn off buyers.
The first is the long hooked extractors. They work great if you pull the bolt back rapidly, but if you move the bolt slowly the right hand extractor won't release the case. You have to shorten and round the end of it slightly, and then it will work just fine at normal bolt operation speeds. The good news however is that this trait causes the MP 22 / CZ 99 Precision to show up on the used market in almost never shot condition at sub $200 prices.
The second issue is the stock finish. It has all the charm of brown shoe polish and the current trend is dark brown shoe polish rather than the lighter color they used to use (although to be fair they are doing a slightly better job on the checkering as it now looks almost finished.)
If you strip the stock and apply an oil finish, it will look quite nice, but a quicker fix is to spend about $80 on a NOS Remington Model 5 stock. Remington sold the CZ99 Precision with a laminated stock as the Remington Model 5 and a Model 5 stock makes for a sharp looking MP22 / CZ99 Precision.
Below top to bottom are my Ruger 77/22, my CZ 453 American, and one of my Zastava CZ 99 Precision rifles in a Remington stock. The CZ edges them both out in terms of accuracy but the Ruger and CZ will still hold 1.25 MOA at 100 yards. The Zastava arguably has the best polish and blue, and the Ruger has the best magazine and has almost centerfire styling and details. All three have nice lines and are well proportioned for adult shooters.
They are also arranged top to bottom by used market price with the Zastava offering by far the most bang for the buck, even after a new stock and some extractor work.