Modern wargames were invented in Prussia in the early 19th-century. The Prussian military adopted wargaming as a tool for training their officers and developing doctrine. Civilian enthusiasts also played wargame for fun, but this was a niche hobby until the 1990s.
See also: WarGames, The War Games, WarGames match, List of Star Wars video games, Star Wars video games, and War Games.