Title: How to Write a Chess Program