Warhammer 40k is a tabletop miniatures strategy game set in the grim dark future of the 41st millennium where players collect armies from factions like the Imperium of Man or Chaos and battle each other using rulebooks called Codexes. Players choose an army, buy the corresponding Codex and miniatures, assemble and paint the miniatures, then deploy their forces on terrain-decorated tables to play through movement, shooting, and assault phases over multiple turns with the goal of achieving a pre-determined victory condition.