maamsio945
i have a first version with the whole code but i want to upgrade so that it makes the game more original : The game is based on reproducing light sequences by pressing corresponding buttons. 4 buttons corresponding to 4 LEDs. But to modify this and make it more original, I want the first player to enter the sequence (the leds corresponding to the buttons pressed light up at the same time as the buttons are pressed, to help the other player memorize) and the other player to generate the same sequence by pressing the same buttons as the first player. So I thought I'd add a fifth button, which doesn't correspond to any LED, and which would be used solely to validate the sequence entered by the first player. I have no idea how to translate this idea into code. Any ideas?