PacGo

 

PacGoLogo 

SHERLEY VALEUS | MEHDI ESSAKALI | SATTA JOSIAH | JAMIE NGUYEN

 

 

                                                          PROBLEM 

                                             Have  you  ever  been  on  the  train  bored?

 

                                                                        

                                                                         can-stock-photo_csp13002800  

 

                                                                      Phone  dead?

 

                                                                      ios-7-battery-charging-screenshot-413x275

                                                                                                                              

                                                      Solutions 

We are going to build a multilayer scratch game to socialize in the commuter rail. The commuter rail being the longest ride, it is a better location for the game to be at. This console will have pac-man made by us on the scratch. One player will be a yellow thing who eats some dots followed by a blue monster who wants to catch him before pac-man wins the game by eating all the dots.

 

                         Interior of MBTA Commuter Rail Train

 

 

July 24

 

IMG_4181

We’ve created Trivia Questions

IMG_4184

Prototype controller works! Yay! 

 

IMG_4194

We’ve found a game quite similar to the game play we want, so we’ve remixed it and taken out somethings and reedited the theme.

July 26

List of things that we need to get don

Controller  

 Designing the buttons

The actual controller itself (laser cutting and 3D printing)

Scratch

Adding move levels to the game

Add MBTA trivia questions

Connections

Loading the scratch on the Raspberry pie

August 7

Continuation of designing the controller in TinkerCad 

Main goal today is to have all the measurements solidify  and have the top part design.

IMG_3821IMG_3841

 

 

 IMG_3853

August 8

 

We are working on the scratch PacGo

IMG_3854

 

 

 

 

 

 

 

          AUGUST 17

 

IMG_3952IMG_3953IMG_3954IMG_3955IMG_3956IMG_3957IMG_3958IMG_3959

       IMG_3951  IMG_3947

                                 Technologies

                        Electronics- The insides of the controller

                 Physical Programming – Coding an Arduino (Nano) for the controller

                                       IMG_4184

          Computer programming – Using Scratch to code for the PacMan inspired game

SCRATCH 

                        IMG_3956              

           ARDUINO             

#include <Keyboard.h>
 
#define UpPin  10 
#define DwnPin 16
#define LPin   14
#define RPin   15 
 
int UpState = 0; 
int DwnState = 0; 
int RState = 0; 
int LState = 0; 
 
void setup() {
  pinMode(UpPin, INPUT);
  pinMode(DwnPin, INPUT);
  pinMode(LPin, INPUT);
  pinMode(RPin, INPUT);
}
 
void loop() {
  UpState = digitalRead(UpPin);
  DwnState = digitalRead(DwnPin);
  LState = digitalRead(LPin);
  RState = digitalRead(RPin);
  
  if (UpState == HIGH) {
    Keyboard.write(KEY_UP_ARROW);
    //delay(.1);
    }
  if (DwnState == HIGH) {
    Keyboard.write(KEY_DOWN_ARROW);
    //delay(.1);
   }
  if (LState == HIGH) {
    Keyboard.write(KEY_LEFT_ARROW);
    //delay(.1);
    }
  if (RState == HIGH) {
    Keyboard.write(KEY_RIGHT_ARROW);
    //delay(.1);
    }
  else {
      Serial.println(“Waiting For Command”);
      delay(1000);
  }
}

            

 

                                       3D Printing/FabLab- design the buttons

                                              IMG_4193

Audience

People taking the commuter rail who have free time

Family and friends who want to have fun while riding the train 

 

Materials

Computer Screen

3D Printed Custom Controller

Raspberry Pi 3