Device-Independent Quantum Key Distribution: Protocols, Quantum Games, and Security