haamlezz Posted January 21, 2016 Share Posted January 21, 2016 Hi all. I'm new to game development. Now I'm trying to make a game like chess but it's traditional game in Laos. The Reds must be on black block only, can not be on white block. But right now they can move to white block, so any one can help me to solve this problem? I have experiences on programming (not Javascript), just tell me some concept then I will find the way. Thanks in advanced. Quote Link to comment Share on other sites More sharing options...
Pixel Guardian Posted January 22, 2016 Share Posted January 22, 2016 I'm not 100% sure how efficient this would be, but what about checking collision? That is, checking to see if the piece is in bounds of a white or black square. And then go from there? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.