🎲 DICE OR DIE 💀



Physical Computing, Arduino, Quantum Computing and Composer, P5.js Coding, Photoshop,Illustration
2022

Created dice game to represent the uncertainty and probability possibility in quantum systems.
As a team, I worked with Anna, Areshya, Christine Chang

📣 IBM x The New School Quantum Design Jam 2022



INTRO



We created a side scroller dice game “Dice or Die” using the quantum data of the randomness of qubits to represent the uncertainty and possibility in quantum systems. As a team, we explored with IBM's Quantum Composer from the opportunity in the Quantum Design Jam, hosted by The New School Innovation Center in partnership with the IBM Skills Academy and IBM Quantum team. While we experimented various quantum circuit, we found out that quantum computers are unexpectable and not perfect. How can we represent the randomness and possibilty that quantum systems have? Then we thought “Let's make a game where winning or losing is determined by probability of quantum!!”
 
DESIGN PROCESS
With Quantum Composer, we realized the qubits mainly exist in state of (0,0) and (1,1). However, the states of (0,1) and (1,0) also exist as a random noise. So, we generated random data with (0,0), (0,1), (1,0), (1,1) and defined (0,0) as “0/Zero”, (0,1) as “1/One”, (1,0) as “2/Two”, and (1,1) as “3/Three” in dice unit.

Dice is a toy when we try to get a randomly selected result from a specific number. Using the same concept, we decided to explore the beauty of uncertain state of quantum data.
QUANTUM COMPOSER


The data of the state of  (0,0), (0,1), (1,0), (1,1) in dice unit
 DATA IN DICE
The quantum data was randomly selected from data sheet we generated in quantum data and coded in p5.js.

    
Every time the dice button is pressed, the state of (0,0), (0,1), (1,0), (1,1) are randomly selected and the dice units “1”,”2”,”3”,”4” appears in the game.

To win the game, the player have to keep rolling the dice until the dice receive the unit “1”, which is the same number as the bat.
       
3D MODELING

   

With 3d modeling software “Blender”, I created pumpkin shape of 3d model for the controller and made a holes for arduino board,buttons, lights and audio player.

PHYSICAL COMPUTING


Buttons

Sounds

Lights

BUTTONS
There’s total of three parts of button in the controller.

Top two buttons are to move left and right

The back side button is to roll the dice

The front side button is to
change the color of the light
when the play lose or win


SOUNDS
1. Background Music
Our friend from berklee college generated the background song(peaceful/scary versions) with Quantum playground where we can created various sounds base on quantum data sheet.

    
Peaceful versions
Fighting versions


2. Sound Effects
The sound effect that plays whenever the play lose or win are coded in Arduino.

Winning Sound


Losing Sound



We used the simple audio player and adjust the tone of the sound in Arduino to create the sound effects to differentiate the status of the player. 
Lights
The LED light strip was used to light up the controller and change color whenever the player win or lose.
There are total 4 possible color changes in the controller : Blue, Orange, Red, Green

Blue:
normal status
Orange:
nose button is pressed
Red:
the player lose
Green :
the player win
We connected all Arduino code to p5.js with serial = new p5.SerialPort();

ART
We mainly used Adobe photoshop and illustration to design all the scenes, characters to look like pixel art which is excellent to present an old video game vibe.

Scenes

Inner Games

Items

Character

PROCESS PICS




PLAY
Click the game screen to start!
Welcome to the “DICE OR DIE_Hollween version” If you don’t have the controller, move with left and right arrows!!

VIDEO