Quote:
Originally Posted by
guesst
Glad you like the shadow. I'm really proud of it myself, except what do you mean large screen mode gives you an advantage? The game doesn't decide any but one in advance and should be drawing the screen in the middle of your play field? What you describe shouldn't even be possible.
Sorry, I should have been clearer. I was talking about the "next" blocks on the right-hand side of the screen. In a larger screen mode, you can see more of them.
Quote:
Many of your game play questions were totally intentional. Rotate causes the piece to "hang", insta-drop, and having a moment to slide pieces in before they cement are all in line with the modern "tournament" versions of Tetris.
Mm'kay, I just mentioned them because they're not in any tetris I've ever played, which is admittedly not very many. :)
Quote:
As far as using 100% of the CPU, I'm pretty sure that's me using a single main, no threads or anything. Know what, I'm not worried about it. Well, that and I don't know what to do about it.
A simple sleep(1) or something would probably fix this, but I don't know of a nice, portable way to do this. Maybe you could implement it with signals. Either way, it would be a bit complicated.
Quote:
Most of your code comments I'm gonna blow off. No offense, man, your previous comments were brilliant, but I just don't have another all nighter in me for a while, and I have other projects. The exceptions are going to be that wfillrect should not return a value, main should, and the colors. I took some liberties with the colors and while it works pretty good on my system it appears to have some ill effects on yours. Pieces should keep their colors after they've fallen, the messages should be visible, and what's that big black block in the middle of your screen. In short, there's been some errors going on. Gonna have to fix it. I may need an enum.
Yes, well, it could just be my system. If I remember correctly, which I may not, you can use up to 16 colours from ncurses, and only the first 8 are guaranteed to be the same across systems.
Quote:
I like your solution to the message things, and perhaps i can implement something like that, but probably not on this project. I am absolutely refusing another all nighter.
If you say so. :)
Well, good luck anyway. It's a very nice program, much better than my tetris.