Percolation games, ergodicity of probabilistic cellular automata, and the hard-core model