---
logosub: "Avans TI student, year 1"
language: "nl"
title: "TeslaMaze"
year: "2012"
date: "2012-01-01"
---

## Gaming, Woodcraft and Teamwork!

<figure class="text-center">
  <picture class="d-flex justify-content-center">
    <source
      media="(max-width: 510px)"
      srcset="/images/software/projects/teslamaze/teslamaze-logo-w240.webp"
    />
    <source
      media="(max-width: 850px)"
      srcset="/images/software/projects/teslamaze/teslamaze-logo-w480.webp"
    />
    <img
      src="/images/software/projects/teslamaze/teslamaze-logo.webp"
      alt="TeslaMaze logo"
      class="img-fluid"
    />
  </picture>
    <figcaption class="figure-caption mt-2">
    <a href="/images/software/projects/teslamaze/teslamaze-logo.webp">
      TeslaMaze logo
    </a>
  </figcaption>
</figure>

---

A team project where the player must align pipes correctly using a Wii remote. The ingame goals would then have effect on a custom built wooden tower. The game was programmed in <a href="https://www.java.com" target="_blank" rel="noopener noreferrer">Java</a>.

This project was made by four people working on both software and hardware. The game uses the <a href="https://en.wikipedia.org/wiki/Wii" target="_blank" rel="noopener noreferrer">Nintendo Wii remote</a> to get input from the player.

## Gameplay

The player must align pipes from the fictional tesla coil to "relay electricity" to a specific point in the game. The game communicates to the <a href="https://www.arduino.cc/" target="_blank" rel="noopener noreferrer">Arduino</a> to power <a href="https://en.wikipedia.org/wiki/Servomotor" target="_blank" rel="noopener noreferrer">servomotors</a> that operate three doors and an elevator. These doors were gates on the rails and the elevator was a metal spiral elevator that would move the ball to the top of the tower.

The game was complete if the player manager to bring the ball to the top of the tower, this would then turn on the plasma globe and register the time it took.

<figure class="text-center">
  <picture class="d-flex justify-content-center">
    <source
      media="(max-width: 510px)"
      srcset="/images/software/projects/teslamaze/gameplay-w240.webp"
    />
    <source
      media="(max-width: 850px)"
      srcset="/images/software/projects/teslamaze/logo-w480.webp"
    />
    <img
      src="/images/software/projects/teslamaze/gameplay-w800.webp"
      alt="TeslaMaze gameplay"
      class="img-fluid"
    />
  </picture>
    <figcaption class="figure-caption mt-2">
    <a href="/images/software/projects/teslamaze/gameplay.webp">
      TeslaMaze gameplay
    </a>
  </figcaption>
</figure>

---

<figure class="text-center">
  <picture class="d-flex justify-content-center">
    <source
      media="(max-width: 510px)"
      srcset="/images/software/projects/teslamaze/screenshot-game-w240.webp"
    />
    <source
      media="(max-width: 850px)"
      srcset="/images/software/projects/teslamaze/screenshot-game-w480.webp"
    />
    <img
      src="/images/software/projects/teslamaze/screenshot-game.webp"
      alt="TeslaMaze screenshot game"
      class="img-fluid"
    />
  </picture>
    <figcaption class="figure-caption mt-2">
    <a href="/images/software/projects/teslamaze/screenshot-game.webp">
      TeslaMaze screenshot game
    </a>
  </figcaption>
</figure>

---

## Woodwork

The tower base is made of wood and has a metal screw elevator. A conductive metal ball has to be elevated up and then roll down three rails. One side of a rail is powered and the other is grounded. The metal ball conducts electricity to blue LED's on the rails when it passes by. Once the ball has reached the bottom of the tower within the time limit, a switch turns on the <a href="https://en.wikipedia.org/wiki/Plasma_globe" target="_blank" rel="noopener noreferrer">plasma globe</a> on the top of the tower and the game is won.

