Hi.
I need some help with a memory game. How should I structure it before I begin to write it.
Is it good to have a class that defines a matrix for the play board and something like that?
Or should I use functions that defines lists and for-slings? Whats the easiest way? Im thinking about lists, and then functions to do all the commands from the user and everything else.
its going to look something like this:
1 2 3 4 5 6
A - - - - - -
B - - - - - -
C - - - - - -
D - - - - - -
E - - - - - -
F - - - - - -
=============== ===
choice1: A5
1 2 3 4 5 6
A - - - - kul -
B - - - - - -
C - - - - - -
D - - - - - -
E - - - - - -
F - - - - - -
=============== ===
choice2: B7 etc..
I need some help with a memory game. How should I structure it before I begin to write it.
Is it good to have a class that defines a matrix for the play board and something like that?
Or should I use functions that defines lists and for-slings? Whats the easiest way? Im thinking about lists, and then functions to do all the commands from the user and everything else.
its going to look something like this:
1 2 3 4 5 6
A - - - - - -
B - - - - - -
C - - - - - -
D - - - - - -
E - - - - - -
F - - - - - -
=============== ===
choice1: A5
1 2 3 4 5 6
A - - - - kul -
B - - - - - -
C - - - - - -
D - - - - - -
E - - - - - -
F - - - - - -
=============== ===
choice2: B7 etc..
Comment