Page 1 of 2

Netris

Posted: Tue Apr 21, 2009 4:15 pm
by bartbes
A network-linked Tetris-clone.
Supports 3 online playing modes:
  • VS (get the highest score)
  • Co-op (take turns placing pieces)
  • Controller (one decides which pieces are spawned)

Max players: 8
Where is it?: http://github.com/bartbes/netris/tree/master
Downloads page: http://github.com/bartbes/netris/downloads
This is the stable branch, development branch is at http://github.com/bartbes/netris/tree/unstable

Status: Almost finished
I only have to add the last gamemode, can take a while.

Special thanks to Velosider Hosting Solutions for hosting the master server (for FREE!).

Re: Netris

Posted: Sat Apr 25, 2009 5:38 pm
by bartbes
Just wanted to tell you all progress is still being made, I'm currently waiting for a GUI before I can implement ServBrowser and actually do some online play. (all network code is untested now) But I nearly completed all networking functions, so it should just be bugfixing when the GUI is in.

Re: Netris

Posted: Mon Apr 27, 2009 1:57 am
by appleide
On the stable branch... When the bottom row is cleared the things on top doesn't fall 1 row down. ... It's possible to end up with the bottom row empty. So I ended up going higher and higher anyway even as Im clearing rows in the most optimal manner.

Re: Netris

Posted: Fri May 01, 2009 3:38 pm
by bartbes
Correct, actually is the classic gameplay. Link

Re: Netris

Posted: Sat May 02, 2009 6:36 am
by Robin
Nope, appleide is right. I tried it myself, and the blocks don't fall down. You are right the blocks are not supposed to fall down completely, but the line has to be removed.

Let me give an example (this is on a playing field that's four blocks wide:

Code: Select all

  #
  #
  #
  #

  .
# .#
##.#
##.#
# ##
You let the block above fall into the position where the dots are. With your tetris, the final result is:

Code: Select all

  #
# ##


# ##
I hope you see now what the problem is.

Re: Netris

Posted: Sat May 02, 2009 8:18 am
by bartbes
I know, look at the link again, that's the classic gameplay...

Re: Netris

Posted: Sat May 02, 2009 9:25 am
by Robin
No, I'm sorry, but the lines you clean should disappear, and in Netris, they don't. If the cleared lines don't disappear, how can you not lose after a short time?

Re: Netris

Posted: Sat May 02, 2009 9:29 am
by bartbes
Oh.. right, yes, I need to add a single loop to do that. Thanks for not giving up.

EDIT: Okay, while I was at it (and I was inspired by your idea) I added the 'new' behavior, so every line on top of the removed one is now lowered.
EDIT2: Just found out tags are listed at the download page, so anyone interested: download the package named 'Gravity'

Re: Netris

Posted: Sat May 02, 2009 10:22 am
by Robin
That's great... but it appears to be unstable. No more pieces appeared when I cleared two lines after each other using the power of gravity.

Re: Netris

Posted: Sat May 02, 2009 10:24 am
by bartbes
Probably because all pieces of the block were removed, but the engine didn't know that, so it didn't try to spawn new blocks, I'll fix that bug this afternoon. (and I thought it was stable :()