A Cinema In Your Console!
Welcome to the cinema! To see what's showing and to buy tickets, open up your browser console and run one of these functions:
- showMovies() - Show what's playing in the cinema.
- buyTicket(id) - Buy a ticket for a movie with the given ID.
- showTickets() - Show all the tickets you've bought.
- totalCost() - How much money you owe to the cinema.
Enjoy!