## Netris

Show off your games, demos and other (playable) creations.
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

### Netris

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
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!).
Last edited by bartbes on Thu May 14, 2009 2:49 pm, edited 2 times in total.

bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

### Re: Netris

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.

appleide
Party member
Posts: 323
Joined: Fri Jun 27, 2008 2:50 pm

### Re: Netris

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.

bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

### Re: Netris

Correct, actually is the classic gameplay. Link

Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

### Re: Netris

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.

bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

### Re: Netris

I know, look at the link again, that's the classic gameplay...

Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

### Re: Netris

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?

bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

### Re: Netris

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.

Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

### Re: Netris

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.

bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

### Re: Netris

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 )

### Who is online

Users browsing this forum: No registered users and 5 guests