Children can learn secret codes through coding games such as Code Karts, Kodable, ScratchJr, or by playing treasure hunt games where they have to solve codes to get to the next clue. These games are ideal brain games for kids.