This site requires JavaScript, please enable it in your browser!
Greenfoot back

Comments for Chess: Drag-n-Drop

Return to Chess: Drag-n-Drop

darkmist255darkmist255

2012/2/26

Nice work :D! Not really a suggestion, more of a challenge for you if you feel like it, but this would be cool if you took a shot at a LAN network version of this :D.
danpostdanpost

2012/2/26

@darkmist255, I am unfamiliar with the terminology 'LAN network version'. I know 'LAN' stands for 'local area network'; so, would you be referring to having two players on two different computers in the same local network playing a game against each other?
darkmist255darkmist255

2012/2/26

Yeah, two players over LAN each controlling their own pieces. I have very little knowledge of Java networking, but if you have two computers that would be a cool challenge ;D!
danpostdanpost

2012/2/26

Unfortunately, I only have one. Besides, that sounds like quite an endevour and I do not think I would be much into doing something like that at this time.
darkmist255darkmist255

2012/2/26

Oh well :D! Great work on the game! I really like the log style thing on the right, would you be able to show the source?
danpostdanpost

2012/2/26

Give me a chance to clean it up a bit, and add some documentation. Hopefully, I can have it up soon.
DutaDuta

2012/2/27

To be honest, java networking isn't particularly hard once you're used to using sockets - and also you don't need 2 computers to test it, run the same application twice and see if they can connect.
DutaDuta

2012/2/27

I forgot to say: Nice game :D
A new version of this scenario was uploaded on Mon Feb 27 01:06:47 UTC 2012 Source code provided
A new version of this scenario was uploaded on Sat Sep 15 17:33:01 UTC 2012 Found a castling bug. Corrected it.
A new version of this scenario was uploaded on Sun Sep 23 17:47:40 UTC 2012 Gave it a make-over. Changed the header screen in preparation for a future update. Change the piece images and widened the move list area using a larger font as well as adding character images.
A new version of this scenario was uploaded on Mon Sep 24 01:05:09 UTC 2012 Changed title screen. Changed piece images. Increased font and added images to move listing.
danpostdanpost

2012/9/24

Can anyone guess or figure out where I got the new piece images from?
darkmist255darkmist255

2012/9/24

I don't see piece images, just boxes. Unless that was intentional.
danpostdanpost

2012/9/24

If you click on 'Run', you will see the board with the pieces.
danpostdanpost

2012/9/24

@darkmist255, did you click on 'Run'? I may have to revert back to what I had uploaded previously if you did and some others find that they cannot see the pieces either.
danpostdanpost

2012/9/24

Does anyone else have a problem viewing the pieces in this scenario after clicking on 'Run'? If so, please post a response and specify what system you are using.
darkmist255darkmist255

2012/9/25

This computer is fairly old, don't assume that everyone will have my problem. I'm running XP, 2Gb RAM, 2.4Ghz CPU.
danpostdanpost

2012/9/25

@darkmist255, that is probably the case. You have a message in my 'Private Messaging' scenario that explains. Can anyone guess or figure out where I got the new piece images from? Click 'Run' to view.
dlannidlanni

2012/9/28

They look like the pictures on the old magnetic sets ( where each piece was a flat disk ).
danpostdanpost

2012/9/28

@dlanni, nice try; but that is not where I got them from; though, come to think of it, they do look similar to them, dont they! Want to try again? If not, log on and open my 'Private Messaging' scenario; afterwards, I can let you know where I got them without others finding out.
RazzoRazzo

2012/10/7

I really like the smooth effect this Chess program gives, I'm currently making my own Chess game, do you think you could help me out, I need validation for Bishop and the Rook :D
danpostdanpost

2012/10/8

@Razzo, no problem on the help. Just start a new discussion thread for it and let us know what exactly where you are having problems.
UpupzealotUpupzealot

2012/10/21

Hi, danpost: May I have the source code of this project pls?
danpostdanpost

2012/10/21

@Upupzealot, give me a chance to clean it up a little and add some documentation (could take a little while).
UpupzealotUpupzealot

2012/10/22

Alright but don't let wait too long. It love this scenario. I think can make(or find) someone nicer picture for you if you want.
danpostdanpost

2012/10/22

@Upupzealot, that is funny ... I do not see your like? By the way, I am not using pictures for the pieces! Figure that one out!
danpostdanpost

2012/10/22

@Upupzealot, the image folder contains six pictures; three are for the title screen (header, chess and notes) and three are for the end-game situations (blackwins, whitewins and drawngame).
UpupzealotUpupzealot

2012/10/22

yes, I mean pictures for GUI, the chess and board are fine
UpupzealotUpupzealot

2012/10/22

I like it! I did't vote cause I was on my smart phone before! Now I'm on my computer again
A new version of this scenario was uploaded on Mon Oct 22 08:06:36 UTC 2012 Now fully documented and opened source.
danpostdanpost

2012/10/22

@Upupzealot, it is pretty much line for line documented and the source is up now.
UpupzealotUpupzealot

2012/10/22

Thx, I would tell U if I find some good pics!
UpupzealotUpupzealot

2012/10/22

Great job!!! The code and your documentation is very clear!
UpupzealotUpupzealot

2012/10/22

Question, what is the yellow rect for?(in the start page)
danpostdanpost

2012/10/22

@Upupzealot, that area will be used in a future update.
UpupzealotUpupzealot

2012/10/22

What dose "drawgame mean"?
danpostdanpost

2012/10/22

It means there is no winner. A position arose where the person who has the move does not have any legal moves, yet his king is not under attack. Stalemate!
UpupzealotUpupzealot

2012/10/22

OK~ I did‘t figure out where the iamges of the pieces come from. it seems that you drawn them like words
UpupzealotUpupzealot

2012/10/22

I find it! pieceInt, this is the key, right?
danpostdanpost

2012/10/22

@Upupzealot, correct. The 'pieceInt' array contains the character codes.
UpupzealotUpupzealot

2012/10/24

So did you want any pics anymore. I think your method has great fun. BTW I have already collected some pics for the board in wooden style.
danpostdanpost

2012/10/24

@Upupzealot, I have answered that question already, but you have yet to view it (Private Messaging scenario)
UpupzealotUpupzealot

2012/10/24

sorry, I would check that as soon asI was on my computer again.
A new version of this scenario was uploaded on 2020-10-26 20:08:49 UTC