Results 1 to 1 of 1
Thread: Reversi Move algorithm
- 10-08-2013, 02:22 PM #1Senior Member
- Join Date
- Mar 2013
- Rep Power
Reversi Move algorithm
How do I go about calculating possible moves in Reversi without having to write 8 helper methods going through each of the direction.
I know I have to first chck the direction I need to check. I have that helper method. If the adjacent square has opposite color return something to represent that direction..
How do I make a helper method that goes over that
- By NoobieCode in forum New To JavaReplies: 8Last Post: 10-10-2013, 06:27 PM
- By cawthorne in forum Reviews / AdvertisingReplies: 6Last Post: 06-13-2013, 03:36 PM
- By cawthorne in forum Reviews / AdvertisingReplies: 1Last Post: 01-15-2012, 02:50 PM
- By chielt in forum Java AppletsReplies: 10Last Post: 01-02-2010, 11:25 PM
- By Laythe in forum Java AppletsReplies: 1Last Post: 12-19-2009, 12:00 AM