green moves side to side with arrow keys black moves with wasd blacks goal is to hit green but when green is hit wait 6 seconds and it reappears sometimes when green is moving black stops moving for a second. How to fix the glitch hit a key every time you move.
I did all the code by my self. Please coment