As someone fairly new to OO programming, I was wondering how more experienced programmers follow the design process. As an example, let's say you want to code a simple tetris game clone in Java or Python, how do you go about determining which classes to define and whether it makes sense to declare some as abstract classes, etc.
Letting my inexperience show, I would identify the following classes:
1.) Screen or playable area on screen
2.) A square
3.) A shape (consisting of more than one square as in 2.)
4.) a keyboard key (should this even be a class?)
5.) Some text (title, scoreline, etc.)
How will you approach this design?
#design
Web Design | SEO | WordPress | Mobile App @ ZOTO Solutions