This game is popularly known as Mastermind or MOOCOW. Aim of game is to deduce a sequence using two clues. This app allows games up to 10 in length (default is 4), up to 10 shapes, and allowing duplicates or not. For a total of almost 100 game modes.
Game is mostly written in one single HTML file, the game is totally free and open-sourced, you can have the game app deposit a copy of core file for you and read source code at your leisure, if it is requested, I'll update and put app source code in a small in-app purchase. Audio in portable form is not copied and will not be available. While game is free and source code is freely available, I will release Android Kotlin wrapper source code as part of In-app Purchase if I have the time to do it.