Game of Life improvement
I'm unsure what you mean by saying "improve the user interface". AFAIK Game of life doesn't have much of a user interface as it's a simulation that only displays the grid and whatever happens on it.
However there are some other things that can definitely be improved.


Don't use using namespace std 
Generally functions in C++ are lowercase
Think about better variable names.
x and y might be acceptable but t and z are probably not the best names.
Prefer using \n over std::endl
Prefer prefix over postfix operator
Don't compare to booleans. Instead do if (condition) and
if (!condition).
You might want to use vectors for your board instead of arrays. 
Don't use global variables (which you don't need when you're using vectors)
There is another way to write an endless loop which is a for loop without conditions for (;;) (read as forever).
Which one is better is highly opinion based however.
Your cluster of for loops is quite hard to grasp. It would improve readability and understanding if you break it up into smaller parts. For example you could write a function to iterate over the cells and for every cell call another function that checks the adjacent ones for live cells.