Games with languages