Projects
Current Project:
Lunar Lander!
Shopper Simulation [on hold]

Past Projects:
Tetris
 -> downloads()
 -> history()
 -> screenshots()
SkiDude

Books
Hiya.

Links

Welcome to Daniel Alvizu's Homepage

News

10-17-2003

Okay, I added midi support back in early September, but I never got around to uploading it or putting it on this page. Oh well, better late than never. Check out the download page for downloads of source and executable

08-30-2003

Tetris is done. For real. I'll zip it and upload it once I've added sound and music support... source code and everything. I added another screenshot as well, check it out.

08-26-2003

As promised, I have tackled this nasty bug responsible for two different errors, namely the poor collission detection and the memory leakage. If you know C++ at all, you can probably recognize my error just looking at this piece of code:

bool tetrisGame::canMoveDown()
{
 for (int i = 0; i < 4; i++)
  for (int j = 0; j < 4; j++)
  if (this->myActiveBlock.m_bFrameMap[i][j] == 1)
  {
  if (j + myActiveBlock.row + 1 > 14)
   return false;
  if (tetrisBoard[i+myActiveBlock.col+i][myActiveBlock.row+j+1] == 1)
  return false;
  }
 return true;
}

08-26-2003

Ahh... the list shortens... but at the same time lengthens. Stupid problems along the way. I've already tackled at least twenty, so its simply a matter of time before I get this latest, particularly nasty one pinned and saying "UNCLE!!!"

I've also uploaded some screenshots... really stupid stuff, but it makes me feel cool. Check out the screenshot page on the menu bar. If you can't find it you don't deserve to breed.

TODO:

Graph all the available types of blocks
Add input functions to move the active block
Add rotation code
Add collission code
Add row removal code
Stop the motherfucking memory leaks

08-26-2003

The Tetris page has begun. I've Decided to post as "news" items the things I haven't still have to do, as I seem to be asking myself this question a lot when I re-open MSVC++.

TODO:

Draw the preview block
Draw (maybe bind?) the active block
Graph all the available types of blocks
Add input functions to move the active block
Add rotation code
Add collission code
Add row removal code
Hosted by www.Geocities.ws

1