I had considered doing all of that, but as the code freeze is on Friday the only thing not thrown out yet is the indicator. I have found that it would be nice at times in my testing. Plus it is a quick add considering the control panel still has an empty space on it.BRWombat wrote:Well done, Lasolimu. I've played Go before -- though not with the level of fanaticism it takes to get really good at the strategy, so anyone can beat me easily -- and the interface seems to handle the gameplay perfectly. If you have a little more effort left in you, you might consider adding an indicator to show whether it is Black or White's turn.
And if you have a LOT of energy left, just program gameplay strategy into it and create a Master-level computer opponent!! (Okay, ignore this -- it's just the computer-science-major side of me coming out.)
Official SGT ADD thread
Forum rules
At the old Disney Hyperion Studio, the screening room where animators would show animated scenes to Walt for his approval was small, with no ventilation or AC. Not only was it hot, but the animators were nervously awaiting Walt's reaction to their work. Thus, the room became known as the Sweatbox. Even after the Studio moved to Burbank and elegant screening rooms were offered to the staff, the moniker remained.
Now SGT has a sweatbox of our own. This is the place to find and post all entertaining topics such as video links, jokes, games, and the like. A general rule of thumb is that if the thread is meant to be informative (interesting news stories for example), or a topic for discussion (like setting up a park meet) then it should go in the Break Room, but if the intent is to entertain the masses then it's home is The Sweatbox. I'm sure there will be grey areas at times, so if you have doubt as to where a new thread should go, just use your best judgement and the SGT Staff will be glad to move it later if you guessed wrong.
At the old Disney Hyperion Studio, the screening room where animators would show animated scenes to Walt for his approval was small, with no ventilation or AC. Not only was it hot, but the animators were nervously awaiting Walt's reaction to their work. Thus, the room became known as the Sweatbox. Even after the Studio moved to Burbank and elegant screening rooms were offered to the staff, the moniker remained.
Now SGT has a sweatbox of our own. This is the place to find and post all entertaining topics such as video links, jokes, games, and the like. A general rule of thumb is that if the thread is meant to be informative (interesting news stories for example), or a topic for discussion (like setting up a park meet) then it should go in the Break Room, but if the intent is to entertain the masses then it's home is The Sweatbox. I'm sure there will be grey areas at times, so if you have doubt as to where a new thread should go, just use your best judgement and the SGT Staff will be glad to move it later if you guessed wrong.
- Lasolimu
- Practically Lives Here
- Posts: 1509
- Joined: Mon Jul 05, 2004 12:46 am
- Location: Salt Lake City, Utah
Re: Official SGT ADD thread
There's no place like 127.0.0.1
- kurtisnelson
- Practically Lives Here
- Posts: 1075
- Joined: Mon Feb 20, 2006 7:30 pm
- Park: WDPR
- Department: Industrial Engineeri
- Position: Former
- Location: Georgia Tech
- Contact:
Re: Official SGT ADD thread
How many of us here are comp sci people?BRWombat wrote:And if you have a LOT of energy left, just program gameplay strategy into it and create a Master-level computer opponent!! (Okay, ignore this -- it's just the computer-science-major side of me coming out.)
Kurt
- Lasolimu
- Practically Lives Here
- Posts: 1509
- Joined: Mon Jul 05, 2004 12:46 am
- Location: Salt Lake City, Utah
Re: Official SGT ADD thread
Does someone need to start a poll?kurtisnelson wrote:How many of us here are comp sci people?
There's no place like 127.0.0.1
- Lasolimu
- Practically Lives Here
- Posts: 1509
- Joined: Mon Jul 05, 2004 12:46 am
- Location: Salt Lake City, Utah
Re: Official SGT ADD thread
I have now put this in, and uploaded it to my website so take a look.BRWombat wrote:you might consider adding an indicator to show whether it is Black or White's turn.
There's no place like 127.0.0.1
- BRWombat
- Permanent Fixture
- Posts: 5131
- Joined: Thu Jul 22, 2004 2:00 pm
- Department: Offsite Harmony
- Position: Back Row Baritone
- Location: Dallas area
- Contact:
Re: Official SGT ADD thread
Looks good!Lasolimu wrote:I have now put this in, and uploaded it to my website so take a look.
"This would be a great place if we could only get rid of all these people." - Walt Disney

VocalMajority Twitter
VocalMajority Twitter
- Lasolimu
- Practically Lives Here
- Posts: 1509
- Joined: Mon Jul 05, 2004 12:46 am
- Location: Salt Lake City, Utah
Re: Official SGT ADD thread
It still has a problem, there is a potential memory leak I need to fix, I have a solution, but I am sure there is a better way to do it so, I am doing some research into it. If I haven't found a better solution I will implement the one I have tonight.BRWombat wrote:Looks good!
Yes, I created a potential memory leak in Java, don't ask me how.
There's no place like 127.0.0.1
- ktulu
- Permanent Fixture
- Posts: 4150
- Joined: Tue Jan 09, 2007 1:01 pm
- Park: ktululand
- Department: Custodial
- Position: Janitor
- Location: Texas
- Contact:
Re: Official SGT ADD thread
No go on my mac.
"People can drink coke and pepsi, but they can't pee in the street."
812114
812114
- Lasolimu
- Practically Lives Here
- Posts: 1509
- Joined: Mon Jul 05, 2004 12:46 am
- Location: Salt Lake City, Utah
Re: Official SGT ADD thread
Could be your version of Java because I didn't put in anything that was platform specific, unless it was added when I put it into the jar.ktulu wrote:No go on my mac.
There's no place like 127.0.0.1
- Lasolimu
- Practically Lives Here
- Posts: 1509
- Joined: Mon Jul 05, 2004 12:46 am
- Location: Salt Lake City, Utah
Re: Official SGT ADD thread
Okay, I fixed the leak. I had to use the messy method. I had it just about working but it kept failing for some reason. That reason was that I had windowClosing() instead of windowClosed().
There's no place like 127.0.0.1
- hobie16
- Permanent Fixture
- Posts: 10546
- Joined: Fri Nov 05, 2004 4:45 pm
- Park: DLR
- Department: Fruity Drink Land
- Position: Mai Tai Face Plant
- Location: 717 Miles NNW Of DLR
Re: Official SGT ADD thread
Click on the apple in the upper left corner and select Software Update... That'll tell you if you've got the latest version of Java.Lasolimu wrote:Could be your version of Java because I didn't put in anything that was platform specific, unless it was added when I put it into the jar.

Don't be fooled by appearances. In Hawaii, some of the most powerful people look like bums and stuntmen.
--- Matt King
Stay low and run in a zigzag pattern.