player constructor and buttons