Live data from Hacker News

First-person Tetris

firstpersontetris.com

81–85 of 85 posts

Re: First-person Tetris

#81
post #5

Darn, I was hoping for a perspective from the block itself looking down on the already placed blocks. Second-person tetris then? [on a side note, I really need to learn how to game the front page. 2 year old, minute twist on 30 year old game -> front page. write a new game from scratch -> dustbin]

It wouldn't be too hard to implement your 1st person tetris because once you rotate to the left, right and upward, simply paint the user a blank screen because the block can no longer see anything. :D

Once the block gets low enough, there might be things visible even while facing sideways or up:

  X        X
  XO       X
  XO     OOX
  XO     OOX
  XO  oo  OX
  XO  oo  OX
  XO      OX
  XO      OX
  XXXXXXXXXX

Re: First-person Tetris

#82
post #49

Earlier quoted context omitted.

Nice job, though if I'm completely honest, I found that version quite easy compared to the Hatris.

Yeah. As I said, I tweaked it. The breakdown for statistics on pieces given is (I believe) in the text. It doesn't give you the worst piece always as that's not fun. Even so, it's still not fun. :)

I beg to differ. I thought the difficulty was just right. But then I was a child of the 80s so grew up on Tetris.

Re: First-person Tetris

#83
post #5

Darn, I was hoping for a perspective from the block itself looking down on the already placed blocks. Second-person tetris then? [on a side note, I really need to learn how to game the front page. 2 year old, minute twist on 30 year old game -> front page. write a new game from scratch -> dustbin]

Pretty simple, really. (The following is fairly cynical, and a hyperbole. Most of it isn't actually good advice, but I've seen all of these methods work). Try to post when the post the the bottom of /newest is close to an hour old. Avoid posting during times of big events (e.g.: not when Google kills off Google Reader). Have a linkbait title. Don't worry, it gets edited by friendly neighborhood moderators later, so y…

Regarding memoization techniques in Haskell, do you have a link? I once tried to implement hashlife in Haskell and got stuck on how to do the memoization and garbage collection. Perhaps I should have just used weak pointers everywhere and relied on the language runtime...

Re: First-person Tetris

#84
post #83

Earlier quoted context omitted.

Pretty simple, really. (The following is fairly cynical, and a hyperbole. Most of it isn't actually good advice, but I've seen all of these methods work). Try to post when the post the the bottom of /newest is close to an hour old. Avoid posting during times of big events (e.g.: not when Google kills off Google Reader). Have a linkbait title. Don't worry, it gets edited by friendly neighborhood moderators later, so y…

Regarding memoization techniques in Haskell, do you have a link? I once tried to implement hashlife in Haskell and got stuck on how to do the memoization and garbage collection. Perhaps I should have just used weak pointers everywhere and relied on the language runtime...

maybe http://scholar.google.com/scholar?hl=en&q=+%22haskell+me...

or: http://www.doc.ic.ac.uk/~amc4/Papers/thesis.pdf

Re: First-person Tetris

#85
post #84
post #83

Earlier quoted context omitted.

Regarding memoization techniques in Haskell, do you have a link? I once tried to implement hashlife in Haskell and got stuck on how to do the memoization and garbage collection. Perhaps I should have just used weak pointers everywhere and relied on the language runtime...

maybe http://scholar.google.com/scholar?hl=en&q=+%22haskell+me... or: http://www.doc.ic.ac.uk/~amc4/Papers/thesis.pdf

Looks like the second link is relevant, though I don't believe it was what I am remembering. I've got to start writing these things down...
Post reply on HN