This is a science project where I had to make a working punnett square. All scripting was by me. Unfortunately, there is no way to detect case in scratch so the offspring allele pairs will not always have the dominant allele (Uppercase) show first. The project also detects if an input is valid or not, or in other words, if two of the same letter are typed in or not. Sometimes it does not work properly and inputs values early. I explained the code inside the project.