Hi again, this scripting thing is doing my head in. I have an error CS10231 type expected but I do not see anything wrong someone please help?

The problem is in line 26 everything else is fine.

{
public GameObject explosion;
public GameObject playerExplosion;
private object Gamecontroller;
private object gamecontroller;

void OnTriggerEnter(Collider other)
{
    if (other.tag == "Boundary")
    {
        return;
        Debug.Log(other.name);
    }

    Instantiate(explosion, transform.position, transform.rotation);
    if (other.tag == "Player")
    {
        if ((playerExplosion != null) && (gamecontroller != null))
        {
            Instantiate(playerExplosion, other.transform.position, other.transform.rotation);
            Gamecontroller.GameOver();
            gamecontroller = GameObject.GetComponent<>(Gamecontroller); line 26
        }
        Destroy(other.gameObject);
        Destroy(gameObject);
    }
}

}

It should probably be:

gamecontroller = GameObject.GetComponent<Gamecontroller>();

You will get a reference to the first component of type Gamecontroller in this way.