Search

Friday, April 12, 2013

Code Jam

Well, in less than 7 hours will start Google Code Jam. It is my first time in this, I wish I can pass the first round. I wish I have the time for it. I KNOW I will use Python.


So, I wish I can continue with Evil Tesuji next week.


Monday, April 8, 2013

New Commit



Well, this time I added the basic and mandatory GTP commands, so I can test te application using GoGui.

They are:


  1. Name
  2. Komi
  3. Protocol_version
  4. Version
  5. List_commands
  6. Boardsize
  7. Clear_board
Thanks to the Computer Go mailing list, I saw a BIG difference between Java and Python. In Java I could use for standard output system.out.println, but I had some problems with sys.stdout.write. The thing is that the method println calls his own flush and in Python I have to put that line in my code. So, now it is working.

I really have to thank to the members of the list, without them I couldn't progress a lot with this.

Saturday, April 6, 2013

Configuring new enviroment at home



Well, here I am, with all this new problems in my project, so new poblems needs new enviroments.

I will work now with Eclipse (Juno) adapted for Python, and adding SVN support to commit it to google code (If I need something else about SVN I will keep Tortoise installed)

Google Code



Well, as I promised I created an SVN repository in Google Code with the program. I am commiting there the new program in Python.

The repo is here and every time I commit I will tell you here, with all the changes.

For now in rev2:

  • There is a main that calls the mainLoop.
  • The main loop ceates a board (as described in old posts) and initializes it.
  • A logger class is created and it writes in a file (ETlog.txt) the empty board. 
  • IT enters in a loop and exits.

Yes, that's it, but is good for a start. I am "translating" my old code from Python to Java (explained why in previous posts).

So, that's how it is, had for me but... I think I am more confortable writing in Python than in Java.


Thursday, April 4, 2013

Total Refactor update

Well, lately I had the project with poor updates, but I see that some people is looking at this so I decided to come back and with some new ideas:


  1. I will be uploading the code to Google Code (I know, github is maybe better, you tell me if you want it on gitHub) from scratch. I created a new project and copying the code I know is good and looking for refactors that I can make and will start writing a lot on paper to know in advance what I want in every step.
  2. I will be doing a lot of recordings and documentations and putting it there.
  3. I have a problem, I had to uninstall jdk here so in paralel I will mantain a version in Python. Yes, maybe it will be the main version in the future. 

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"