residents voted 690 - 230 tuesday to allow poker , blackjack and slot machines , with the city 's cut of the proceeds to be used to restore and preserve buildings in the historic black hills community of 2,000 .