The Sumerian Game is one of the oldest computer games, created in 1964 as an education game. Its source code is unfortunately lost, but a simplified version was ported in 1969 to FOCAL for the PDP8 under the name King of Sumeria and then to BASIC around 1971 and eventually published as Hamurabi in David Ahl's 101 BASIC Computer Games book.
This tutorial shows how to build a FOCAL interpreter from scratch.
Here's the original* Hamurabi program we'll run: