Friday, May 27, 2005

Paper Chess.

Well, the chess program is pretty much done. Download it and try it out. You will need someone to play against (one person hosts, then the other person connects to the hosts IP). (unless you want to play yourself and open it up twice and set one as host and the remote player connect to 127.0.0.1)

You will also need Java 1.5 installed which you probably don't have yet.
Get it here. Do an online install. Mac people just need Tiger installed I think.

Once you download it just unzip it to your desktop or something and double click on it.
Oh, there is a font that really should be installed. It is included with the game but you need to install it.

One last note is that if you are hosting, you will need to open up port 9999 if you have a firewall and know your IP address to give out to the person your playing against. If you don't know what I'm talking about...ah well.

So anyway, still might be buggy but here download Paper Chess.

Oh, ANY bugs you might find please tell me or post as a comment as soon as possible.

7 Comments:

Anonymous Anonymous said...

Dude, the king and queen are backwards. King goes on the right of queen.

11:19 AM  
Anonymous Anonymous said...

What happens if I send an illegal move from a fake client? Are moves validated on both sides? Let's say I have a perl script that connects to PaperChess, then sends "(0,4)(6,2), Queen to G3 - mate". Or just "(x,y)(a,b),xxx - mate"?

11:45 AM  
Blogger stuffbox said...

Yeah cheating is quite possible. Moves are not validated on both sides. That would be extra work. For this project, security isn't required. What I really wanted to add was a chat interface as well as a draw and erase transition like you were actually using an eraser and pencil . Guess I shouldn't have waited till the last 5 days to really start the project.

King goes to the right of the queen for the first player that moves (white/red)? Oh yeah...thanks!

12:33 PM  
Anonymous Anonymous said...

Yeah, animation would rock. It looked like you were thinking that. The only other critique I've got is that a few of the pieces are a little hard to distinguish. Nice work though. Castling and capture en passant both work, bonus points for that.

1:12 PM  
Blogger greenbean the eccentric said...

Vin Diesel is a mystery, wrapped in an enigma, wrapped in a salsa-filled sock.

3:38 PM  
Anonymous Anonymous said...

Checkmate validation is incorrect

Empty Empty BlRok Empty RdKng RdBis Empty Empty
RdPwn RdPwn Empty Empty RdPwn BlNgt Empty Empty
Empty Empty Empty Empty Empty RdNgt Empty Empty
Empty Empty Empty Empty Empty BlBis RdPwn RdPwn
Empty Empty Empty Empty Empty Empty Empty Empty
RdQun Empty Empty Empty Empty Empty Empty Empty
Empty Empty Empty Empty Empty BlPwn BlPwn BlPwn
Empty Empty Empty Empty BlKng Empty Empty Empty

Is not checkmate for blue. Red can take my knight.

9:14 PM  
Blogger stuffbox said...

fuck beans. im drunk now, ill check about this tomorrow.

4:16 AM  

Post a Comment

<< Home