<figure class="text-center">
  <picture class="d-flex justify-content-center">
    <source
      media="(max-width: 510px)"
      srcset="/images/software/projects/teslamaze/elevator-w240.webp"
    />
    <source
      media="(max-width: 850px)"
      srcset="/images/software/projects/teslamaze/elevator-w480.webp"
    />
    <img
      src="/images/software/projects/teslamaze/elevator.webp"
      alt="TeslaMaze spiral elevator"
      class="img-fluid"
    />
  </picture>
    <figcaption class="figure-caption mt-2">
    <a href="/images/software/projects/teslamaze/elevator.webp">
      TeslaMaze spiral elevator
    </a>
  </figcaption>
</figure>

---

<figure class="text-center">
  <picture class="d-flex justify-content-center">
    <source
      media="(max-width: 510px)"
      srcset="/images/software/projects/teslamaze/rails-w240.webp"
    />
    <source
      media="(max-width: 850px)"
      srcset="/images/software/projects/teslamaze/rails-w480.webp"
    />
    <img
      src="/images/software/projects/teslamaze/rails.webp"
      alt="TeslaMaze rails"
      class="img-fluid"
    />
  </picture>
    <figcaption class="figure-caption mt-2">
    <a href="/images/software/projects/teslamaze/rails.webp">
      TeslaMaze rails
    </a>
  </figcaption>
</figure>

---

<figure class="text-center">
  <picture class="d-flex justify-content-center">
    <source
      media="(max-width: 510px)"
      srcset="/images/software/projects/teslamaze/tower-base-w240.webp"
    />
    <source
      media="(max-width: 850px)"
      srcset="/images/software/projects/teslamaze/tower-base-w480.webp"
    />
    <img
      src="/images/software/projects/teslamaze/tower-base.webp"
      alt="TeslaMaze tower base"
      class="img-fluid"
    />
  </picture>
    <figcaption class="figure-caption mt-2">
    <a href="/images/software/projects/teslamaze/tower-base.webp">
      TeslaMaze tower base
    </a>
  </figcaption>
</figure>

---

<figure class="text-center">
  <picture class="d-flex justify-content-center">
    <source
      media="(max-width: 510px)"
      srcset="/images/software/projects/teslamaze/in-progress-w240.webp"
    />
    <source
      media="(max-width: 850px)"
      srcset="/images/software/projects/teslamaze/in-progress-w480.webp"
    />
    <img
      src="/images/software/projects/teslamaze/in-progress.webp"
      alt="TeslaMaze within progress"
      class="img-fluid"
    />
  </picture>
    <figcaption class="figure-caption mt-2">
    <a href="/images/software/projects/teslamaze/in-progress.webp">
      TeslaMaze within progress
    </a>
  </figcaption>
</figure>

---

<figure class="text-center">
  <picture class="d-flex justify-content-center">
    <source
      media="(max-width: 510px)"
      srcset="/images/software/projects/teslamaze/render-w240.webp"
    />
    <source
      media="(max-width: 850px)"
      srcset="/images/software/projects/teslamaze/render-w480.webp"
    />
    <img
      src="/images/software/projects/teslamaze/render.webp"
      alt="TeslaMaze 3D render"
      class="img-fluid"
    />
  </picture>
    <figcaption class="figure-caption mt-2">
    <a href="/images/software/projects/teslamaze/render.webp">
      TeslaMaze 3D render
    </a>
  </figcaption>
</figure>

---

## Lessons learnt

This was actually my favourite project to work on. It combined the talent of everyone in our team. We had a very skilled woodworker <i>(who doubled as a good project leader as well)</i> and we all were coding. This project taught me that effective team work with good group synergy, produces great results.

<figure class="text-center">
  <picture class="d-flex justify-content-center">
    <source
      media="(max-width: 510px)"
      srcset="/images/software/projects/teslamaze/teslamaze-final-w240.webp"
    />
    <source
      media="(max-width: 850px)"
      srcset="/images/software/projects/teslamaze/teslamaze-final-w480.webp"
    />
    <img
      src="/images/software/projects/teslamaze/teslamaze-final.webp"
      alt="TeslaMaze complete"
      class="img-fluid"
    />
  </picture>
    <figcaption class="figure-caption mt-2">
    <a href="/images/software/projects/teslamaze/teslamaze-final.webp">
      TeslaMaze complete
    </a>
  </figcaption>
</figure>
