Important alert: (current site time 7/15/2013 6:17:43 PM EDT)
 

winzip icon

ChronoBlox Version 2.0

Email
Submitted on: 9/30/2010 5:39:22 PM
By: Chronx 
Level: Intermediate
User Rating: By 11 Users
Compatibility: C++ (general), Microsoft Visual C++, Borland C++
Views: 11464
 
     This is a Tetris-Style game that I wrote to get a feel for writing games. All the standard tetris rules apply.

 

INCLUDE files:

Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
//**************************************
//INCLUDE files for :ChronoBlox Version 2.0
//**************************************
#include <windows.h>
#include <string>
#include <d3dx9.h>
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.

Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

9/5/2005 6:02:24 AMMihály Tallódi

This is a rather nice game, although i have to complain about some things ;).
First of all, the game didn't compile because of a resource issue (bgTrack.wav & ScoreArea.jpg were missing), but after fixing these, there were no problems.
The code's clean and well-commmented, although you should have put some more effort into generalization. But overall, this is some fine code.
Keep up the good work!
(If this comment was disrespectful, please report it.)

 
9/5/2005 10:59:44 PMDustin Bowers

Oh sorry about that. I forgot to take that out before I released ChronoBlox v2, you can simply remove any reference to bgTrack.wav and ScoreArea.jpg and it will be fine.
(If this comment was disrespectful, please report it.)

 
9/8/2005 2:55:42 AMJared Bruni =)

Nice game :)
(If this comment was disrespectful, please report it.)

 
9/22/2005 11:47:18 PMDEEPAK G Krishnan

Its a very fine game .
wish u good luck in the coding contest
Mr.Dustin Bowers

(If this comment was disrespectful, please report it.)

 
9/22/2005 11:55:35 PMcompprog123456

Its very nice. may u win the contest
(If this comment was disrespectful, please report it.)

 
9/23/2005 6:40:31 PMCodeFester

Good job (once I got the directX sdk installed). THis submission should win of everything thats up so far this month.
(If this comment was disrespectful, please report it.)

 
9/24/2005 11:18:13 PMJared Bruni =)

Yeah i agree this submission should win -=)
(If this comment was disrespectful, please report it.)

 
10/6/2005 5:27:59 PMDustin Bowers

wo0t. I won the PSC coding contest for the first time. :D
(If this comment was disrespectful, please report it.)

 
10/7/2005 8:18:47 AMBrenton Andrew Saunders

What prize did you win?
(If this comment was disrespectful, please report it.)

 
11/2/2005 10:41:03 PMDustin Bowers

I won a book called "PHP and MySQL Web Development" :)
(If this comment was disrespectful, please report it.)

 
11/7/2005 1:16:22 PMnireesh

gud job man.I want the small codes in c language.will u please post for me
(If this comment was disrespectful, please report it.)

 
11/14/2005 7:44:38 PMDustin Bowers

what small codes in C language ?
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.