After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 566546 - [PATCH] Implement aggressive block selection
[PATCH] Implement aggressive block selection
Status: RESOLVED FIXED
Product: gnome-games-superseded
Classification: Deprecated
Component: quadrapassel
2.25.x
Other All
: Normal normal
: gnome-2-28
Assigned To: Jason Clinton
GNOME Games maintainers
Depends on:
Blocks:
 
 
Reported: 2009-01-04 20:52 UTC by Lubomir Rintel
Modified: 2012-01-31 23:22 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
Adds "bastard" mode to gnometris (10.04 KB, text/plain)
2009-01-04 20:55 UTC, Lubomir Rintel
Details
Adds "bastard" mode to gnometris (patch against r8630) (9.99 KB, text/plain)
2009-02-02 07:22 UTC, Lubomir Rintel
Details
Adds "bastard" mode to gnometris (patch against r8824) (14.42 KB, text/plain)
2009-03-13 15:22 UTC, Lubomir Rintel
Details
Adds "bastard" mode to gnometris (patch against 3ebe4f7) (12.52 KB, text/plain)
2009-06-06 10:11 UTC, Lubomir Rintel
Details

Description Lubomir Rintel 2009-01-04 20:52:03 UTC
Please describe the problem:
Sometimes, gnometris is not evil enough. This patch adds mode which makes tetris play a very frustrating experience:

Subject: Gnometris is way TOO FRIENDLY
From: Lubomir Rintel <lkundrak@v3.sk>

This adds inpopular [1] "Bastard" mode to gnometris. The idea is to
annoy the user with intentionally unsuitable pieces. It also annoys
the user by displaying the most suitable piece instead of the next
to come.

In order to make it a bit fun, it is not that evil. It more-or-less
picks from three worst pieces giving the highest chance to the worst
one.

The idea comes from "bastet" [2], which stands for "Bastard Tetris".
This shares the algorithm, but no code.

[1] http://games.slashdot.org/games/05/04/24/1259241.shtml?tid=208&tid=106
[2] http://fph.altervista.org/prog/bastet.shtml

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Lubomir Rintel 2009-01-04 20:55:38 UTC
Created attachment 125749 [details]
Adds "bastard" mode to gnometris
Comment 2 Lubomir Rintel 2009-01-24 09:57:02 UTC
Ping?
Comment 3 Thomas Andersen 2009-01-24 16:24:19 UTC
We are past feature freeze for 2.26.

Jason, do we want this for 2.28? Seems like a fun idea to me.
Comment 4 Jason Clinton 2009-01-31 21:33:09 UTC
Target set for 2.28. Patch might need to be regenerated after merge of more clutter changes.
Comment 5 Lubomir Rintel 2009-02-02 07:22:06 UTC
Created attachment 127750 [details]
Adds "bastard" mode to gnometris (patch against r8630)

(In reply to comment #4)
> Target set for 2.28. Patch might need to be regenerated after merge of more
> clutter changes.

Done. I did not test the result yet since I run older GNOME desktop on my work laptop, but adapting the patch against 8630 was rather straightforward.
Comment 6 André Klapper 2009-02-05 18:42:26 UTC
I don't consider this a 2.28 blocker (looks more like enhancement to me), hence unsetting gnome target and setting target milestone.
Comment 7 Lubomir Rintel 2009-02-27 15:53:03 UTC
I'm not very familiar with the way features are added into Gnome -- is there something I can do to help getting this reviewed and eventually integrated?
Comment 8 Thomas Andersen 2009-02-27 16:06:27 UTC
We are not adding any new features, only bugfixes, until we release 2.26 on 18th March. Jason is doing a lot of changes to gnometris that might break your patch. Whay you can do is to keep the patch updated until we branch. (pinging us is a good idea too)
Comment 9 Lubomir Rintel 2009-03-13 15:22:08 UTC
Created attachment 130587 [details]
Adds "bastard" mode to gnometris (patch against r8824)

Patch updated for the actual source.

Note that the algorithm is duplicated in blockops.cpp and blockops-noclutter.cpp, as is the rest of the actual block selection logic. I could eventually split it to a separate file, but it would make little sense w/o getting rid of the rest of duplicated code. I suspect you may have plans to do something about it.
Comment 10 Lubomir Rintel 2009-04-02 14:27:55 UTC
*ping* *ping*

Hello!

Past the freeze now, I guess?
The attachment #130587 [details] patch still applies.
Comment 11 Lubomir Rintel 2009-04-07 10:59:47 UTC
(In reply to comment #8)
> (pinging us is a good idea too)

*Halooooo*
Comment 12 Thomas Andersen 2009-04-08 22:42:12 UTC
Sorry for the wait Lubomir. And thanks for pinging.

Jason is busy rewriting a lot of gnometris in clutter. The changes may conflict with your patch and that is why it has not been included yet. Hopefully the new gnometris will be ready and we will get to getting your work included.

Thanks for working on this!
Comment 13 Jason Clinton 2009-04-13 16:28:00 UTC
I will get this in hopefully soon. I should probably merge it in my private branch first. I'll update the bug when I merge.
Comment 14 Lubomir Rintel 2009-05-21 21:14:57 UTC
ping
Comment 15 Lubomir Rintel 2009-06-02 16:14:09 UTC
Any progress here?
Anything I can help with?
Comment 16 Lubomir Rintel 2009-06-06 10:11:33 UTC
Created attachment 136050 [details]
Adds "bastard" mode to gnometris (patch against 3ebe4f7)
Comment 17 Jason Clinton 2009-06-11 16:11:06 UTC
I'll merge this before the next devel. release. Thanks!
Comment 18 Jason Clinton 2009-06-15 23:33:08 UTC
Released in 2.27.3.
Comment 19 Robert Ancell 2012-01-31 23:22:44 UTC
This bug is being reassigned to the "quadrapassel" component so we can close the gnometris bugzilla component.  Apologies for the mass email!