tags: Tutorials, Beginner

=head1 NAME

SDL::Tutorial::Tetris -- Let's Make Tetris

=head2 CATEGORY

Tutorials

=head2 The Overall view

All games are a while loop. So we will have something like this.

=head3 The Game Loop

 package Tetris;

 sub run_game_fun_times
 {
  while(1)
  {
   #game logic here
  }
 }	

You need more code you say? Ok well, a game does two things more. 

=head3 The Game Logic

=over 1

=item Input Events

A game essentially move objects (boxes, monsters so on) in time.

=over 

=item Time

In SDL time is measured in ticks.

=item User Input

=back

=item Draw Everything

=back

--Kartik
