Hi Jedi Masters,
I am taking an advanced Java class where the professor has decided to make the final project an Android Chess app. The good news is I've already written the Chess logic working in Java. The bad news is I have two weeks to figure out how to port that Java code into an Android app. The time crunch is the real problem here. I've been reading online documentation and working through tutorials, but I'm not making enough headway to hit my deadline. I need to bounce my general game plan off of a few experts and see if I'm on-track.
The first step is to design a UI. Obviously the main screen will need an 8x8 grid. Chess pieces will need to fit on the grid. My reading suggests the best approach is to create a custom View class... but I'm not sure about that. On the other hand, I've also read up on the gridView class, which at first glance, but doesn't look promising when I actually play with one in Studio.
Once the Chessboard is defined, I have to figure out how to place and move the pieces on squares. Without knowing what structure will represent the board, I can't plan that far ahead. Its frustrating.
I don't want anyone to give me a solution. If I had more time, I'd explore and research and explore these options in more detail. But I don't have time to spare. What I'm looking for is general advice like "using a View class should work" or "gridView isn't suitable for what you are looking for." A little advice like that will save me a LOT of development time. Thanks in advance for your consideration.
I am taking an advanced Java class where the professor has decided to make the final project an Android Chess app. The good news is I've already written the Chess logic working in Java. The bad news is I have two weeks to figure out how to port that Java code into an Android app. The time crunch is the real problem here. I've been reading online documentation and working through tutorials, but I'm not making enough headway to hit my deadline. I need to bounce my general game plan off of a few experts and see if I'm on-track.
The first step is to design a UI. Obviously the main screen will need an 8x8 grid. Chess pieces will need to fit on the grid. My reading suggests the best approach is to create a custom View class... but I'm not sure about that. On the other hand, I've also read up on the gridView class, which at first glance, but doesn't look promising when I actually play with one in Studio.
Once the Chessboard is defined, I have to figure out how to place and move the pieces on squares. Without knowing what structure will represent the board, I can't plan that far ahead. Its frustrating.
I don't want anyone to give me a solution. If I had more time, I'd explore and research and explore these options in more detail. But I don't have time to spare. What I'm looking for is general advice like "using a View class should work" or "gridView isn't suitable for what you are looking for." A little advice like that will save me a LOT of development time. Thanks in advance for your consideration.