I'm starting the developpement of a flow free game on android.
I'm a bit confused about the architecture design.
Should I use grids/tablelayout available on android framework or just draw my own objects by specifying the position and which object to draw.
I created classes for each object as : POINT, EMPTY, SQUARE.
I want to create a prototype like on those links :
http://forums.gamesalad.com/discussion/48641/my-flow-free-inspired-game-development-thread
For the moment, I don't have to design the IA, I just need to focus on the game architecture and physics.
Should I use grids/tablelayout available on android framework or just draw my own objects by specifying the position and which object to draw.
You shouldn't use grids/tablelayout.
For 2D games where you need performance, use OpenGL or take a look at the andengine library.
Since this is going to be a simple 2D game, you should look at Canvas
. Take a look at Android Sample Project > TicTacToeLib and Android Sample Project > TicTacToeMain (you need to use them both toghether). The GameView inside TicTacToeLib shows you how to use Canvas in a game.
What you will see when you compile TicTacToeMain with TicTacToeLib: