Let's play tennis 2: east-west game There is a challenge Let&#39;s play tennis by Daniel. He proposes to place a court in the North-South direction. My proposal is to create a court to play tennis in the East-West direction too.

You have to print a tennis court, but you have to do it in the fewest bytes possible because of confidential reasons. 

Tennis court

------x------
|  |  x  |  |
|  |--x--|  |
|  |  x  |  |
------x------


Original rules are:


No extra spaces.
No tabs as they would be unfair.
One optional trailing newline is allowed.


This is code-golf, so shortest code in bytes wins!
Python 2, 59 bytes



s="------x------\n|  |  x  |  |\n|  |--x"
print s+s[-2::-1]


Try it online!

Prints the first half of the string followed by its reverse. It's boring but efficient. I tried extracting repeating parts of out s, especially the -, but didn't find anything shorter.



Python 2, 59 bytes



for n in 6,0,2,0,6:x='-'*n+'  |  |'[n:];print x[::-1]+'x'+x


Try it online!

Using Jo King's construction.



Python 2, 62 bytes



b='|  '*2
for r in'-'*6,b,'|  |--',b,'-'*6:print r+'x'+r[::-1]


Try it online!

Prints the first half of each line, followed by 'x', followed by the first half reversed.