Thankyou!! I actually was supposed to put a mechanism where you have to match with th epattern given but i was on a time crunch and had to finish it quick, so I was not able to impleent this feature instead I just added an input, press enter to finish the game.