ictk-users Mailing List for ictk - Internet Chess ToolKit
chess library in java, PGN, FEN, ICS
Brought to you by:
jvarsoke
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(3) |
Sep
(5) |
Oct
(6) |
Nov
(1) |
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(2) |
Feb
|
Mar
|
Apr
(3) |
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(3) |
2006 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: laurent b. <lau...@gm...> - 2012-03-18 16:40:56
|
Hello again, Finally I found a way to fix the problem, but the ictk library need must be "corrected" : In the ContinuationArrayList.java (package ictk.boardgame) replace the removeAll method with the following : /* removeAll() ********************************************************/ public void removeAll () { if (branches != null) for (int i = 0; i < branches.length; i++) { //must rewind first to not but board in bad state if(branches[i] != null){ if (branches[i].isExecuted()) departureMove.getHistory().goTo(departureMove); branches[i].dispose(); branches[i] = null; } } branches = null; } Regards |
From: laurent b. <lau...@gm...> - 2012-03-18 15:59:32
|
Hello everyone, I've just suscribed to this mailingl list. First, I would like to thank and congratulate the ICTK developper(s) for having made a usefull, esasily-understable, and well documented java chess library. I'm implementing an Android chess application, using the ICTK library. What I'm trying to do, is to implement a simple history functionnality : 1. The user can cancel one or more moves 2. But this moves are not cleared unless some new moves are added I've made a try with the following sample : http://pastebin.com/Q3R8DsMc It simply tries a few moves, go back on two half-moves, and then try to call the chessHistory.truncate() (line 51) : move 1 = e4, move2 = e5, move3 = NF3, move4 = Nc6, move5 = Bb5 But I get the following error stacktrace : Exception in thread "main" java.lang.NullPointerException at ictk.boardgame.ContinuationArrayList.removeAll(ContinuationArrayList.java:351) at ictk.boardgame.ContinuationArrayList.dispose(ContinuationArrayList.java:383) at ictk.boardgame.Move.dispose(Move.java:161) at ictk.boardgame.chess.ChessMove.dispose(ChessMove.java:274) at ictk.boardgame.ContinuationArrayList.removeAll(ContinuationArrayList.java:354) at ictk.boardgame.ContinuationArrayList.dispose(ContinuationArrayList.java:383) at ictk.boardgame.Move.dispose(Move.java:161) at ictk.boardgame.chess.ChessMove.dispose(ChessMove.java:274) at ictk.boardgame.ContinuationArrayList.removeAll(ContinuationArrayList.java:354) at ictk.boardgame.History.truncate(History.java:635) at ictk.boardgame.History.truncate(History.java:649) at com.gmail.bernabe.laurent.j2se.ictk_experiment.ICTKExperiment.testHistoryFeature(ICTKExperiment.java:51) at com.gmail.bernabe.laurent.j2se.ictk_experiment.ICTKExperiment.main(ICTKExperiment.java:21) Could someone help me ? Regards |
From: Stefan H. <sh...@gm...> - 2006-10-08 17:17:08
|
Hello, are some ictk-users out there? I plan to use the ictk for a correspondence chess server but I am not shure if the move checking works accurate. http://sourceforge.net/tracker/index.php? func=detail&aid=1198015&group_id=67303&atid=517494 Are there some more bugs like this in the ictk? Is there an alternative to the ictk in Java? Thanks, shaack |
From: <ic...@gc...> - 2006-07-30 06:52:27
|
>> >> It would help me greatly if you (and anyone reading this list) >> would >> post a little blurb about what you"re using ictk for. Sometimes >> working >> on these projects feels like making telescopes in the land of the >> blind. >> >> -j >> Hi, I'm using ictk to read/write pgn files and to validate moves in my own project JECmate (http://jecmate.org.uk). |
From: <ict...@sp...> - 2006-01-12 12:43:01
|
On Tue, Jan 10, 2006 at 02:23:53PM -0500, austin parker - aus...@gm... wrote: > Hi, > > I'm looking for a way to plug a kriegspiel-playing program into ICS, and I > think I'm going to be using / modifying this library to do so. I'm happy to > contribute any code I write, but before trying to write code, I wonder if > anyone has already done this or has any hints on the best way to proceed. > Thanks, > > (kriegspiel, by the by, is a chess varient where you aren't allowed to see > the opponent's pieces or know where exactly the opponent moved) austin, I'm not familiar with kriegspiel, so please excuse my ignorance. From your description it sounds like the rules of the game are the same as chess, but the display of the game to the players is changed. So, move lists and other records of the game would be indistinguishable from chess, but sitting at the board would be a completely different experience. If that's the case, I suggest you focus on the "ui" packages. Maybe start looking around in ictk.boardgame.chess.ui for inspiration. ictk never got very far into implementing anything other than a simple text interface. Also on the watch for someone to contribute some nice gui code. -j -- _____________oOOOo__/~~~~\__oOOOo____________________________ Jason Varsoke jvarsoke ghostmanonfirst com For good mental hygiene, shave with Occam's Razor twice daily |
From: austin p. <aus...@gm...> - 2006-01-10 19:23:56
|
Hi, I'm looking for a way to plug a kriegspiel-playing program into ICS, and I think I'm going to be using / modifying this library to do so. I'm happy to contribute any code I write, but before trying to write code, I wonder if anyone has already done this or has any hints on the best way to proceed. Thanks, (kriegspiel, by the by, is a chess varient where you aren't allowed to see the opponent's pieces or know where exactly the opponent moved) austin |
From: Diego A. <die...@we...> - 2005-12-11 14:08:38
|
Hi, I have been using with this library for a while and so far I like it very much. Still, some features I'd like are missing and I have been creating a "personal" version of ICTK I am wondering if I could help you with this project . Greetings Diego Amicabile |
From: Diego A. <die...@we...> - 2005-12-11 13:48:36
|
In the class ictk.boardgame.ContinuationArrayList I added the methods equals and hashCode, which I need for my little project public boolean equals(Object o) { if (o == this) return true; if ((o == null) || (o.getClass() != this.getClass())) return false; ContinuationArrayList otherList = (ContinuationArrayList)o; boolean branchesEqual = Arrays.equals(branches,otherList.branches); boolean departureEqual = departureMove.equals(otherList.departureMove); return branchesEqual && departureEqual; } public int hashCode() { int hash = 7; hash = 31 * hash + ((branches == null) ? 0 : branches.hashCode()); hash = 31 * hash + ((departureMove == null) ? 0 : departureMove.hashCode()); return hash; } |
From: Diego A. <die...@we...> - 2005-12-11 12:38:02
|
In the method protected Move _next(int i) in ictk.boardgame.History m.execute() should be replaced with _next(m) otherwise the counter currMoveNumber is not updated Greetings Diego Amicabile |
From: Diego A. <die...@we...> - 2005-11-20 17:17:10
|
Hello, I am using the ICTK to build a front end for the correspondence chess web site http://www.letsplaychess.com I am mainly interested in the PGN COmponents. This is a file from letsplaychess that ICTK has trouble parsing [Event "www.ChessWorld.net server game"] [Site "www.ChessWorld.net "] [Date "2005.9.6"] [Round "NA"] [White "wojpaw"] [Black "diegoami"] [Result ""] [Termination "in progress"] [Mode "ICS"] [DateLastMove "2005.11.10"] [SetUp "1"] [FEN "rnbqkbnr/pppp1ppp/4p3/8/3PP3/8/PPP2PPP/RNBQKBNR b KQkq d3 0 2 "] [ECO "C09"] [Board "1653231"] 1. e4 e6 2. d4 d5 3. Nb1d2 c5 4. exd5 exd5 5. Ng1f3 Nb8c6 6. Bf1b5 Bf8d6 7. O-O Ng8e7 8. dxc5 Bd6xc5 9. Nd2b3 Bc5b6 10. Rf1e1 O-O 11. Bc1e3 Bc8g4 12. Be3xb6 axb6 13. Bb5e2 Rf8e8 14. Nf3d4 1) The FEN definition has some trailing spaces (easily fixed with trim() ) 2) The game is actually starting from the normal board position ! Now letsplaychess here is actually exporting the wrong PGN, since chessbase has problems with it too Greetings Diego Amicabile |
From: Andrew H. <an...@wo...> - 2005-06-08 17:34:46
|
On Jun 7, 2005, at 5:58 PM, Sam D. Chuparkoff wrote: > On Tue, 2005-06-07 at 07:58 -0400, > ict...@sp... > wrote: >> On Mon, Jun 06, 2005 at 03:35:07PM -0700, Sam D. Chuparkoff - >> sd...@sa... wrote: >>> I submitted bug 1198015 against ictk, explaining how I fixed this for >>> myself. I thought perhaps I'd have further reason to familiarize >>> myself >>> with the code, but haven't yet; my use is trivial. If someone who has >>> used this code non-trivially wants to take a look, that would be >>> cool. >>> >>> Thanks to the author. >> >> sdc, >> Thanks for submitting this bug. I haven't worked on ictk for >> about a >> year now. My laptop went poof, and I've been religated to a Pent II, >> 300MHz laptop since then. It makes developing (especially in Java) a >> tad unbearable. But i've constructed a server now, so might be able >> to >> use that as a dev farm. >> >> I have some work deadlines for the next two weeks, but after that I >> hope to take a stab at some of the outstanding bugs, as well as start >> working on a release of the reconfigured FICS protocol handling. >> >> It would help me greatly if you (and anyone reading this list) >> would >> post a little blurb about what you're using ictk for. Sometimes >> working >> on these projects feels like making telescopes in the land of the >> blind. >> >> -j >> > > I use a laptop as my primary machine, and went into mourning when the > hard drive poofed a few months back. > > I'm working on a webapp (non-java) where the user tries to predict the > moves made by one player in a famous game. When it's posted I'll send a > link to the list. I use ictk to read in a pgn game and spit out board > positions and legal moves at each position. > > Anybody else? Hi Sam! I work for a math software company (Wolfram Research) and have being working on and off interfacing ictk with Mathematica (our lead software product). The jar works wonderfully and I'm writing various 'thinking brain' chess routines :-) I hope that your mail and mine, rejuvenates some interest and development! Thanks! ah. --------------------------------------------------------------------= Andy Hunt Manager, Electronic Documentation Wolfram Research, Inc. Voice: 217-398-0700 ext.260; Fax: 217-398-0747 Email: an...@wo...; http://www.wolfram.com/ --------------------------------------------------------------------= Power corrupts. Absolute power is kind of neat. -- John Lehman, Secretary of the Navy, 1981-1987 |
From: Sam D. C. <sd...@sa...> - 2005-06-07 22:59:12
|
On Tue, 2005-06-07 at 07:58 -0400, ict...@sp... wrote: > On Mon, Jun 06, 2005 at 03:35:07PM -0700, Sam D. Chuparkoff - sd...@sa... wrote: > > I submitted bug 1198015 against ictk, explaining how I fixed this for > > myself. I thought perhaps I'd have further reason to familiarize myself > > with the code, but haven't yet; my use is trivial. If someone who has > > used this code non-trivially wants to take a look, that would be cool. > > > > Thanks to the author. > > sdc, > Thanks for submitting this bug. I haven't worked on ictk for about a > year now. My laptop went poof, and I've been religated to a Pent II, > 300MHz laptop since then. It makes developing (especially in Java) a > tad unbearable. But i've constructed a server now, so might be able to > use that as a dev farm. > > I have some work deadlines for the next two weeks, but after that I > hope to take a stab at some of the outstanding bugs, as well as start > working on a release of the reconfigured FICS protocol handling. > > It would help me greatly if you (and anyone reading this list) would > post a little blurb about what you're using ictk for. Sometimes working > on these projects feels like making telescopes in the land of the blind. > > -j > I use a laptop as my primary machine, and went into mourning when the hard drive poofed a few months back. I'm working on a webapp (non-java) where the user tries to predict the moves made by one player in a famous game. When it's posted I'll send a link to the list. I use ictk to read in a pgn game and spit out board positions and legal moves at each position. Anybody else? sdc |
From: <ict...@sp...> - 2005-06-07 12:47:30
|
On Mon, Jun 06, 2005 at 03:35:07PM -0700, Sam D. Chuparkoff - sd...@sa... wrote: > I submitted bug 1198015 against ictk, explaining how I fixed this for > myself. I thought perhaps I'd have further reason to familiarize myself > with the code, but haven't yet; my use is trivial. If someone who has > used this code non-trivially wants to take a look, that would be cool. > > Thanks to the author. sdc, Thanks for submitting this bug. I haven't worked on ictk for about a year now. My laptop went poof, and I've been religated to a Pent II, 300MHz laptop since then. It makes developing (especially in Java) a tad unbearable. But i've constructed a server now, so might be able to use that as a dev farm. I have some work deadlines for the next two weeks, but after that I hope to take a stab at some of the outstanding bugs, as well as start working on a release of the reconfigured FICS protocol handling. It would help me greatly if you (and anyone reading this list) would post a little blurb about what you're using ictk for. Sometimes working on these projects feels like making telescopes in the land of the blind. -j -- _____________oOOOo__/~~~~\__oOOOo____________________________ Jason Varsoke jvarsoke ghostmanonfirst com For good mental hygiene, shave with Occam's Razor twice daily |
From: Sam D. C. <sd...@sa...> - 2005-06-06 22:35:27
|
I submitted bug 1198015 against ictk, explaining how I fixed this for myself. I thought perhaps I'd have further reason to familiarize myself with the code, but haven't yet; my use is trivial. If someone who has used this code non-trivially wants to take a look, that would be cool. Thanks to the author. sdc |
From: Andrew H. <an...@wo...> - 2004-05-17 08:49:43
|
On May 17, 2004, at 3:30 AM, Jerome Zago wrote: > On Monday 17 May 2004 02:53, Andrew Hunt wrote: >> I'm able to read in the first game in a PGN file via: >> >> game = (ChessGame) reader.readGame(); >> >> however, most of the pgn files I have contain multiple games. How do I >> then access the remaining games? > > ----- > ChessReader in = new PGNReader( > new FileReader( > new File(args[0]))); > PGNWriter out = new PGNWriter(System.out); > out.setAnnotationGlyphStyle(PGNWriter.NUMERIC_GLYPH); > > Game game; > while ((game = in.readGame()) != null) { // for each game > out.writeGame(game); > } > ----- > > Get the idea ? Hope it helps. Ah! Yes, this does help Many thanks! ah. |
From: Jerome Z. <ict...@ag...> - 2004-05-17 08:30:10
|
On Monday 17 May 2004 02:53, Andrew Hunt wrote: > I'm able to read in the first game in a PGN file via: > > game =3D (ChessGame) reader.readGame(); > > however, most of the pgn files I have contain multiple games. How do I > then access the remaining games? ----- ChessReader in =3D new PGNReader( new FileReader( new File(args[0]))); PGNWriter out =3D new PGNWriter(System.out); out.setAnnotationGlyphStyle(PGNWriter.NUMERIC_GLYPH); Game game; while ((game =3D in.readGame()) !=3D null) { // for each game out.writeGame(game); } ----- Get the idea ? Hope it helps. J=E9r=F4me Zago. |
From: Andrew H. <an...@wo...> - 2004-05-17 00:53:07
|
Hi! I just started using ictk and am really enjoying it. One question though and pardon if it's an easy one :-) I'm able to read in the first game in a PGN file via: game = (ChessGame) reader.readGame(); however, most of the pgn files I have contain multiple games. How do I then access the remaining games? Thanks! ah. --------------------------------------------------------------------= Andy Hunt Manager, Electronic Documentation Wolfram Research, Inc. Voice: 217-398-0700 ext.260; Fax: 217-398-0747 Email: an...@wo...; http://www.wolfram.com/ --------------------------------------------------------------------= Power corrupts. Absolute power is kind of neat. -- John Lehman, Secretary of the Navy, 1981-1987 |
From: <ict...@sp...> - 2004-04-13 17:16:01
|
----- Forwarded message from "J. Varsoke" <jvarsoke@> ----- Date: Wed, 7 Apr 2004 23:17:40 -0400 From: "J. Varsoke" <jvarsoke@> To: Jarret Minkler <jarret_minkler@>, ictk-users <ictk-users> Subject: Re: [ictk] TimesealingSocket Class User-Agent: Mutt/1.4.2i On Wed, Apr 07, 2004 at 06:09:45PM -0400, Jarret Minkler wrote: > > > I compiled with J2SE-1.5 beta .. not sure how this would change anything. > i am not sure if i got the files from the CVS or from somewhre else. I > will try and compile from CVS and see if that fixes .. > thanks Make sure you DL the 2.0 version from CVS the tag is: ictk-v0_2_0-Release Don't DL "HEAD" as that's a very unstable version I'm currently working with. Should compile and work, but things are still in flux. You can get the 0.2 version easily by typing: ant cvs I haven't tried the new 1.5 beta yet. I don't see why that would be a problem, but it is a difference. I suppose that JDK is from Sun. What OS are you running on? -j ----- End forwarded message ----- |
From: <ict...@sp...> - 2004-04-13 17:14:53
|
Okay, originally sent this over a week ago. But SF.net has started challenge responsing emails, and I just got the failure notice. :( ----- Forwarded message from "J. Varsoke" <jvarsoke@> ----- Date: Wed, 7 Apr 2004 16:31:33 -0400 From: "J. Varsoke" <jvarsoke@> To: Jarret Minkler <jarret_minkler@> Cc: ict...@li... Subject: Re: [ictk] TimesealingSocket Class User-Agent: Mutt/1.4.2i On Tue, Apr 06, 2004 at 03:26:21PM -0400, Jarret Minkler wrote: > Hello, > I had messaged you about the errors trying to log into FICS. > > However I had already been logging in up to this point with the regular Socket class (isLagCompensated(false)) > by commenting out the if structure in the FICSProtocolHandler. > > Using the regular socket I can connect to FICS but without timeseal running of course. Any time I try to use the TimesealingSocket provided with the latest src download I get the error that : > > Sorry, names can only consist of lower and upper case letters. Try again. > > Which I am taking to assume that it is sending numbers. > Since I can use the application thus far with a regular Socket I am certain the problem lies within the Timesealing Socket. I have both tried all settings of isBlock... and isLag .. and nothing will produce a working Timesealed Socket. Jarret, I've downloaded the 0.2 version from CVS and run the sample with lag compensation on, and everything seems to work fine. I'm not sure why you're having a problem, or what is different with your setup. If you zip up your files and send them to me I'll see if your version is different somehow. Also, if you could provide some more info: JDK version: JDK distro (Sun, IBM, MS, Blackdown, whatever): What OS are you running on: You can send the zip file to: jvarsoke users sourceforge net You know where to put the "@" ;) -j ----- End forwarded message ----- |
From: Jarret M. <jar...@ho...> - 2004-04-06 19:26:53
|
Hello, I had messaged you about the errors trying to log into FICS.=20 However I had already been logging in up to this point with the = regular Socket class (isLagCompensated(false)) by commenting out the if structure in the FICSProtocolHandler. Using the regular socket I can connect to FICS but without timeseal = running of course. Any time I try to use the TimesealingSocket provided = with the latest src download I get the error that : Sorry, names can only consist of lower and upper case letters. Try = again. Which I am taking to assume that it is sending numbers. Since I can use the application thus far with a regular Socket I am = certain the problem lies within the Timesealing Socket. I have both = tried all settings of isBlock... and isLag .. and nothing will produce a = working Timesealed Socket. Any Ideas? |
From: j. v. <jva...@gh...> - 2004-01-31 00:02:14
|
Okay folks, Though there have only been 2 or 3 spam that his this list since it has started, I still find it rather annoying. Therefore, I've closed posting to the list to members only. If this creates a problem for someone other than the spammers, please let me know. v0.2.1 After a long break for the winter, where I had some critical deadlines in my other vocation, I've started working on ICTK again in earnest. ics: Right now I'm adding Examing mode support to the FICS support. I'll be adding "bsetup" support as well before the next release. build: I've fixed some of the XSTL build script problems that Jerome reported. You can find the fixes in the CVS. icc: I plan to add the ability for ICTK to log into ICC using the FICS mode parsers. This will probably be a hack for some time. They've changed some of the standard ICS protocol, and I'm not interested in full support yet. This next release will be a small incremental release and you'll probably only want to download it if you need the new features. If there are any new FICS features you're waiting for and would like to see in v0.2.1, let me know. I know there are quite a few people who DLed the last version, some feedback on directions they desire would be helpful for me to plan the next few releases. -j -- _____________oOOOo__/~~~~\__oOOOo____________________________ Jason Varsoke jvarsoke users sourceforge net For good mental hygiene, shave with Occam's Razor twice daily |
From: Jonas F. <jo...@kt...> - 2003-11-27 13:36:55
|
Hi I am using ICTK to a part of system to broadcast chess games on a ICS. I build it on top of the simpleICS example, but if I try to use the ics.isConnected() method, it wont work. How to know when I can start sending my commands? For now I just wait 10 seconds. I would also want to run it with ICC. I manage to connect with ics.setHost("chessclub.com") and so on, but when we try to log in ICC says: "Sorry, names may be at most 15 characters long. Try again." (I am actually a FICS user, but for this purpose we would like to use ICC too). Have you mange to use ICTK with ICC? Thanks Jonas Forsslund |
From: j. v. <jva...@gh...> - 2003-10-28 10:18:08
|
On Mon, 27 Oct 2003, Ed Seid wrote: > I'm going through ICTK, trying to figure out what's what and doing a little coding in VB.NET. I'm just starting to dig into it, so please forgive if these are easy questions. > > I'm now looking at Class Square at > http://ictk.sourceforge.net/docs/current/ictk/boardgame/chess/Square.html > and am wondering about X and Y. > > 1- Shouldn't those be included in the fields, along with piece? Perhaps this is one of those places where ICTK is a bit OOP over-wrought. Certianly the X and Y coordinates could just be kept as int values in the Pieces. But having a container object (the square) allows for easy passing of coordinate pairs around (and storage in lists that only take objects). The ChessPiece has a reference to the Square it is on. The ChessPiece also has a reference to an array of legal destinations for this ChessPiece given the current board position. All of this could be replaces by using int[2] instead. Matter of OOP style, I guess. > 2- To understand X and Y a little better... Let's assume I'm using a > 10x12 board representation (119 element array) with a1 = 21, b1 = 22, a2 > = 31, ... h8 = 98. Would it be correct to have valid ranges X = 1 to 8 > and Y = 2 to 9? Hmm, I don't understand what you mean. Is a1 the 21st location on the board or the 2,1 coordinate on the board? Ah, I think you're maping the first letter with the second number. And the second number with the first number. So a=1 & 1=2, b=2, 2=3. It's rather confusing. But assuming a-h are your X coordinates 1-8 would be a valid numeric representation of your X corrdinate range. And yes, Y could equals 2-9 if you so wished. > 3- There are 2 additional constructors, that take arguments f and r. > If f and r are Byte, does their valid values range 1-8? There are two notations handled by Square. 1 is in character form where valid values are 'a'-'h' and '1'-'8'. The other is numeric form, where 1-8 and 1-8 are valid. > 4- One constructor has f and r as Char arguments. Am I correct in > thinking r = 1 to 8 and f = 'a' to 'h'? yes. > 5- If f = 'a' to 'h', then should there be a method to convert a Char f > to an Integer f? yes. You can get the value of the X coordinate as a character by invoking getFileAsChar(). Square does not have any static methods to do this conversion as that would have more to do with Locales and representations and thus is contained in ictk.boardgame.chess.io.ChessMoveNotation. But it doesn't used statics methods either since the whole point was to support Locales. > 6- On the webpage, there are 2 set methods... probably a typo. They take different arguments. One takes byte f, byte r the other takes char f, char r. A char is 2x the size of a byte. > > I'm new to OOP. Sorry if I misuse any of the terminology. I'm new to > OOP. Since I plan to write a gui, not an engine, the inefficiency of a > highly OO model isn't so critical. no problem. Hope this helped. -j |
From: Ed S. <es...@wi...> - 2003-10-28 07:58:33
|
I'm going through ICTK, trying to figure out what's what and doing a = little coding in VB.NET. I'm just starting to dig into it, so please = forgive if these are easy questions. I'm now looking at Class Square at = http://ictk.sourceforge.net/docs/current/ictk/boardgame/chess/Square.html= and am wondering about X and Y. 1- Shouldn't those be included in the fields, along with piece? 2- To understand X and Y a little better... Let's assume I'm using a = 10x12 board representation (119 element array) with a1 =3D 21, b1 =3D = 22, a2 =3D 31, ... h8 =3D 98. Would it be correct to have valid ranges = X =3D 1 to 8 and Y =3D 2 to 9? 3- There are 2 additional constructors, that take arguments f and r. If = f and r are Byte, does their valid values range 1-8? 4- One constructor has f and r as Char arguments. Am I correct in = thinking r =3D 1 to 8 and f =3D 'a' to 'h'? 5- If f =3D 'a' to 'h', then should there be a method to convert a Char = f to an Integer f? 6- On the webpage, there are 2 set methods... probably a typo. I'm new to OOP. Sorry if I misuse any of the terminology. I'm new to = OOP. Since I plan to write a gui, not an engine, the inefficiency of a = highly OO model isn't so critical. Ed |
From: j. v. <jva...@gh...> - 2003-10-10 18:28:32
|
Make sure "lib/timesealing.jar" (wherever you've installed it) is in your CLASSPATH. Hmm, I just noticed lib/timesealing.jar didn't get put in the ictk-0.2.jar file. I'll fix that for the next release. But for now you'll have to down load timesealing.jar from the CVS, or grab one of the "src" distribution files. thanks for finding the bug, -j On Fri, 10 Oct 2003, Jonas Forsslund wrote: > Hi, I tried to run the sample SimpleICSClient, and get: > > Exception in thread "main" java.lang.NoClassDefFoundError: > free/freechess/timeseal/TimesealingSocket > at SimpleICSClient.<init>(SimpleICSClient.java:61) > at SimpleICSClient.main(SimpleICSClient.java:131) > > I dont need timeseal at the moment, but how do I get it work? > > Jonas > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > ictk-users mailing list > ict...@li... > https://lists.sourceforge.net/lists/listinfo/ictk-users > |