def apply_code!(letter, *pars)
			case letter
			when 'A'
				@cur_row -= pars[0] ? pars[0] : 1
				@cur_row = @max_row if @max_row and @cur_row > @max_row
			when 'B'
				@cur_row += pars[0] ? pars[0] : 1
				@cur_row = @max_row if @max_row and @cur_row > @max_row
			when 'C'
				@cur_col += pars[0] ? pars[0] : 1
			when 'D'
				@cur_col -= pars[0] ? pars[0] : 1
			when 'E'
				@cur_row += pars[0] ? pars[0] : 1
				@cur_col = 1
				@max_row = @cur_row if @max_row and @cur_row > @max_row
			when 'F'
				@cur_row -= pars[0] ? pars[0] : 1
				@cur_col = 1
				@max_row = @cur_row if @max_row and @cur_row > @max_row
			when 'G'
				@cur_col = pars[0] ? pars[0] : 1
			when 'H'
				@cur_row = pars[0] ? pars[0] : 1
				@cur_col = pars[1] ? pars[1] : 1
				@max_row = @cur_row if @max_row and @cur_row > @max_row
			when 'f'
				@cur_row = pars[0] ? pars[0] : 1
				@cur_col = pars[1] ? pars[1] : 1
				@max_row = @cur_row if @max_row and @cur_row > @max_row
			end
			if @cur_row < 1
				@cur_row = 1
			end
			if @cur_col < 1
				@cur_col = 1
			elsif @cur_col > @max_col
				@cur_col = @max_col
			end
			return self
		end
def apply_code!(letter, *pars)
			case letter
			when 'A'
				@cur_row -= pars[0] ? pars[0] : 1
				@cur_row = @max_row if @max_row and @cur_row > @max_row
			when 'B'
				@cur_row += pars[0] ? pars[0] : 1
				@cur_row = @max_row if @max_row and @cur_row > @max_row
			when 'C'
				@cur_col += pars[0] ? pars[0] : 1
			when 'D'
				@cur_col -= pars[0] ? pars[0] : 1
			when 'E'
				@cur_row += pars[0] ? pars[0] : 1
				@cur_col = 1
				@max_row = @cur_row if @max_row and @cur_row > @max_row
			when 'F'
				@cur_row -= pars[0] ? pars[0] : 1
				@cur_col = 1
				@max_row = @cur_row if @max_row and @cur_row > @max_row
			when 'G'
				@cur_col = pars[0] ? pars[0] : 1
			when 'H'
				@cur_row = pars[0] ? pars[0] : 1
				@cur_col = pars[1] ? pars[1] : 1
				@max_row = @cur_row if @max_row and @cur_row > @max_row
			when 'f'
				@cur_row = pars[0] ? pars[0] : 1
				@cur_col = pars[1] ? pars[1] : 1
				@max_row = @cur_row if @max_row and @cur_row > @max_row
			end
			if @cur_row < 1
				@cur_row = 1
			end
			if @cur_col < 1
				@cur_col = 1
			elsif @cur_col > @max_col
				@cur_col = @max_col
			end
			return self
		end
maximum row number
 applies self an escape sequence code that ends with _letter_ as String
 and with some _pars_ as Integers