View Poll Results: What do you think?

Voters
12. You may not vote on this poll
  • Great Game!!

    9 75.00%
  • Not bad

    2 16.67%
  • Could be better

    1 8.33%
  • Start completely over

    0 0%

Thread: My tetris game 2.0

  1. #1
    Cheesy Poofs! PJYelton's Avatar
    Join Date
    Sep 2002
    Location
    Boulder
    Posts
    1,728

    My tetris game 2.0

    Thanks everyone for the great comments. Here is the latest version of my tetris game, and will probably be the last update until I learn more complicated windows programming ideas like fonts, menus, and child windows.

    Here is what has changed:
    -Press shift to rotate left, control to rotate right, and space to drop all the way down to the bottom. All other keys stay the same.

    -Fixed the problem of the colors being too dark sometimes. It didn't dawn on me that my random color schemes could sometimes pick black!

    -Game is sped up a little bit

    -You can pick your starting level as well as how many lines of random blocks you want to start off with. The higher the starting blocks, the more bonus points you start off with.

    -Had to scale down the point levels. For some reason the program crashes when your score gets above 99,999. It totally screws up the drawing mechanism when it tries to print a number one hundred thousand and higher and I have no idea why. If anyone can explain to me why this happens I'd appreciate it!

    Also, I still welcome any comments or ways I can improve it!
    Last edited by PJYelton; 04-19-2003 at 05:31 PM.

  2. #2
    Cheesy Poofs! PJYelton's Avatar
    Join Date
    Sep 2002
    Location
    Boulder
    Posts
    1,728
    Oops, forgot to post the files!

    Here they are:

  3. #3
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    looks good, i like it! heres my results. (level 9 is pretty chalenging)

    score = 4580
    level = 9 (starting from 5)

  4. #4
    Registered User SubLogic's Avatar
    Join Date
    Jan 2003
    Posts
    33
    Great Game! (Unfortunatelly, not like mine , mine's a lot worse.. lol.. Look for My First Game - Check It Out in Game Programming Forums to see, dont expect much, I'm just started).. Anyway, is that Windows API with BitBlt or what? (Don't have much time to look at the code)
    0100001

  5. #5
    Registered User
    Join Date
    Mar 2003
    Posts
    17
    very good i like it. one of the best ones ive seen. I just think u should make a better main menu.
    Drink Yer Wilk

  6. #6
    Used Registerer jdinger's Avatar
    Join Date
    Feb 2002
    Posts
    1,065
    Very nice. The only problem is I got caught playing it at work the other day...

  7. #7
    Cheesy Poofs! PJYelton's Avatar
    Join Date
    Sep 2002
    Location
    Boulder
    Posts
    1,728
    Its created using just Win32 programming, nothing else really. I didn't spend too much time on a main menu simply because I'm only a few chapters away from learning window menus and child windows and figured it would be pointless now to do a crappy looking keyboard controled menu when it will get upgraded soon.
    Very nice. The only problem is I got caught playing it at work the other day...
    Thats funny considering I got caught the other day at work making this game! Did you get in trouble?

  8. #8
    Registered User Grayson_Peddie's Avatar
    Join Date
    May 2002
    Posts
    96

    Unhappy Can't go over 99,999?

    Which programming language are you using?
    Have you tried different data types for a score variable (like int, long, etc.)?

  9. #9
    Cheesy Poofs! PJYelton's Avatar
    Join Date
    Sep 2002
    Location
    Boulder
    Posts
    1,728
    Thanks for the help. I figured out what my error was, it was quite stupid!

    It was because my TCHAR array just wasn't big enough to handle that many characters!

  10. #10
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    Good job.

    I'd like to rotate the pieces with VK_UP, to be able to control the game with the arrows only.

    Now enhance the UI a bit, make the main windows nicer and smaller and create an icon.
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  11. #11
    Registered User Grayson_Peddie's Avatar
    Join Date
    May 2002
    Posts
    96

    Talking

    Hey! No problem!

  12. #12
    Registered User
    Join Date
    Sep 2002
    Posts
    22
    that was awesome. awe inspiring.

    good job.

  13. #13
    Normal vector Carlos's Avatar
    Join Date
    Sep 2001
    Location
    Budapest
    Posts
    463
    Well done, PJYelton!
    Nice formatted code, clean coding style. You've got an "A"! :°)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Please comment on my c++ game
    By MegaManZZ in forum Game Programming
    Replies: 10
    Last Post: 01-22-2008, 11:03 AM
  2. craps game & dice game..
    By cgurl05 in forum C Programming
    Replies: 3
    Last Post: 03-25-2006, 07:58 PM
  3. HELP!wanting to make full screen game windowed
    By rented in forum Game Programming
    Replies: 3
    Last Post: 06-11-2004, 04:19 AM
  4. My Maze Game --- A Few Questions
    By TechWins in forum Game Programming
    Replies: 18
    Last Post: 04-24-2002, 11:00 PM
  5. tetris game
    By mrt in forum Game Programming
    Replies: 2
    Last Post: 04-08-2002, 10:01 AM