WP Bingo

View Project Online
Role: Developer
WP Bingo Presentation

This project began with my team’s Associative Creative Director idea to add to our team culture and have some fun during the Apple Keynotes.

I started with a simple Bingo card generated for each visitor with buzzwords/phrases for the event and a background relating to the keynote event.
The words/phrases were generated based on metadata fields defined in the WP admin area.

I’ve expanded the plugin to have several other features as well to keep things interesting.

  • Shortcode to place in any post
  • Page templates for pages to display the Bingo card below it’s page content (in basic format or theme format)
  • Use JavaScript LocalStorage to save the Bingo card in case the visitor refreshes the page accidentally (or is trying to cheat)
  • LocalStorage feature also saves the already clicked on words/phrases
  • Quick CSS grid for styling
  • Confetti celebration when BINGO is reached taken from here
  • Custom REPEATABLE metadata fields with limit number (24)
  • WordPress filter to change the word in the Bingo card (from BINGO to APPLE in sample) wp-bingo-header-word

Simple example of what it would look like using the shortcode in a post. Try on different browsers to get a different card or clear your local storage.

B
I
N
G
O
24
15
19
8
9
21
11
5
1
16
4
12
FREE
23
22
17
6
20
13
10
3
14
2
18
7