Fictional hypothetical

An ordinary chess program, animated. The branch at the end is a thought experiment, not something chess engines do.

The computer's objective

Win the game

Fictional hypothetical

A hypothetical branch with a more autonomous agent

The program above can only move chess pieces. Imagine instead a system whose possible actions reached beyond the board, to the computer it runs on, the network and its own settings, and which was strongly optimizing for the single objective of winning.