Friday, September 5, 2014

Java Set Up 2

Not much to report really, Finn set up some plug ins and the last thing we have to do is set up Git hub. I'll start learning Java by next week though when I get access to my Nova account.

Java Set up

Finn set up Java JDK (Java Development Kit) and IntelliJ on my laptop and hopefully I can start observing Finn work tomorrow.

Friday, May 30, 2014

Tic Tac Toe

I realized my tic tac toe game doesn't actually work as well as I thought and right now there are a few problems.
  • I'm having trouble making a reset button
  • The score board does not work
I have ideas on how to fix all of them but I can't get them working although I did manage to fix another problem I was having right before class ended. Now players can't continue playing to prevent the outcome from changing.

Wednesday, May 28, 2014

Tic Tac Toe

I started working on adding a score to the game to keep track of how many times x or o has one and I feel like it would work for the most part if I could get select html elements more easily. I had given them id's but apparently you can only call an html element through its id with "document.getElementById" so I'll just try some other selectors next time.

Friday, May 23, 2014

Word Counter

I thought it would be neat to make some sort of small app such as a timer or word counter and I still don't quite understand how to manipulate the DOM. Currently, I have a form with a textarea input and a button that is simply linked to a function that returns the length of the textarea but I'm having trouble getting the function and the input to work together.

http://students.gctaa.net/~snicholakos/javascript/wordcounter.html

Tuesday, May 20, 2014

Processing.js and Tic Tac Toe

I looked at processing.js and they have a lot of really cool examples but their download link is currently broken. Also, Tic-Tac-Toe now works properly (as far as I know) after I changed the check for winner function to include a second for loop to fix the problem I was having. I could now start making the game look more interesting, for instance, it would be nice if I could display the winning combination like with a line crossing through the shapes.

Friday, May 16, 2014

Tic Tac Toe

I finally managed to get the tie working and the problem was that the tie would be determined too early so I added a counter. Essentially it just counts the turns now but it finally works! The only problem remaining is that when there are 3 x's or o's in a row anywhere in the array it will say there is a winner but I think I can fix it if I rewrite checkForWinner function a bit.

Tic Tac Toe Functions