answer will be use libcod. yes use libcod are u sure u are using libcod ?