create tiles, functional of buttons state game