from pyglet.window import key

PLAYER_SHIP_KEYS = dict(left=[key.A, key.LEFT], right=[key.D, key.RIGHT],
                        thrust=[key.W, key.UP], fire=[key.S, key.DOWN])
PLAYER_1_SHIP_KEYS = dict(left=[key.A], right=[key.D], thrust=[key.W],
                          fire=[key.S])
PLAYER_2_SHIP_KEYS = dict(left=[key.LEFT], right=[key.RIGHT],
                          thrust=[key.UP], fire=[key.DOWN])

from pyglet.window import key

PLAYER_SHIP_KEYS = dict(left=[key.A, key.J], right=[key.D, key.L],
                        thrust=[key.W, key.I], fire=[key.S, key.K])
PLAYER_1_SHIP_KEYS = dict(left=[key.A], right=[key.D], thrust=[key.W],
                          fire=[key.S])
PLAYER_2_SHIP_KEYS = dict(left=[key.J], right=[key.L], thrust=[key.I],
                          fire=[key.K])

Change second ship controls to IJKL
Change second ship controls to IJKL

  from pyglet.window import key
  
- PLAYER_SHIP_KEYS = dict(left=[key.A, key.LEFT], right=[key.D, key.RIGHT],
+ PLAYER_SHIP_KEYS = dict(left=[key.A, key.J], right=[key.D, key.L],
-                         thrust=[key.W, key.UP], fire=[key.S, key.DOWN])
+                         thrust=[key.W, key.I], fire=[key.S, key.K])
  PLAYER_1_SHIP_KEYS = dict(left=[key.A], right=[key.D], thrust=[key.W],
                            fire=[key.S])
- PLAYER_2_SHIP_KEYS = dict(left=[key.LEFT], right=[key.RIGHT],
+ PLAYER_2_SHIP_KEYS = dict(left=[key.J], right=[key.L], thrust=[key.I],
-                           thrust=[key.UP], fire=[key.DOWN])
+                           fire=[key.K])
  
Change second ship controls to IJKL
## Code Before:
from pyglet.window import key

PLAYER_SHIP_KEYS = dict(left=[key.A, key.LEFT], right=[key.D, key.RIGHT],
                        thrust=[key.W, key.UP], fire=[key.S, key.DOWN])
PLAYER_1_SHIP_KEYS = dict(left=[key.A], right=[key.D], thrust=[key.W],
                          fire=[key.S])
PLAYER_2_SHIP_KEYS = dict(left=[key.LEFT], right=[key.RIGHT],
                          thrust=[key.UP], fire=[key.DOWN])

## Instruction:
Change second ship controls to IJKL
## Code After:
from pyglet.window import key

PLAYER_SHIP_KEYS = dict(left=[key.A, key.J], right=[key.D, key.L],
                        thrust=[key.W, key.I], fire=[key.S, key.K])
PLAYER_1_SHIP_KEYS = dict(left=[key.A], right=[key.D], thrust=[key.W],
                          fire=[key.S])
PLAYER_2_SHIP_KEYS = dict(left=[key.J], right=[key.L], thrust=[key.I],
                          fire=[key.K])
