table
{
  border-collapse: collapse;
}

td
{
  border: black solid 1px;
  height: 2em;
  width: 2em;
  text-align: center;
  vertical-align: center;
}

td:first-child
{
  background-color: tan;
}

tr:last-child
{
  background-color: tan;
}

tr:nth-of-type(even)>td:nth-of-type(even),
tr:nth-of-type(odd) >td:nth-of-type(odd)
{
  background-color: maroon;
}

tr:nth-of-type(even)>td:nth-of-type(odd),
tr:nth-of-type(odd) >td:nth-of-type(even)
{
  background-color: ivory;
}

