THE DESIGN AND IMPLEMENTATION OF AN ADAPTIVE CHESS GAME