link ENIACThe Electronic Numerical Integrator and Computer was invented for military purposes. The machine was built at the University of Pennsylvania and cost $500,000.
First video game
WikipediaThe first video game was the cathode ray tube amusement device and was invented by Thomas T. Goldsmith Jr. The game was a missile simulator developed by the military during WWII.