A slot machine example application for the OBAP course