Class for playing