So I've been thinking a bit about this program, and I'm thinking...
Four linked lists (or a 2D array of them) is going to be needed to represent the player's hands, and one that represents the big 'deck' out there.
So every time a user wants to pick up a tile, then I will have to take the top thing off of the list. I'm not going to worry too much about graphics now, because it's a lot of work to remove each tile.
And every time the user pairs something up (like an eye or a triplet), the user has to choose one to throw out (perhaps a drop down menu or pressing on the physical tiles), and then the list has to be resorted again so it is all in the right order.
Perhaps something more like this (http://fs02.androidpit.info/ass/x90/11319390-1379636282506.jpg), where you don't have to use the 144 tile-thing...that's a lot of work, and unless I'm making an app (which I will eventually convert it over), but it's too much work for a project due so soon.
No comments:
Post a Comment