<?php
namespace entities\evr\security;

class Addresses
{
   public function __construct($user)
   {
      $this->user = $user;
      $this->set_path();
   }
   private function set_path()
   {
      $user = $this->user;
      $root = $GLOBALS["USERS_PATH"];
      $this->path = "$root/$user/" . $GLOBALS["USER_ADDRESSES_PATH"];
   }
   public function add_current()
   {
      if (!$this->find_current_address())
      {
         $entry = $_SERVER["REMOTE_ADDR"] . " " . time() . "\n";
         file_put_contents($this->path, $entry, FILE_APPEND);
      }
   }
   public function find_current_address()
   {
      foreach ($this->get() as $entry)
      {
         if ($_SERVER["REMOTE_ADDR"] == $this->extract($entry))
         {
            return true;
         }
      }
      return false;
   }
   private function get()
   {
      return file($this->path);
   }
   private function extract($entry)
   {
      $fields = explode(" ", $entry);
      return $fields[0];
   }
}
<?php
namespace entities\evr\security;

class Join_Beta_Mail extends Mail
{
   public function __construct($sender)
   {
      parent::__construct(
         $GLOBALS["BETA_RECIPIENT"], $sender, $GLOBALS["BETA_SUBJECT"]);
   }
   protected function build_message()
   {
      return $this->sender;
   }
}
<?php
namespace entities\evr\security\display;
use \entities\html as html;

class Alerts extends html\Div
{
   public function __construct()
   {
      parent::__construct("alerts");
   }
   protected function build_content()
   {
      $markup = $this->build_alert("boost", $GLOBALS["BOOST_ALERT"]);
      $markup .= $this->build_alert("sound", $GLOBALS["SOUND_ALERT"]);
      $markup .= $this->build_alert("fullscreen", $GLOBALS["FULLSCREEN_ALERT"]);
      return $markup;
   }
   private function build_alert($id, $text)
   {
      return new html\Div($id, null, $text);
   }
}
<?php
namespace entities\evr\security\display;
use \entities\html as html;

class Home extends html\Div
{
   protected function build_content()
   {
      $markup = new Header();
      $markup .= new forms\Login();
      $markup .= new Links();
      $markup .= new forms\Activate();
      $markup .= new Alerts();
      $markup .= new Beta_Invitation();
      $markup .= new \entities\evr\Trailer();
      $markup .= new Thumbs();
      return $markup;
   }
}
<?php
namespace entities\evr\security\display;
use \entities\html as html;

class Header extends html\Div
{
   public function __construct()
   {
      parent::__construct("header", null, $GLOBALS["HEADER"]);
   }
}
<?php
namespace entities\evr\security\display;
use \entities\html as html;

class Beta_Invitation extends html\Div
{
   public function __construct()
   {
      parent::__construct("invitation");
   }
   protected function build_content()
   {
      $markup = $this->build_heading();
      $markup .= file_get_contents(dirname(__FILE__) . "/invitation");
      $markup .= new forms\Join_Beta();
      return $markup;
   }
   private function build_heading()
   {
      $text = $GLOBALS["BETA_INVITATION_HEADING"];
      return new html\Div("heading", null, $text);
   }
}
<?php
namespace entities\evr\security\display;
use entities\html as html;

class Links extends html\Div
{
   public function __construct()
   {
      parent::__construct("links");
   }
   protected function build_content()
   {
      $markup = new html\A("?change", "change password", null, "password");
      $markup .= new html\A("?reset", "reset password", null, "password");
      return $markup;
   }
}
<?php
namespace entities\evr\security\display;
use \entities\html as html;

class Thumbs extends html\Div
{
   protected function build_content()
   {
      $markup = "";
      $directory = $GLOBALS["THUMBNAILS_PATH"];
      foreach (scandir($directory) as $file)
      {
         if ($file[0] != ".")
         {
            $path = $directory . $file;
            $markup .= new html\Image($path, null, "thumb");
         }
      }
      return $markup;
   }
}
<?php
namespace entities\evr\security\display\forms;
use \entities\html as html;

class Join_Beta extends html\Form
{
   protected function build_content()
   {
      $markup = new html\Input("email", "text", "email address", null, true);
      $markup .= $this->build_button();
      return $markup;
   }
   private function build_button()
   {
      $text = $GLOBALS["JOIN_BETA_BUTTON_TEXT"];
      return new html\Input("action", "submit", $text);
   }
}
216.73.216.129
216.73.216.129
216.73.216.129
 
May 17, 2018

Line Wobbler Advance is a demake of Line Wobbler for Game Boy Advance that started as a demo for Synchrony. It contains remakes of the original Line Wobbler levels and adds a challenging advance mode with levels made by various designers.


f1. Wobble at home or on-the-go with Line Wobbler Advance

This project was originally meant to be a port of Line Wobbler and kind of a joke (demaking a game made for even lower level hardware), but once the original levels were complete, a few elements were added, including a timer, different line styles and new core mechanics, such as reactive A.I.


f2. Notes on Line Wobbler

I reverse engineered the game by mapping the LED strip on paper and taking notes on each level. Many elements of the game are perfectly translated, such as enemy and lava positions and speeds and the sizes of the streams. The boss spawns enemies at precisely the same rate in both versions. Thanks in part to this effort, Line Wobbler Advance was awarded first prize in the Wild category at Synchrony.


f3. First prize at Synchrony

Advance mode is a series of levels by different designers implementing their visions of the Line Wobbler universe. This is the part of the game that got the most attention. It turned into a twitchy gauntlet filled with variations on the core mechanics, cinematic interludes and new elements, such as enemies that react to the character's movements. Most of the levels are much harder than the originals and require a lot of retries.

Thanks Robin Baumgarten for giving permission to make custom levels and share this project, and thanks to the advance mode designers Prashast Thapan, Charles Huang, John Rhee, Lillyan Ling, GJ Lee, Emily Koonce, Yuxin Gao, Brian Chung, Paloma Dawkins, Gus Boehling, Dennis Carr, Shuichi Aizawa, Blake Andrews and mushbuh!

DOWNLOAD ROM
You will need an emulator to play. Try Mednafen (Windows/Linux) or Boycott Advance (OS X)