User:ABL1993/ENES-100/Project 1

Week0 Preferences
'We are working on figuring out how create an arduino tic tac toe.''

Week1 Narrative
Going to Do: We plan to create Arduino Tic Tac Toe Doing: We begin to brainstorm what we would want circuit board to look like and decided to use a cardboard base Then we start to research different ways we can design the Tic Tac Toe we discovered that most projects people have made that were similar to our and it required a lot of wiring due our limited knowledge of wiring we decided research more ways that would allow us to wiring the breadboard

Led was required for our project so we also decided to research the prices for bi-color LEDs

RANT

Sign Out 9/16/14
 * We researched online examples and videos of similar project
 * We look online for LEDs pricing
 * We went to the ENES lab on look for mostly bi-color LEDS

Sign In 9/17/14 Going To Do: We are going look for more materials that we need to start the project we have decided that instead of using bi-color LED use tri-color LED Materials Needed
 * 18 LEDs(9 red,9 green)
 * Possibly Button or touch screen
 * Breadboard
 * Resisters

Doing: We are trying to figure out how to light the led by using different wiring to plug into the breadboard unfortunately the wires were not sparking enough electricity to light the LED One of the other power sources we used to light the LED was a alkaline battery

Week2 Narrative
Monday Wednesday
 * We have figured out what are starting point and are now gathering materials we will need for the project.
 * One of our group members figured out a way to to light up 6 LED
 * Our group has been chosen to give a presentation at the weekly seminar so brainstorm some we can explain the project in depth and discuss our future plan
 * After the presentation we realized there is a lot that needs to be done. We are thinking about trying new ideas such as coverage for the wires rather than a shoe box
 * Although we think it would be best to stick Human vs. Human Tic Tac Toe due to the amount of time we still our minds on game that allows us to play against the computer
 * But one of our big problems was coding the Arduino to give command to the computer. So we have invited one of our friend who has some computer program experience and will assist us with the Arduino
 * The other down fall to this was that he was unfamiliar to the language that is used in Arduino
 * But he still managed to research and learn some Arduino codes and said he would get back to us when he could figure it all out
 * In the mean time we are still trying to research codes on our own

Week3 Narrative
Our plan this week was to figure out how to create a automatic tic tac toe that will allow to play against the computer 



Week4 Narrative
 Initially I was thinking about using a TIC TAC Toe java code to play the game with computer rather than with just another person but it turn out that Ardunio is unfamiliar of some of the language that Java uses so we decide to stick with Adrunio coding for now. So potential goal is to get our Adrunio we created to run random number that will send out to LED and loop which will allow us to play a game link below show how the random function works  In order to get this started I would need to the take wire that are adjacent to lead and connect it to each portal from the Adruino 1-13 and ground with a resistor for each color.This required to Ardunio or Mega because all 27 wires will not fit on one Adruino When I ran the program I notice one of the LED wasn't coming By creating this the arduino will then know what output to send to the LED which then give

How the game will work

-The player will go first,He chooses blue(x)

-The arduino will then detect that that you chose blue and choose a random number which will send output to a random LED

-And cycle will continue until there is a winner

One of my Issues

It has come to my realization that when we run this program the adruino will pick any random number which means that it could possble pick the same LED twice In order to prevent that I would have to do more research on different way to use adrunio random and continue to play with the breadboard on 123d