Search

Monday, March 11, 2013

TOTAL Refactor

Well, I was making lots of new things to my program and it started failing everywhere, so I decided to document all while recheck my code and change lots of things.

This will be hard, but I want my program working good again in some days.

Monday, February 18, 2013

Day 1: Nova era.

Well, I am back. You may think "What happened to the project?", here is my answer:


  • Some long conjunctivictis and queractitis took me of the computer for some time
  • Lack of time. I had LOTS of things to do lately. 
  • Frustration. I was frustrated for all the problems with this. I really needed to stay away from this to get back with new energy and ideas.
Right now I want to get back to the project and this time I will make it work. First I am looking at the code, using Visio to see how it works (is my code and somehow it went out of my hands). At first look I see some things to change, this is the good part of getting out of the project for some time.


So, this is the "Nova Era"

 

Tuesday, January 15, 2013

Day 158: Back!

Once again, I am back to coding. My eyes are a lot better. Like a month with conjunctivictis, keractitis and all the problems that it gave me... (double vision, couldn't touch my daughter, photofobia, pain) was not something good, now I have to re read some of my code and get back to work.

Thursday, January 3, 2013

Day 146: Keratitis -My eyes against me-

The "fun" with my eyes never ends, now that Mr. Conjunctivitis is gone, is time to receive mr. Keractitis and his double vision.

DAMN!

Friday, December 28, 2012

Day 140: Back!

Well, I am back after some days with conjunctivictis (both vacterial and viral) :( I am not 100% fine, but will try to continue with all the refactoring.

Thursday, December 20, 2012

Day 132: More refactoring


One more thing that I won't need anymore: The tryToKill method called in the main loop. It will be easier for me if in the setMove method I kill the stones.

This will make me do more refactoring: Suicidal rule will change to.

Wednesday, December 19, 2012

Day 131: 0.01G

Ok, this is changing fast. I am refactoring a lot. So, this is what I think now:


  • The array with the game moves should be in a new class Game. It will be easier to make reference to the game moves if all the methods that manipulate the game array are there.
  • I Created a new package for rules. Every rule will have a class, it is for the future. Some things should change when the engine finds a ko or a suicide.
  • Some old code that I commented is now deleted.
I found console class (Good bye console!!!!!)