Her er spillet ferdig!
seen from Canada
seen from United States

seen from Canada

seen from Malaysia
seen from Türkiye

seen from Malaysia
seen from United States
seen from China
seen from Malaysia
seen from United States
seen from Australia
seen from China

seen from Australia
seen from United States
seen from United States
seen from United States

seen from United States
seen from Canada
seen from Romania
seen from United States
Her er spillet ferdig!
Designing app!
Folkore Quest!
Eventyr_4_1646318642.jpg
Adam, Mia, Sindre, og jeg fikk temaet magi. Vi kom ganske raskt fram til at vi ønsket å jobbe med et «open world» spill, der spilleren kan bevege seg fritt. Under prosessen vår har vi vært en del ute i området for å få ideer og for å teste ideene ved hjelp av papirskisser og marvel-appen.
Ideen vår er at man skal kunne lete rundt i sitt område etter digitale kister der en kan få gjenstander du trenger for å bekjempe mostre som gjemmer seg i området. For å åpne en kiste må du gå til den og løse en gåte. Vi valgte å ha et tema med norske eventyr for å skape en gjenkjennelig verden man kan leve seg inn i.
Sketsjer og prototyper av brettspill. I dette spillet som kan minne om en blanding av monopol og stigespill, er det om å gjøre å komme seg fortest til Tryvann. Med hinder som EU-kontroll, fester og fyllearrest konkurrerer man med de andre bussene (spillerene) om å komme til russearrangementet man har ventet på!
The code:
#include <Servo.h>
Servo servoPin; //declares which pin the servo is connected to
float photocell; //the photocell is a floating variable
int pos = 0; //start-position set to 0 degrees
int mini = 90; //minimum rotation set to 90 degrees
int maxi = 179; //maximum rotation set to 179 degrees as we have a 180 servo
void setup()
{
Serial.begin(9600);
servoPin.attach(5); //pinnumber the servo is attched to
servoPin.write(180);
delay(1000); //1 second delay
}
void loop()
{
Serial.print( "input: " );
Serial.println(photocell);
photocell = analogRead(0); //photocell attached to A0
if(photocell>280){ //if the photocell registers the value above 280
for (pos = maxi;pos>=mini;pos-=1){ //servo goes to max position
servoPin.write(pos);
delay(10); //wait 10 milliseconds
}
for (pos = mini;pos<=maxi;pos+=1){ //rest of loop (when values are under 280), go to minimum position
servoPin.write(pos);
delay(10); //wait 10 milliseconds
}
}
}
Aaaand (re)action! Here is our (Kristoffer and I) machine reacting to the light from the other group on the right side, through a lightsensor facing the light. The servo sweeps forward to give momentum to the disk, which rolls down the rail and triggers the next groups laser on the left side, and succsesfully passes on the chain reaction!
The machine seen from the other side. We painted the disk with swirls to make it more visually interesting and anticipate what was going to happen. (And we secretly tried to hypnotize our teacher into giving us a good grade).
The servo is mounted sideways a few centimeters under the rail. We attached wire to the servo-arm to make it push the disk down along the rail. The servo is connected to the circuit on the breadboard and arduino further under the rail. The light sensor is also connected to the breadboard, bent to face the previous group's light.
To give the wire a better grip to spin the disk, a tiiiny but snug indent was carved into the edge of the disk.
At the end of our secquence, our disk overlaps the next group's machine, and triggers their optical interruptor. To ensure the disk always goes into the opening, we descretely put some clear tape from the rails to the edge of the opening.
I think this was a fun project to explore how electronics, interaction and physical objects act together. I also rediscovered how effective hot glue and near-deadline-adrenaline is!
Action-Reaction
Collaboration with my deskmate Kristoffer! Our input is a light sensor/LDR &our output is a 180 servo. The output before us relay and the input after us is an optical interrupter. With that in concideration, we landed on a more abstract approach with the classic “wheel on a rail” (activated by light and with a mission to interrupt the next input).
Our setup for connecting the light sensor and the servo. This was farily easy! The endless attempts of us trying to get the servo under somewhat desired control is poorly documented, as the frustration blocked the thought of tumblring... But we did it after two days and help from Nick!
We quickly went dumpster diving after materials to use, and found these awesome copper wires! And then we tried to make those into an epic rail for the wheel with a loop and humps and everything!
.....and after a whole day of trying to straighten those wires, we realized we needed to use something else than copper wires and cords to make a the rail (we couldn’t even make a straight rail for the poor wheel).
10 minutes later after a quick stop at the workshop to buy wooden rods, our problem was solved! The easiest solution turned out to be the best... or, we will see how it goes at the test