Between rounds of speed chess I read enough of a programming manual to teach myself to write programs on the school's DEC mainframe in the language Basic.