using library  to make game