There's actually no code to get the NES games in Animal Crossing. Instead, you obtain them through the in-game lottery at the Nook store, so keep playing and enter to win them that way.