Good areas in Cape Cod to vacation...

looking at some B&Bs and inns in the area, but all you really can see is the establishment itself, not the surroundings. Looking to be able to walk from where I’m staying to either the beach or restaurants/shopping/decent little bar. Is that pretty much possible in all of Cape Cod? Just don’t want to be in an area that’s too “resort-y” or on the beach but too far from shops. Any particular B&Bs or inns up to about $200 a night would be welcome as well.