The game's actual source code would be under copyright, but presumably you could re-write a game and exactly copy its gameplay and that wouldn't be copyright infringement any more than writing a poem using the same meter with different words as a famous poem would infringe.