TL;DR
How do I connect the MDF sheets on the corners (in left-hand-side picture), so they align nicely, and there's no gap? As you can see in the sketch, the angles are not always multiples of 45 degrees.
Backstory:
One day I got bored, and wanted to play some Pac-Man. Playing it on PC didn't really feel right, so I decided to buy an arcade cabinet. After checking the prices on eBay, I made the best decision... "$1,500 for a cabinet? I can build this myself!"
Needless to say, it's a great idea for someone with no prior woodworking experience...
Anyway, I am moving forward quite nicely, but I've stumbled upon a problem for which I can't seem to find a solution.
I am wondering how I can connect MDF sheets together, so that there isn't be a gap between them - basically, how can I cut them at an angle (and what tools would you recommend for that purpose?).
In the image I am attaching, you can see my rough sketch of arcade cabinet on the left. How am I to connect the top sheet and back sheet together? They join at a slight angle, leaving a visible corner gap, and I want to achieve the result on the right, where the joined pieces blend together seamlessly.