south dakota dealt a victory for legalized gambling in deadwood , the black hills town where wild bill hickok was gunned down while playing poker 112 years ago , and state lotteries won in kentucky , indiana , idaho and minnesota .