I have to have Tetris made in Java in 3-5 weeks, but I haven't started, and have no idea how to start. I'm not asking anyone to make the game for me, I just need a general idea of what to do to get things rolling. Firstly, what classes should I make? Should I make a separate class for the grid, or should I just put a 2D array in the main class? Should I have a single class that holds all the data for the pieces, or a separate class for each piece? And how should rotations be handled?
I'm sorry if I sound clueless right now, but I'm starting to get desperate. I've been looking through source code for other implementations for the game, but most of it is incredibly convoluted and poorly documented. Also, most other implementations use custom graphics APIs, which I'm not supposed to do.