RobotWar is a computer game created by Silas Warner and introduced first on the PLATO educational computer network in the 1970s, then released by Muse Software as a commercial product for the Apple II platform in 1981. It had a programming language built in, since its objective was for the players to program robots to fight one another, making it an educational game helping to teach programming. The programming language had some resemblance to BASIC. It also brought to mind Logo, with its robot turtle control commands, though Logo's turtle only had a pen to draw lines, while RobotWar's robots had guns to shoot at one another.
Another unrelated method of creating dueling warriors with a programming language is Core Wars, using the Redcode language.