22 October 2023

Scaffolding: Progress Review

Unique Game Controller - Beer Keg

I chose to make a beer keg controller for the classic game called Tapper. Tapper is a classic game that allows you to take control of a bartender and start serving and collecting beer and tips for and from your customers. My intent is to make you really feel like you are a bartender during rush hour. The keg is designed to mimic an actual beer key, I want it to be a scale model of it. The design of the keg allows you to pull the lever to pour the drinks along with a motion sensor to tell if you are facing either the left or right. Then the potentiometer is used as a way to move up and down. 

                                                                            Design


Circuits
Pseudo Code

/*
Install Adafruit playgrounnd to Arudino
Add Circuit Playground Library

Add Potientometer Library and define it
Add PIR Motion Sensor Library and define it
Add
*/


void setup() {
  //Add CircuitPlayground.begin();
  //Add Keyboard.begin();
  //Initialize the Motion Sensor and the Potientometer giving base values for it
}

void loop() {
  //Add loop to control Accelometer when only going Up or Down
  //When up press Keyboard.Spacebar and when down no click

  //Add loop to control PIR motion Sensor
  //When light sensor is below a certain value, keyboard press left arrow
  //When light sensor is above a certain value, keyboard press right arrow

  //Add loop for Potientometer
  //When Potientometer is turned move player up or down depending on direction

}

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.