chess + terminal + main