Commit 639b27c6 authored by amir's avatar amir

method checkSides

parent 0b662ace
......@@ -62,10 +62,10 @@ public class Player {
}
/**
*
* @param x
* @param y
* @return
* gets x and y checks the side to count the number of discs in a line
* @param x the x coordinate
* @param y the y coordinate
* @return if there is a possible line between a player's disc and there is 5 of them returns true
*/
public boolean checkSides(int x, int y){
if (x != 0){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment