People have already played Super Mario Bros. with a variety of things used as controllers, such as Guitar Hero guitars, real-life drum kit, and Donkey Kong’s bongo peripherals.

A Twitter user under the nickname @r1ckp declared himself a “hardware hacker” and found a way how to use a Lego Mario as a physical controller to play the iconic Super Mario Bros.

@r1ckp used a Mario mannequin that was released as part of a Lego Super Mario toy set this year. To navigate through the game world of Mario, the Twitter user tilts Lego man forward and backward, and it can shoot fireballs, head down pipes, and jump easily. The game itself is running via an emulator in a Linux virtual machine on Mac.

Programmer Runs 1993′s Doom on a Pregnancy Test
Programmers run the Doom game on various unordinary devices like Apple Watch, Apple TV, Touch Bar on MacBook Pro, in Minecraft, on a microwave, and even on a 1998 Kodak DC260 camera.

This whole thing became possible due to the fact that the Mario figurine has some interesting tech, namely, it is equipped with a color sensor, gyroscope, Bluetooth protocol, and an accelerometer to communicate with the digital elements of the toy. The hacker says that he intercepted the signals Mario was sending over Bluetooth and plugged them into the controls of the emulator.

According to the hacker, the whole setup process took nearly 4 hours in total. He also added that he would share the code at a certain point to allow others to try this hack on their own.