News for hackers. Stuff that matters.
Re:After 34 Years, Someone Beat Tetris [video] by TheRoque on Tuesday January 02, 2024 @11:51AM (#38843729)
Some old games are infinite, and don't have a proper end, then can roll infinitely. So as a result, you can play as long as you wish, until you reach the hardware limits, which is called the kill screen, and might be the closest thing to "finishing" a game when it's infinite.
Re:After 34 Years, Someone Beat Tetris [video] by refulgentis on Tuesday January 02, 2024 @02:11PM (#38845663)
I don't understand, what hardware limit?
Re:After 34 Years, Someone Beat Tetris [video] by ndiddy on Tuesday January 02, 2024 @03:29PM (#38846747)
In this case, the hardware limit is CPU time. NES Tetris will give you more points for clearing lines the higher the level is. For example, on level 0 clearing one line gives you 40 points but on level 9 clearing one line gives you 400 points. This is implemented in the code by adding the base number of points to the score in a loop where the counter is the level number: https://github.com/CelestialAmber/TetrisNESDisasm/blob/2bd89... NES Tetris is written with the assumption that its main game code won't run for more than one frame. When the player reaches a high enough level the "add score for cleared lines" code will take too long, and the processor will get interrupted for the start of the next frame while it's still adding the score. This causes the game to crash.
Re:After 34 Years, Someone Beat Tetris [video] by bkazez on Wednesday January 03, 2024 @02:40PM (#38858778)
Why do they use a loop - does the 6502 not have a multiply instruction?
Re:After 34 Years, Someone Beat Tetris [video] by dehugger on Wednesday January 03, 2024 @02:58PM (#38858998)
My non-expert googling suggests that there is indeed no multiply instruction for the 6502.

https://www.masswerk.at/6502/6502_instruction_set.html

Re:After 34 Years, Someone Beat Tetris [video] by TheRoque on Tuesday January 02, 2024 @02:15PM (#38845716)
Memory. Past a certain point, the numbers can become so high (score, level or other) that it corrupts the memory and freezes the game
Re:After 34 Years, Someone Beat Tetris [video] by yakshaving_jgt on Tuesday January 02, 2024 @02:44PM (#38846110)
The Tony Hawk's Pro Skater games can crash this way. If you cheat and enable perfect balance, then you can grind infinitely on a circular rail and eventually the score is so high it crashes the game.
Re:After 34 Years, Someone Beat Tetris [video] by dpkonofa on Tuesday January 02, 2024 @04:07PM (#38847181)
That’s what I think makes the Tetris feat so incredible. There’s no cheating needed. This is being done on the base game after something like 40 years.