To move right use the right arrow (100000) To move left use the left arrow (010000) To jump press the up arrow (001000) To crouch press the down arrow (000100) To change your color randomly press A (000010) Green is A and right arrow (100010) Blue is A and left arrow (010010) Pink is A and up arrow (001010) Reset your color using B (000001) B and the arrow keys give you a boost (100001)(010001)(001001) Pressing up and down makes you invisible (001100)
This is just a fun little project for my APCSP class. This game is unique as the controller is entirely using Binary. Instead of using the if left arrow is pressed, to move the character the left arrow will add a 1 to its corresponding spot in the binary (the bitstring variable). The bitstring is then used to control the character and all user inputs.