Getting around Casablanca
Local train
The Al Bidaoui service (i.e. airport service) also has some stops in the city, although they are spaced out much further from each other compared to the tram.
City bus
Many bus companies run through the city, the bus routes are the same for a given number, although the route remains completely unclear (Google maps has some bus stops for Casa though).
Going by bus is the cheapest way to get around (5 dirham) but some companies such as Hana Bus have vehicles in a disastrous state. It could be worth taking the chance given the cost-saving and experience of what many locals experience, but watch out for pickpockets.
Taxi
All taxis red in colour, drivers know how to get to every single place in every single guide book, even if you tell them just "the restaurant on Blvd. Hassan II." Check the meter is running to avoid being overcharged at the end of the trip. Don't be surprised if the taxi stops to pick someone else up. The minimum fare is 7 dirham. White "grand taxis" are another local alternative. They have a defined itinerary so you should know in which station you should take it depending on your destination (ask locals, they will inform you easily). They only leaves when they are full, which means two people on the passenger seat and four people in the back, so expect to be packed likes sardines. However, it is cheaper than the red taxi, especially for longer distances.
More
A government department puts out an exhaustive map of Casablanca in book form called Carte Guide de Casablanca that you can find in bookstores or online; in all likelihood, though, it isn't necessary.
Other than that, Casablanca is like any European city: the streets (mostly) have signs, and passersby are extremely helpful in French or Arabic and, more rarely, Spanish or English. The Medina can be hard to navigate, but it's so small that no matter how blindly you wander into it, you're never more than ten minutes from an exit.
Casablanca is one of the two Moroccan cities with a tram. The first line opened in late 2012. Service runs from 05:30 to 22:30 with frequent trains (during the day, the interval seems to be shorter than 10 minutes).
Most vending machines only take coins. One journey is 6 dirham with a rechargeable card, 8 dirham otherwise. A fee of 2 dirham will be added for the card when you buy a ticket. Tram stops are announced in Arabic and French. Further information including the network ("réseau") and schedule ("horaires") is available in French and Arabic on the Casa Tramway website.
Weego is a public transport and urban mobility app that helps users plan journeys around Casablanca. It brings together information on buses, trams, trains, grand taxis and other transport services, allowing travellers to compare routes and travel options in one place. The app offers route planning, timetable information and real-time tracking, as well as mobile ticketing and transport card top-ups for supported services.
Source: Wikivoyage, Casablanca, written by volunteers (CC BY-SA 4.0), not a government source. Prices and timings may be old; confirm before you travel.