As the discussion on Moving Objects With the keyboard, use the ASCII code is also required in determining the motion of the object. For example, a keyboard you choose to move the object to the left then the ASCII code used for A is 65. From where do we get the ASCII code? for more details you can see some of the ASCII code below :
A = 65 B = 66 C = 67 D = 68 E = 69 F = 70 G = 71 H = 72 I = 73
J = 74 K = 75 L = 76 M = 77 N = 78 O = 79 P = 80 Q = 81 R = 82
S = 83 T = 84 U = 85 V = 86 W = 87 X = 88 Y = 89 Z = 90 0 = 48
|