The Warhammer 40,000 began as a tabletop miniature wargame produced by Games Workshop, set in a dystopian science-fantasy universe. The various book series based within this universe focus on the backstories of the game with various spin-off stories.