My games

Examples

Examples

Each example is made from ordinary blocks. Open one, press the green flag, then change the rules.

Choose a sprite

Choose a sound

Click ▶ Listen to hear a sound, or click the card to add it to your game. The songs are traditional tunes.

Buttons and LEDs

Parts wired to your . Use them with the Hardware blocks. In the browser, the keys in the grey boxes press the buttons.

New variable

Use a letter

Letters and symbols don't use any of the 8 sprite spaces.

Upload to your Arduino

Your board

Your screen

I2C address
Screen colour

Wiring

Buttons and LEDs

Steps

  1. In the Arduino IDE, open the Library Manager and install LiquidCrystal I2C by Frank de Brabander.
  2. Copy your game's code and paste it into a new sketch.
  3. Pick your board and port in the Tools menu, then press Upload.
  4. Screen lit but empty? Turn the little screw on the back of the LCD, then try the other I2C address.
Show the code

Help

The Arduino Game Bench works like Scratch, but your game runs on a real screen: a 16 × 2 or 20 × 4 character LCD, or a 1.8″ colour TFT. Pick the screen above the stage.

Credits. The Arduino Game Bench is a free tool from TheSteamPod, made by Kasuadana Sulemana Adams (@opencpv on GitHub).

Games save by themselves in this browser. The Arduino Game Bench, version . The block editor is Blockly by Google (Apache License 2.0). TFT icons are pixelarticons by Gerrit Halfmann (MIT License).