See http://tetrisapp.appspot.com/ 10 pts for one line 25 pts for two lines (+5) 40 pts for three lines (+10) eval-board evaluates the board resulting from each possible move without looking at the piece eval-piece evaluates the placement of the piece for each possible move without looking away from the piece genetic does something random