The game was directed by Casey Hudson, designed by James Ohlen, and written by Drew Karpyshyn. Through interacting with other characters and making plot decisions, players can earn Light Side and Dark Side Points, and the alignment system will determine whether the player's character aligns with the light or dark side of the Force. Players choose from three character classes (Scout, Soldier or Scoundrel) and customize their characters at the beginning of the game, and engage in round-based combat against enemies. The player character, as a Jedi, must venture to different planets in the galaxy to defeat Malak. The story of Knights of the Old Republic takes place almost 4,000 years before the formation of the Galactic Empire, where Darth Malak, a Dark Lord of the Sith, has unleashed a Sith armada against the Galactic Republic. A Nintendo Switch version was released on November 11, 2021. The game was later ported to Mac OS X, iOS, and Android by Aspyr, and it is playable on the Xbox 360 and Xbox One via their respective backward compatibility features. Developed by BioWare and published by LucasArts, the game was released for the Xbox on July 19, 2003, and for Microsoft Windows on November 19, 2003. Star Wars: Knights of the Old Republic (often abbreviated KOTOR or KotOR) is a role-playing video game set in the Star Wars universe.