w.i.p project play if you want, this is still REALLY in development use the arrow keys for rotating use w or s, or the up and down keys to move forward and backward, collect the green square and avoid the red square which will also attack you if you get too close, thats all.
i made most of the code, and I modified an enemy script from @learnlearncouk for the red squares, thats all.