3 <h3 id="TOP">Index</h3>
5 <ul><li><a href="#NAME">NAME</a>
6 <ul><li><a href="#The_Overall_view">The Overall view</a>
7 <ul><li><a href="#The_Game_Loop">The Game Loop</a></li>
8 <li><a href="#The_Game_Logic">The Game Logic</a>
17 <h1 id="NAME">NAME</h1><p><a href="#TOP" class="toplink">Top</a></p>
18 <div id="NAME_CONTENT">
19 <p>Let's Make Tetris</p>
22 <h2 id="The_Overall_view">The Overall view</h2>
23 <div id="The_Overall_view_CONTENT">
24 <p>All games are a while loop. So we will have something like this.</p>
27 <h3 id="The_Game_Loop">The Game Loop</h3>
28 <div id="The_Game_Loop_CONTENT">
31 sub run_game_fun_times
40 <p>You need more code you say? Ok well, a game does two things more. </p>
43 <h3 id="The_Game_Logic">The Game Logic</h3>
44 <div id="The_Game_Logic_CONTENT">
48 <p>A game essentially move objects (boxes, monsters so on) in time.</p>
53 <p>In SDL time is measured in ticks.</p>
59 <dt>Draw Everything</dt>