#squarecounting
Explore tagged Tumblr posts
apcsbigbrain-blog · 7 years ago
Text
P8B Extension (pickSmartSquare)
public boolean pickSmartSquare(String mark)    {        boolean fullSquares = true;        String oppMark = "O";        if (mark.equals("X"))        {            oppMark = "O";        }        else if (mark.equals("O"))        {            oppMark = "X";        }        int squareCounter = getNumFullSquares();        if (squareCounter == 9)        {            fullSquares = false;        }        if (s5.equals(" "))        {            s5 = mark;        }        else if (s1.equals(oppMark) && s2.equals(oppMark))        {            s3 = mark;        }        else if (s2.equals(oppMark) && s3.equals(oppMark))        {            s1 = mark;        }        else if (s1.equals(oppMark) && s3.equals(oppMark))        {            s2 = mark;        }        else if (s4.equals(oppMark) && s5.equals(oppMark))        {            s6 = mark;        }        else if (s5.equals(oppMark) && s6.equals(oppMark))        {            s4 = mark;        }        else if (s4.equals(oppMark) && s6.equals(oppMark))        {            s5 = mark;        }        else if (s7.equals(oppMark) && s8.equals(oppMark))        {            s9 = mark;        }        else if (s8.equals(oppMark) && s9.equals(oppMark))        {            s7 = mark;        }        else if (s7.equals(oppMark) && s9.equals(oppMark))        {            s8 = mark;        }        else if (s1.equals(oppMark) && s4.equals(oppMark))        {            s7 = mark;        }        else if (s4.equals(oppMark) && s7.equals(oppMark))        {            s1 = mark;        }        else if (s1.equals(oppMark) && s7.equals(oppMark))        {            s4 = mark;        }        else if (s2.equals(oppMark) && s5.equals(oppMark))        {            s8 = mark;        }        else if (s5.equals(oppMark) && s8.equals(oppMark))        {            s2 = mark;        }        else if (s2.equals(oppMark) && s8.equals(oppMark))        {            s5 = mark;        }        else if (s3.equals(oppMark) && s6.equals(oppMark))        {            s9 = mark;        }        else if (s6.equals(oppMark) && s9.equals(oppMark))        {            s3 = mark;        }        else if (s3.equals(oppMark) && s9.equals(oppMark))        {            s6 = mark;        }        else if (s1.equals(oppMark) && s5.equals(oppMark))        {            s9 = mark;        }        else if (s5.equals(oppMark) && s9.equals(oppMark))        {            s1 = mark;        }        else if (s1.equals(oppMark) && s9.equals(oppMark))        {            s5 = mark;        }        else if (s3.equals(oppMark) && s5.equals(oppMark))        {            s7 = mark;        }        else if (s5.equals(oppMark) && s7.equals(oppMark))        {            s3 = mark;        }        else if (s3.equals(oppMark) && s7.equals(oppMark))        {            s5 = mark;        }        else if (s1.equals(" "))        {            s1 = mark;        }        else if (s3.equals(" "))        {            s3 = mark;        }        else if (s7.equals(" "))        {            s7 = mark;        }        else if (s9.equals(" "))        {            s9 = mark;        }        else        {            int random = (int)((Math.random() * 4) + 1);            int counter = 0;            while (counter < 1)            {                if (random == 1)                {                    if (s2.equals(" "))                    {                        s2 = mark;                    }                }                else if (random == 2)                {                    if (s4.equals(" "))                    {                        s4 = mark;                    }                }                else if (random == 3)                {                    if (s6.equals(" "))                    {                        s6 = mark;                    }                }                else if (random == 4)                {                    if (s8.equals(" "))                    {                        s8 = mark;                    }                }            }        }        return fullSquares;    }
0 notes
deepakmathematics · 5 years ago
Photo
Tumblr media
Please like, comment and share... #cuberoot #cubes #square #squarecounting #solutions #hardmath #deepak_maths #square #findsquares #calculations #student #mathematics_facts #geometry #solutions #fastcalculations #mathematicians #maths #sscchsl #ssccgl #sscmtsexam #bankpreparation #rrbntpc #railwayexampreparation #reasoning #puzzle #logicalmaths #mathmagic #brainteaser https://www.instagram.com/p/CEQ834ojVkW/?igshid=1l210hfhyetwh
0 notes
deepakmathematics · 5 years ago
Photo
Tumblr media
Please like, comment and share... #cuberoot #squareroot #cubes #square #squarecounting #mensuration #solutions #mathproblems #deepak_maths #square #findsquares #calculations #mathematics_facts #geometry #mensuration #realmath #fastcalculations #mathematicians #maths #sscchsl #ssccgl #sscmtsexam #bankpreparation #rrbntpc #railwayexampreparation #ssccglexam #reasoning #puzzle #logicalmaths #mathmagic #brainteaser . . . . . . . . @thedeepakmaths @thedeepakmaths @thedeepakmaths @thedeepakmaths https://www.instagram.com/p/CD82ICMjEDM/?igshid=o8wcmy2o23fu
0 notes
deepakmathematics · 5 years ago
Photo
Tumblr media
Please like, comment and share... #cuberoot #squareroot #cubes #square #squarecounting #mensuration #solutions #mathproblems #deepak_maths #square #findsquares #calculations #mathematics_facts #geometry #mensuration #realmath #fastcalculations #mathematicians #maths #sscchsl #ssccgl #sscmtsexam #bankpreparation #rrbntpc #railwayexampreparation #ssccglexam #reasoning #puzzle #logicalmaths #mathmagic #brainteaser . . . . . . . . @thedeepakmaths @thedeepakmaths @thedeepakmaths @thedeepakmaths https://www.instagram.com/p/CD5dchPDyN7/?igshid=xoew2e324mv5
0 notes
deepakmathematics · 5 years ago
Photo
Tumblr media
Please like, comment and share... #cuberoot #squareroot #cubes #square #squarecounting #mensuration #solutions #mathproblems #deepak_maths #square #findsquares #calculations #mathematics_facts #geometry #mensuration #realmath #fastcalculations #mathematicians #maths #sscchsl #ssccgl #sscmtsexam #bankpreparation #rrbntpc #railwayexampreparation #ssccglexam #reasoning #puzzle #logicalmaths #mathmagic #brainteaser . . . . . . . . @thedeepakmaths @thedeepakmaths @thedeepakmaths https://www.instagram.com/p/CD3SA-jDBhk/?igshid=cw2eaqxzfkdt
0 notes
deepakmathematics · 5 years ago
Photo
Tumblr media
Please like, comment and share... #cuberoot #squareroot #cubes #square #squarecounting #mensuration #solutions #mathproblems #deepak_maths #square #findsquares #calculations #mathematics_facts #geometry #mensuration #realmath #fastcalculations #mathematicians #maths #sscchsl #ssccgl #sscmtsexam #bankpreparation #rrbntpc #railwayexampreparation #ssccglexam #reasoning #puzzle #logicalmaths #mathmagic #brainteaser #triangles . . . . . Follow @thedeepakmaths Follow @thedeepakmaths Follow @thedeepakmaths https://www.instagram.com/p/CD1mymsDHo-/?igshid=hm6018w3cfg7
0 notes
deepakmathematics · 5 years ago
Photo
Tumblr media
#cuberoot #squareroot #cubes #square #squarecounting #mensuration #solutions #mathproblems #deepak_maths #square #findsquares #calculations #mathematics_facts #geometry #mensuration #realmath #fastcalculations #mathematicians #maths #sscchsl #ssccgl #sscmtsexam #bankpreparation #rrbntpc #railwayexampreparation #ssccglexam #reasoning #puzzle #logicalmaths #mathmagic #brainteaser #triangles . . . . . Follow @thedeepakmaths Follow @thedeepakmaths Follow @thedeepakmaths https://www.instagram.com/p/CDtDhOUDL4m/?igshid=1c3uledriogtg
0 notes
deepakmathematics · 5 years ago
Photo
Tumblr media
#cuberoot #squareroot #cubes #square #squarecounting #mensuration #solutions #mathproblems #deepak_maths #square #findsquares #calculations #mathematics_facts #geometry #mensuration #realmath #fastcalculations #mathematicians #maths #sscchsl #ssccgl #sscmtsexam #bankpreparation #rrbntpc #railwayexampreparation #ssccglexam #reasoning #puzzle #logicalmaths #mathmagic #brainteaser #triangles . . . . . Follow @thedeepakmaths Follow @thedeepakmaths Follow @thedeepakmaths https://www.instagram.com/p/CDqdp-Ejzvc/?igshid=b9s06f7jhcf8
0 notes
deepakmathematics · 5 years ago
Photo
Tumblr media
Find the square root?? #cuberoot #squareroot #cubes #square #squarecounting #mensuration #solutions #mathproblems #deepak_maths #square #findsquares #calculations #mathematics_facts #geometry #mensuration #realmath #fastcalculations #mathematicians #maths #sscchsl #ssccgl #sscmtsexam #bankpreparation #rrbntpc #railwayexampreparation #ssccglexam #reasoning #puzzle #logicalmaths #mathmagic #brainteaser #triangles . . . . . Follow @thedeepakmaths Follow @thedeepakmaths Follow @thedeepakmaths https://www.instagram.com/p/CDmEE5ll5uL/?igshid=1ingjwe38xewt
0 notes
deepakmathematics · 5 years ago
Photo
Tumblr media
Find the square root?? #cuberoot #squareroot #cubes #square #squarecounting #mensuration #solutions #mathproblems #deepak_maths #square #findsquares #calculations #mathematics_facts #geometry #mensuration #realmath #fastcalculations #mathematicians #maths #sscchsl #ssccgl #sscmtsexam #bankpreparation #rrbntpc #railwayexampreparation #ssccglexam #reasoning #puzzle #logicalmaths #mathmagic #brainteaser #triangles . . . . . Follow @thedeepakmaths Follow @thedeepakmaths Follow @thedeepakmaths https://www.instagram.com/p/CDmEE5ll5uL/?igshid=hrh3f1ioqri4
0 notes
deepakmathematics · 5 years ago
Photo
Tumblr media
#triangles #cubes #square #squarecounting #mensuration #solutions #mathproblems #deepak_maths #square #findsquares #calculations #mathematics_facts #geometry #mensuration #realmath #fastcalculations #mathematicians #maths #sscchsl #ssccgl #sscmtsexam #bankpreparation #rrbntpc #railwayexampreparation #ssccglexam #reasoning #puzzle #logicalmaths #mathmagic #brainteaser #triangles . . . . . Follow @thedeepakmaths Follow @thedeepakmaths Follow @thedeepakmaths https://www.instagram.com/p/CDfmO8wjOpH/?igshid=1ur65m703zaut
0 notes
deepakmathematics · 5 years ago
Photo
Tumblr media
#triangles #cubes #square #squarecounting #mensuration #solutions #mathproblems #deepak_maths #square #findsquares #calculations #mathematics_facts #geometry #mensuration #realmath #fastcalculations #mathematicians #maths #sscchsl #ssccgl #sscmtsexam #bankpreparation #rrbntpc #railwayexampreparation #ssccglexam #reasoning #puzzle #logicalmaths #mathmagic #brainteaser #triangles . . . . . Follow @thedeepakmaths Follow @thedeepakmaths Follow @thedeepakmaths https://www.instagram.com/p/CDb4vKAjh-u/?igshid=avnhkiqcbf5d
0 notes
deepakmathematics · 5 years ago
Photo
Tumblr media
Find the value of BD..? #cubes #square #squarecounting #mensuration #solutions #mathproblems #deepak_maths #square #findsquares #calculations #mathematics_facts #geometry #mensuration #realmath #fastcalculations #mathematicians #maths #sscchsl #ssccgl #sscmtsexam #bankpreparation #rrbntpc #railwayexampreparation #ssccglexam #reasoning #puzzle #logicalmaths #mathmagic #brainteaser #triangles . . . . . Follow @thedeepakmaths Follow @thedeepakmaths Follow @thedeepakmaths https://www.instagram.com/p/CDNzIDkDT6a/?igshid=kwp7g6t2kzwi
0 notes
deepakmathematics · 5 years ago
Photo
Tumblr media
Find the value??... #cubes #square #squarecounting #mensuration #solutions #mathproblems #deepak_maths #square #findsquares #calculations #mathematics_facts #geometry #mensuration #realmath #fastcalculations #mathematicians #maths #sscchsl #ssccgl #sscmtsexam #bankpreparation #rrbntpc #railwayexampreparation #ssccglexam #reasoning #puzzle #logicalmaths #mathmagic #brainteaser #triangles . . . . . Follow @thedeepakmaths Follow @thedeepakmaths Follow @thedeepakmaths https://www.instagram.com/p/CDLDH3sjqcC/?igshid=1tz7k8w73d023
0 notes
deepakmathematics · 5 years ago
Photo
Tumblr media
#cubes #square #squarecounting #mensuration #solutions #mathproblems #deepak_maths #square #findsquares #calculations #mathematics_facts #geometry #mensuration #realmath #fastcalculations #mathematicians #maths #sscchsl #ssccgl #sscmtsexam #bankpreparation #rrbntpc #railwayexampreparation #ssccglexam #reasoning #puzzle #logicalmaths #mathmagic #brainteaser #triangles . . . . . Follow @thedeepakmaths Follow @thedeepakmaths Follow @thedeepakmaths https://www.instagram.com/p/CDEVoHKjVGX/?igshid=1sxhtrg8xujq9
0 notes
deepakmathematics · 5 years ago
Photo
Tumblr media
#cubes #square #squarecounting #mensuration #solutions #mathproblems #deepak_maths #square #findsquares #calculations #mathematics_facts #geometry #mensuration #realmath #fastcalculations #mathematicians #maths #sscchsl #ssccgl #sscmtsexam #bankpreparation #rrbntpc #railwayexampreparation #ssccglexam #reasoning #puzzle #logicalmaths #mathmagic #brainteaser #triangles . . . . . Follow @thedeepakmaths Follow @thedeepakmaths Follow @thedeepakmaths https://www.instagram.com/p/CC8f3kgDhQn/?igshid=1ueusgcj7dwr1
0 notes