Programmable Logic

Enter Your Electronics & Design Project for a chance to win up to a $200 Shopping Cart of Product!

Back to The Project14 homepage

Project14 Home
Monthly Themes
Monthly Theme Poll

 

WOPR STORY

 

Hello There,

WOPR is in the movie WARGAMES from Disney, a phantomatic Defence system of Armed Forces that has some lights blinking and sounds around it, it plays a role as supercomputer that playes a tris game with a young hacker to win the thermonuclear war.

A part of this theme,

 

WOPR SHORT MOVIE MADE BY ME WITH SOME BASIC PROGRAMMING AND THE MINI WOPR

 

This is a short movie i have built by myself with my BASIC programs and the mini WOPR, in an Apocalipctical image,have a look at this Youtube Video: https://www.youtube.com/watch?v=wtATByUVQ4o

I have programmed the Apple II game and the Spectrum ZX game by myself, with the help in the Spectrum ZX by the book of Gary Plowman, the last piece of film come from Missile Command Game from Atari.

 

WOPR KIT ASSEMBLY

 

i have used an arduino uno and programmed it with a costum paper reinforced case similar to wopr with the images found on the web and printed and glued it. A little breadboard to connect a buzzer connected to A0 and GND and 2 red lights.connected respectivly to GND and pin 12 and 13.

 

WOPR CODE

 

The program itself is very easy and is this one:

 

int buzzer =A0;

void setup()

{

  // put your setup code here, to run once:

pinMode(13,OUTPUT);

pinMode(12,OUTPUT);

pinMode(buzzer, OUTPUT);

}

 

 

void loop() {

  // put your main code here, to run repeatedly:

digitalWrite(13, HIGH);

delay(1000);

digitalWrite(13, LOW);

delay(1000);

digitalWrite(12, HIGH);

delay(1500);

digitalWrite(12, LOW);

delay(1500);

tone(buzzer,1000,200);

delay(200);

tone(buzzer,1000,200);

delay(200);

tone(buzzer,1000,200);//play buzzer note on pin 12 at frequency of 1000Hz

delay(2000);                        //wait 2 seconds

noTone(buzzer);                //no buzzer beep

delay(1000);

 

 

}

 

 

ATTACHED A SMALL VIDEO TO DOWNLOAD OF THE MINI WOPR