@Override
	public void updateBoard(int value, String symbol) {
		int count = 0;
		
		for(int i=0;i<totalGrid;i++){
			if(grid[i].contains(symbol) && (i+value)<totalGrid){
				
				grid[i] = grid[i].replaceAll(","+symbol, "");
				
				if(checkSnake(i+value,symbol)){
					System.out.println("You landed on a snake....");
					count++;
					break;
				}
				else if(checkLadder(i+value,symbol)){
					System.out.println("You landed on a ladder....");
					count++;
					break;
				}
				
				else{
						grid[i+value] = grid[i+value]+","+symbol;
						count ++ ;
						break;
					}
				}
			
			else if(grid[i].contains(symbol) && (i+value)>=totalGrid){
				count++;
			}
		}
		
		if(count==0){
			if(checkLadder(start+value-1,symbol)){
				System.out.println("You landed on a ladder....");
			}
			else{	
				grid[start+value-1] = grid[start+value-1]+","+symbol;
			}
		}
	}