Friday, 21 December 2018

Google + Content reposting - June 10 2015


Digital and Interactive Games 2015 – Term 2, Week 8, Session 1

for (int row = 0; row < 10; ++row) {
    for (int col = 0; col < 4; ++col) {
        listOfOrbs.add(new Orb());
        listOfOrbs.get(listOfOrbs.size() - i).relocate(colPos, rowPos);
    }
}


(row * 4 + 0) = orbs;
(row * 4 + 1) = orbs;
(row * 4 + 2) = orbs;
(row * 4 + 3) = orbs;


colPos = 10 + col * 50;
rowPos = 430 – row * 60;


O O O O
4  5  6  7
O O O O
0  1  2  3

Continuing mastermind game


#gamedesign   #gameprogramming   #java   #mastermind   #programming   #tafe  



No comments:

Post a Comment