initialisation of termcaps library
Added a clean before the begining of the game