Netris

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

Netris

Post 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!).
Last edited by bartbes on Thu May 14, 2009 2:49 pm, edited 2 times in total.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Netris

Post 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.
User avatar
appleide
Party member
Posts: 323
Joined: Fri Jun 27, 2008 2:50 pm

Re: Netris

Post 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.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Netris

Post by bartbes »

Correct, actually is the classic gameplay. Link
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Netris

Post 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.
Help us help you: attach a .love.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Netris

Post by bartbes »

I know, look at the link again, that's the classic gameplay...
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Netris

Post 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?
Help us help you: attach a .love.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Netris

Post 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'
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Netris

Post 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.
Help us help you: attach a .love.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Netris

Post 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 :()
Post Reply

Who is online

Users browsing this forum: Amazon [Bot] and 7 guests