Lock and Key Design Pattern in Video Games