

The visuals of the game were designed with a classic 1930’s style cartoon aesthetic that was drawn by hand, then digitized to create animated sprites in-game. The game centers around the titular protagonist, Cuphead, and his brother Mugman as they defeat the odds and pay off the debt they owe to the Devil after betting their souls in his casino. The player with the highest score wins.Cuphead is a platforming run-and-gun game that was developed and published by Studio MDHR for Windows and Xbox One on September 29th, 2017, with ports to other consoles made available in the following years. In the case of the best 3 or 5 game mode, a score table is started to count the scores of player 1 and 2. To check the winner, a function with an if statement is called to determine which dice has the highest value.

Through the DOM, the dice numbers are associated with the "src" attribute of the image and changed when the "Roll the dice" button is clicked. To randomize the dices I used Math.random() with the logic necessary to generate numbers between 1 and 6. The project initially proposed was a simple game of dice. What will be the end of the liquid carrier brothers? About What Cuphead didn't know was that King Dice is the Devil's right hand man and that game was an ambush to capture the soul the Devil didn't receive. Cuphead compulsively agreed to enter the dispute with his brother without first verifying the terms and rules. King Dice then invited them to a roll of the dice, following the modes: Normal, BO3 or BO5. There, they found King Dice who was the venue's manager. In another of their adventures, the brothers Cuphead and Mugman suddenly entered a casino. Cuphead and Mugman got into trouble with the devil and now he wants the souls of these troublemakers.
