GNU Chess is a piece of free software for playing chess. It is often used in conjunction with a GUI program such as XBoard.
http://www.gnu.org/software/chess/