drewhannay / chess

A Java application for defining and playing chess variants
http://chesscrafter.com
36 stars 45 forks source link

Critical Bug fix for AI + Code Refactoring #189

Closed kentsangkm closed 9 years ago

kentsangkm commented 9 years ago

1) Bug fix: createAIPopup. mPanel will be null if "Human Game" button never clicked 2) Refactoring: rename some function and make it more clear to understand Import the usability 3) No pop up will show if the chess is not placed to the game board. The pop up will show only if the chess places to the not allowed square 4) Use file copy instead of move for the AI install

drewhannay commented 9 years ago

I'll merge this for now, but please note that all new development is happening on the rewrite branch. The code on master will eventually be replaced by the rewrite branch, which is intended to separate the logic code from the UI code and add unit tests to ensure the correctness of the logic.

kentsangkm commented 9 years ago

Sorry that the rewrite branch cannot be compile and I dont know where to start. Please advise. master is interesting as I can play around it. Thanks!!

drewhannay commented 9 years ago

Ah, sorry, forgot it still wasn't compiling. Feel free to keep playing around with the master branch. I'll make a new post when the rewrite branch is ready for new work, but I'm not sure when that will be...could be a while still.