From unknown Sat Aug 16 16:11:06 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#56116 <56116@debbugs.gnu.org> To: bug#56116 <56116@debbugs.gnu.org> Subject: Status: Feature: new Tetris randomizer Reply-To: bug#56116 <56116@debbugs.gnu.org> Date: Sat, 16 Aug 2025 23:11:06 +0000 retitle 56116 Feature: new Tetris randomizer reassign 56116 emacs submitter 56116 Timoth=C3=A9e Denizou severity 56116 wishlist tag 56116 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 20 17:42:47 2022 Received: (at submit) by debbugs.gnu.org; 20 Jun 2022 21:42:47 +0000 Received: from localhost ([127.0.0.1]:58580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3PAV-0007ZV-Er for submit@debbugs.gnu.org; Mon, 20 Jun 2022 17:42:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:51032) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3P9l-0007Y4-MI for submit@debbugs.gnu.org; Mon, 20 Jun 2022 17:42:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3P9k-0001Vy-Pd for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2022 17:42:01 -0400 Received: from mail-qk1-x72f.google.com ([2607:f8b0:4864:20::72f]:38643) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3P9j-0002Bz-2i for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2022 17:42:00 -0400 Received: by mail-qk1-x72f.google.com with SMTP id a184so8753777qkg.5 for ; Mon, 20 Jun 2022 14:41:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=EFciDVPmuHXgmJ9nACfuQ6AELTKZ2t2eQcr/i1m0HFk=; b=VmqW7DBAM5BfGeliHTgdqUHcGyv7BM75L2TLR6ZbqNwcw88wUhRHTs0XprB1Feebu7 x5Qu1yAQrN+808ZHKxfKG10L9att9COqX+OJgwtq5+L3XIWRZIdiUwFJlRP0owzjwzVc jDlbp0GikCms2Jcg7UlKADoKRQZyiv9kdJPurCVE3sl4XZmwvx2frXRizUyMUoyNUaPY msBZ2IzStzkW1evai/rldZTYL0ehuch8IMdYnIkTlxh6/kCy9TJ06z3edbmbuDOAXP0C VCYFlY8jRglJWNOF9BA14X6Qs9hT4Y42uk1ov5LoenQXY3N4KFy7uYGW7S2D+Tb36HIN xAgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=EFciDVPmuHXgmJ9nACfuQ6AELTKZ2t2eQcr/i1m0HFk=; b=avmK7TUxJ/OR552StR5r+th1v8l45Qt7SvCn7pEjz5ackz1NuTsN/3aI+ujPG5xrnL UPuEZSStBM5NFnybMKzuJaNg4neXUJr+Z4kBEruCR1zyizbmoQTvncAf2pww9Ml0yEYJ vYCt+xiaxOB3yrLCuES2EU0TLQ05693CAhEZcHh8nt5RyrNYxCOU6OdnM8CJCs1j3Qfg hdM7CXud9FPdRyUsIZ2qq0KtYNyuQ9DC9+wvdoRCZvziJMB5SYzp6dvaHOH59etKyhnA IYdyun7s7UdYt+y8dOu3+yuihwR6joBTPKrphUZYJmd/68gh6RsZOo1PO/Ny0NxVwQfE GH/w== X-Gm-Message-State: AJIora9jmr5mD85YHKv7uB4whv/sQZer3vpgkkaqsT5KLbe/9NBShWhC 5eBaoGLTayj1U2suyHaGPvz0ubkd4Pf/olSKNgxwNx/1F0Y= X-Google-Smtp-Source: AGRyM1tf/PqaKfTUrKXn2nzYavnrpQR6aKnBJYWGmKxzGHeshZMgN6i+9HT9Utfv7FvBC8WHuTkwIy878f2i0bMmXmI= X-Received: by 2002:a05:620a:120d:b0:6a6:a5a8:3ced with SMTP id u13-20020a05620a120d00b006a6a5a83cedmr17084903qkj.755.1655761317605; Mon, 20 Jun 2022 14:41:57 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?Q?Timoth=C3=A9e_Denizou?= Date: Mon, 20 Jun 2022 23:41:42 +0200 Message-ID: Subject: Feature: new Tetris randomizer To: bug-gnu-emacs@gnu.org Content-Type: multipart/mixed; boundary="0000000000002b66db05e1e7f9e6" Received-SPF: pass client-ip=2607:f8b0:4864:20::72f; envelope-from=denizoutimothee@gmail.com; helo=mail-qk1-x72f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 20 Jun 2022 17:42:46 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --0000000000002b66db05e1e7f9e6 Content-Type: multipart/alternative; boundary="0000000000002b66d905e1e7f9e4" --0000000000002b66d905e1e7f9e4 Content-Type: text/plain; charset="UTF-8" Getting frustrated about having 4 time in a row the same tetromino ? Wait no further ! This patch implement the seven bag randomizer, pulling a piece out of the bag each time and filling the bag when it is empty. This allows for a more uniform distribution on small samples. At our school, we have plenty of time at the end of mcqs to play tetris in emacs and this was something I wanted to change for a bit. This is also my first contribution ever on an open source project. The code may not be well formatted. --0000000000002b66d905e1e7f9e4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Getting frustrated about having 4 time in a row the same t= etromino ?

Wait no further !

This patch implement the seven b= ag randomizer, pulling a piece out of
the bag each time and filling the = bag when it is empty. This allows for
a more uniform distribution on sma= ll samples.

At our school, we have plenty of time at the end of mcqs= to play tetris
in emacs and this was something I wanted to change for a= bit.

This is also my first contribution ever on an open source proj= ect.
The code may not be well formatted.
--0000000000002b66d905e1e7f9e4-- --0000000000002b66db05e1e7f9e6 Content-Type: application/octet-stream; name="0001-Feature-new-tetris-randomizer.patch" Content-Disposition: attachment; filename="0001-Feature-new-tetris-randomizer.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_l4n9evej0 RnJvbSAzYjViNTlhNjU0NjA2Y2UwYmQ2MzdmNjJjYmY3M2MzMTg1Yjc5ZTI5IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBUaW1vdGhlZSBEZW5pem91IDx0aW1vdGhlZS5kZW5pem91QGVw aXRhLmZyPgpEYXRlOiBNb24sIDIwIEp1biAyMDIyIDIzOjMzOjMyICswMjAwClN1YmplY3Q6IFtQ QVRDSF0gRmVhdHVyZSBuZXcgdGV0cmlzIHJhbmRvbWl6ZXIKCiogQWRkZWQgNyBiYWcgcmFuZG9t aXplciBmb3IgdGV0cmlzCiBBIHBpZWNlIGlzIHNlbGVjdGVkIGZyb20gdGhlIGJhZyBhbmQgcmVt b3ZlZCBlYWNoIHRpbWUgd2Ugd2FudCBhIHBpZWNlCiBXaGVuIHRoZSBiYWcgaXMgZW1wdHksIHJl ZmlsbCB0aGUgYmFnIHdpdGggdGhlIHNldmVuIHBpZWNlIGFuZCBzaHVmZmxlIGl0Ci0tLQogbGlz cC9wbGF5L3RldHJpcy5lbCB8IDE0ICsrKysrKysrKysrKystCiAxIGZpbGUgY2hhbmdlZCwgMTMg aW5zZXJ0aW9ucygrKSwgMSBkZWxldGlvbigtKQoKZGlmZiAtLWdpdCBhL2xpc3AvcGxheS90ZXRy aXMuZWwgYi9saXNwL3BsYXkvdGV0cmlzLmVsCmluZGV4IDhjZTI0NTNjNzUuLmQ4ODYyMjU5ZWQg MTAwNjQ0Ci0tLSBhL2xpc3AvcGxheS90ZXRyaXMuZWwKKysrIGIvbGlzcC9wbGF5L3RldHJpcy5l bApAQCAtMjMzLDYgKzIzMyw3IEBAIGVhY2ggb25lIG9mIGl0cyBmb3VyIGJsb2Nrcy4iKQogKGRl ZnZhci1sb2NhbCB0ZXRyaXMtcG9zLXggMCkKIChkZWZ2YXItbG9jYWwgdGV0cmlzLXBvcy15IDAp CiAoZGVmdmFyLWxvY2FsIHRldHJpcy1wYXVzZWQgbmlsKQorKGRlZnZhci1sb2NhbCB0ZXRyaXMt YmFnIG5pbCkKIAogOzsgOzs7Ozs7Ozs7Ozs7OyBrZXltYXBzIDs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7 Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7CiAKQEAgLTM0MSwxMCArMzQyLDIxIEBA IGVhY2ggb25lIG9mIGl0cyBmb3VyIGJsb2Nrcy4iKQogICAobGV0ICgocGVyaW9kICh0ZXRyaXMt Z2V0LXRpY2stcGVyaW9kKSkpCiAgICAgKGlmIHBlcmlvZCAoZ2FtZWdyaWQtc2V0LXRpbWVyIHBl cmlvZCkpKSkKIAorKGRlZnVuIHRldHJpcy1zaHVmZmxlIChzZXF1ZW5jZSkKKyAgKGxvb3AgZm9y IGkgZnJvbSAobGVuZ3RoIHNlcXVlbmNlKSBkb3dudG8gMiBkbworICAgIChyb3RhdGVmIChlbHQg c2VxdWVuY2UgKHJhbmRvbSBpKSkKKyAgICAgICAgICAgICAoZWx0IHNlcXVlbmNlICgxLSBpKSkp KQorICBzZXF1ZW5jZSkKKworKGRlZnVuIHRldHJpcy1zZXZlbi1iYWcgKCkKKyAgKHdoZW4gKG5v dCB0ZXRyaXMtYmFnKQorICAgIChzZXRxIHRldHJpcy1iYWcgKHRldHJpcy1zaHVmZmxlIChsaXN0 IDAgMSAyIDMgNCA1IDYpKSkpCisgIChwb3AgdGV0cmlzLWJhZykpCisKIChkZWZ1biB0ZXRyaXMt bmV3LXNoYXBlICgpCiAgIChzZXRxIHRldHJpcy1zaGFwZSB0ZXRyaXMtbmV4dC1zaGFwZSkKICAg KHNldHEgdGV0cmlzLXJvdCAwKQotICAoc2V0cSB0ZXRyaXMtbmV4dC1zaGFwZSAocmFuZG9tIDcp KQorICAoc2V0cSB0ZXRyaXMtbmV4dC1zaGFwZSAodGV0cmlzLXNldmVuLWJhZykpCiAgIChzZXRx IHRldHJpcy1wb3MteCAoLyAoLSB0ZXRyaXMtd2lkdGggKHRldHJpcy1zaGFwZS13aWR0aCkpIDIp KQogICAoc2V0cSB0ZXRyaXMtcG9zLXkgMCkKICAgKGlmICh0ZXRyaXMtdGVzdC1zaGFwZSkKLS0g CjIuMjUuMQoK --0000000000002b66db05e1e7f9e6-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 20 21:14:35 2022 Received: (at control) by debbugs.gnu.org; 21 Jun 2022 01:14:35 +0000 Received: from localhost ([127.0.0.1]:58637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3STT-0004HR-CQ for submit@debbugs.gnu.org; Mon, 20 Jun 2022 21:14:35 -0400 Received: from mail-pf1-f169.google.com ([209.85.210.169]:43661) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3STS-0004HC-6m for control@debbugs.gnu.org; Mon, 20 Jun 2022 21:14:34 -0400 Received: by mail-pf1-f169.google.com with SMTP id k127so6465596pfd.10 for ; Mon, 20 Jun 2022 18:14:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:date:message-id:subject:to; bh=MzAZcVWQUOQttIJ9aVqLVvonlQMAlJLjR0Y7AynC9fI=; b=t1qJ/PD3zdtTB//FbkJuynPXRMjmiTAGeZLDHf2/KNtk3RBmadocm9lKQVY0fG3Bhz D7uMG9cCz5atAP2OCkP8wDipcdAPEg8SiMW3EqqdrOfgAQS3tQvN8UbmCx9wT6V1Hgbz dlccZGGu+R4LxWDz7Pj2/mKLNJVCz85OLcMP/8g/UxUuucVmBtIuO+fQX1UkYVVFn9qN DIHuze/K0WlTohqtMIx9LVSxi0tzvzzLd35StgNLJa1uj8aI8fpHiZ4ujLWYbSaEdF3m oLJlAxb/ro2l3Xeco63PJDKmSo2DlvXszKozaNiN/o+CRmiVgl8lHK++6Yl2IfYn94nJ 3TYQ== X-Gm-Message-State: AJIora+9ezryQwvPjbC6V9ls5AiyQWaWaDBYzerQcccB0K6QfWDf4qDX 4VmL5FnDmZ3EkTW8MqTK5zfpeREmqNP1zkXUenK9W7Qh X-Google-Smtp-Source: AGRyM1tExXFEPKUEHyHiOJ9LclUhNqCLnAB8qT+vynqgScb30TMS3SVtQ7MlsORtWwhQIcx86UbRPtVMN8e0Y2d/pms= X-Received: by 2002:a63:7881:0:b0:40c:9f32:5eab with SMTP id t123-20020a637881000000b0040c9f325eabmr9778221pgc.592.1655774068230; Mon, 20 Jun 2022 18:14:28 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 20 Jun 2022 18:14:27 -0700 From: Stefan Kangas MIME-Version: 1.0 Date: Mon, 20 Jun 2022 18:14:27 -0700 Message-ID: Subject: control message for bug #56116 To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) severity 56116 wishlist quit From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 21 06:59:14 2022 Received: (at 56116) by debbugs.gnu.org; 21 Jun 2022 10:59:14 +0000 Received: from localhost ([127.0.0.1]:59211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3bbG-0000Zp-KT for submit@debbugs.gnu.org; Tue, 21 Jun 2022 06:59:14 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3bbF-0000ZZ-QL for 56116@debbugs.gnu.org; Tue, 21 Jun 2022 06:59:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ZsmVgdjs6EL8n6aMn37fUciW3VgMyLzYiQdbPpVF4CM=; b=SYH4PXNIxT0L4O88Mn5R8va1ZT RIUp7cV5zD/EkoH4YRGgbjcMqacWx1viUXH7VE9aqtBvJl6L2mY7JbbF2/6O/FaErErh751YxdSbP ODggOcFqwV3Zo27CQhUJgljq7xvHknLnBFTJUt0mBK117e9YHfFbVkbSWtuKP9thCNCc=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o3bb7-0004J5-0o; Tue, 21 Jun 2022 12:59:07 +0200 From: Lars Ingebrigtsen To: =?utf-8?Q?Timoth=C3=A9e?= Denizou Subject: Re: bug#56116: Feature: new Tetris randomizer References: X-Now-Playing: Depeche Mode's _A Broken Frame_: "See You" Date: Tue, 21 Jun 2022 12:59:03 +0200 In-Reply-To: (=?utf-8?Q?=22Timoth=C3=A9e?= Denizou"'s message of "Mon, 20 Jun 2022 23:41:42 +0200") Message-ID: <87o7ymz3ig.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Timothée Denizou writes: > Getting frustrated about having 4 time in a row the same tetromino ? > > Wait no further ! > > This patch implement the seven bag randomizer, pulling a piece out of > the bag each time and filling t [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56116 Cc: 56116@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Timoth=C3=A9e Denizou writes: > Getting frustrated about having 4 time in a row the same tetromino ? > > Wait no further ! > > This patch implement the seven bag randomizer, pulling a piece out of > the bag each time and filling the bag when it is empty. This allows for > a more uniform distribution on small samples. > > At our school, we have plenty of time at the end of mcqs to play tetris > in emacs and this was something I wanted to change for a bit. Thanks for the contribution. But this would change gameplay considerably -- in Tetris, you can get the same shape four times in a row, while with your change, that's no longer possible. I.e., it makes the game less random, so I'm not sure that would be a welcome change. (And you can predict which ones you'll be getting at the end of each seven piece cycle by counting a bit.) It might make sense to add it as an option, though. Any Tetris players here with an opinion? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 21 06:59:19 2022 Received: (at control) by debbugs.gnu.org; 21 Jun 2022 10:59:19 +0000 Received: from localhost ([127.0.0.1]:59214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3bbK-0000a4-Rm for submit@debbugs.gnu.org; Tue, 21 Jun 2022 06:59:18 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3bbJ-0000Ze-Bf for control@debbugs.gnu.org; Tue, 21 Jun 2022 06:59:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9dI/CzwSD1F4MEBpsiqwOmb5iBWCF0qXrFGRABhK16Y=; b=FlBmYV6CDLYFRm2ziaaZRMZcFq VjF4h2n82XcbXEkLLV5RaYSqIIIFdc/l6IRuu1qKLdY3ePvOCdIDwzjceoZQviJSyYZG4ADuq7s+d hkr/yFFU/yXsH8OqptWADpxwaCf/JiuTRAe01C1zNwho5+fm6522Jvy5pfu9eiA6BgVY=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o3bbB-0004JE-9y for control@debbugs.gnu.org; Tue, 21 Jun 2022 12:59:11 +0200 Date: Tue, 21 Jun 2022 12:59:08 +0200 Message-Id: <87mte6z3ib.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #56116 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 56116 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 56116 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 21 07:04:24 2022 Received: (at 56116) by debbugs.gnu.org; 21 Jun 2022 11:04:24 +0000 Received: from localhost ([127.0.0.1]:59235 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3bgG-0002uv-1A for submit@debbugs.gnu.org; Tue, 21 Jun 2022 07:04:24 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3bgB-0002uf-Mk for 56116@debbugs.gnu.org; Tue, 21 Jun 2022 07:04:22 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42362) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3bg6-0003EM-EM; Tue, 21 Jun 2022 07:04:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=nPHQHNvc6fw3rBip3dTTru2Y4L2mhVCe/KLJLtLSHK4=; b=eb1Hknzd9qPWTwMl7Kzg avLoJC7vnuSiJ7RBOBgu+2X+3PaEQnshSNCUIPjbejZAvjgx3zE8F5/dVE7EZl7MFiOP3Yh0afasn bQchprFJTFwMp0CAAW+CXwSc4Mwaz36MeaSLF5LWKt88u0iz9wDP3m7VdvAze5sIFKONSnxMNNX8N zYnkPZv+F1qx0dWhbE/E7quIg4j1JY5O789MJEf5/o2/a6fVFKwvtrIDpDaCKIyFesfmmszbpC4PV 1NepK0fe5emphcDHdbbwh0WSYA4IHSqRZuC0sv1qWCjqF5zfwzjGZv2E9RFtVkyLT1h/bUxOF1+AW DoP888nd9WCcrA==; Received: from [87.69.77.57] (port=3985 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3bg5-0003K1-V7; Tue, 21 Jun 2022 07:04:14 -0400 Date: Tue, 21 Jun 2022 14:04:01 +0300 Message-Id: <83bkuml1lq.fsf@gnu.org> From: Eli Zaretskii To: =?utf-8?Q?Timoth=C3=A9e?= Denizou In-Reply-To: (message from =?utf-8?Q?Timoth=C3=A9e?= Denizou on Mon, 20 Jun 2022 23:41:42 +0200) Subject: Re: bug#56116: Feature: new Tetris randomizer References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56116 Cc: 56116@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Timothée Denizou > Date: Mon, 20 Jun 2022 23:41:42 +0200 > > Getting frustrated about having 4 time in a row the same tetromino ? > > Wait no further ! > > This patch implement the seven bag randomizer, pulling a piece out of > the bag each time and filling the bag when it is empty. This allows for > a more uniform distribution on small samples. Thanks. A few comments below. > At our school, we have plenty of time at the end of mcqs to play tetris > in emacs and this was something I wanted to change for a bit. > > This is also my first contribution ever on an open source project. > The code may not be well formatted. This patch is small enough for us to accept it unconditionally, but if you plan on contributing in future, we'd need you to sign copyright assignment papers. If you're okay with that, I will send you the form to fill and the instructions to go with it. > Subject: [PATCH] Feature new tetris randomizer > > * Added 7 bag randomizer for tetris > A piece is selected from the bag and removed each time we want a piece > When the bag is empty, refill the bag with the seven piece and shuffle it Please use our conventions of formatting commit log messages like ChangeLog entries. You can find the details in the file CONTRIBUTE. The description enough is good, but maybe a better place for it would be a comment near the relevant code. > +(defun tetris-shuffle (sequence) > + (loop for i from (length sequence) downto 2 do > + (rotatef (elt sequence (random i)) > + (elt sequence (1- i)))) > + sequence) I guess you meant cl-rotatef? rotatef is unbound in "emacs -Q", even after I load tetris.el. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 21 09:08:39 2022 Received: (at 56116) by debbugs.gnu.org; 21 Jun 2022 13:08:39 +0000 Received: from localhost ([127.0.0.1]:59422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3dcV-0006gR-8n for submit@debbugs.gnu.org; Tue, 21 Jun 2022 09:08:39 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:42756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3dcS-0006gC-13 for 56116@debbugs.gnu.org; Tue, 21 Jun 2022 09:08:38 -0400 Received: by mail-pl1-f193.google.com with SMTP id f8so12467892plo.9 for <56116@debbugs.gnu.org>; Tue, 21 Jun 2022 06:08:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=hDc/f9cuoIy83W3ZSo+OfWALnWYPg7TZLixSA7zQePw=; b=dP9jVrjlh0I7aMibXkEHN5H1U9qS8aunlOO++uD2atsTn4JZJ/PMOI7M6yRHP6VxEH 4hJ5i2sWiNcYtegZ1DGPr8cQksViACzhxDO23+9Efnkrw8JYVmhzLyZfRJ/aTx+2k11o q+RWjrR/GLz6IBgnhJTlUbKI0X9aJXbC4huI6pqzOkseG1upHYsyubTgIlqNHGBinf6F D3g+32b7q4JxaKN/nSy/wDABV/oReR1YYHSUL9JrdY3vb9X7W2qh7LuWbyTJXpkM8Rqc q3xXqXRihE+/xWviS+vRMBqrxFFvH52m/UfKovBHm/Ez8MzTY0N5cBhtqh7XpB2ub2n3 MpvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=hDc/f9cuoIy83W3ZSo+OfWALnWYPg7TZLixSA7zQePw=; b=1Vdvd+0ocpbgE6scC4tJg6KA/9ffUlBtmCitQDmDimNZerm1yfYV16HuOfV3fyE8Uk WsIgVjequ+QjqnGf81ikxe9E3MfJEmZ28WjEXNzpicKGzHLBztpifOuUNF4CnGc1PU6o IFQvgBX8PLKT+9F0CAEZDx4wNFxD8ng8mZrU9AMQ2Objs7tVrmVLA5JeoYEkXaotGibL xTMPalkr1iMjvMZYY1JXAnP8BzpKinjlneFILpoWjzkH2mraCJy4QJPIS3V27Vmkks7w shSUkE3yXtZ8OULYf4euSzuti6SEj0BCT+QTwyEu0hKkXjykThviwT82kTHOPqI77NQ7 EKjg== X-Gm-Message-State: AJIora+w7RgvdOomLm1cyiNEbeU8GyLUkia8YGpBLV0XAVwo2B8RSLod dU64oDGps5hbi7T+iyj49pY= X-Google-Smtp-Source: AGRyM1tbe1Y89AgRXiiRDoW4XZ8GoTGtPlhdFTQ3vcqcPf4/9yT0Un8pGtuPYwqlzhfMpymsATVl/A== X-Received: by 2002:a17:903:22d0:b0:16a:3039:adc9 with SMTP id y16-20020a17090322d000b0016a3039adc9mr6328616plg.32.1655816910105; Tue, 21 Jun 2022 06:08:30 -0700 (PDT) Received: from localhost ([49.205.83.205]) by smtp.gmail.com with ESMTPSA id m18-20020a170902bb9200b0016a2a8cc4b4sm3478442pls.140.2022.06.21.06.08.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jun 2022 06:08:29 -0700 (PDT) From: Visuwesh To: Lars Ingebrigtsen Subject: Re: bug#56116: Feature: new Tetris randomizer References: <87o7ymz3ig.fsf@gnus.org> Date: Tue, 21 Jun 2022 18:38:10 +0530 In-Reply-To: <87o7ymz3ig.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 21 Jun 2022 12:59:03 +0200") Message-ID: <87bkum88qt.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: [செவ்வாய் ஜூன் 21, 2022] Lars Ingebrigtsen wrote: > Timothée Denizou writes: > >> Getting frustrated about having 4 time in a row the same tetromino ? >> >> Wait no further ! >> >> This patch implement the seven bag randomizer, pulling a piece out [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (visuweshm[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.214.193 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.214.193 listed in wl.mailspike.net] 1.5 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [49.205.83.205 listed in dnsbl.sorbs.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 56116 Cc: 56116@debbugs.gnu.org, =?utf-8?Q?Timoth=C3=A9e?= Denizou X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) [=E0=AE=9A=E0=AF=86=E0=AE=B5=E0=AF=8D=E0=AE=B5=E0=AE=BE=E0=AE=AF=E0=AF=8D = =E0=AE=9C=E0=AF=82=E0=AE=A9=E0=AF=8D 21, 2022] Lars Ingebrigtsen wrote: > Timoth=C3=A9e Denizou writes: > >> Getting frustrated about having 4 time in a row the same tetromino ? >> >> Wait no further ! >> >> This patch implement the seven bag randomizer, pulling a piece out of >> the bag each time and filling the bag when it is empty. This allows for >> a more uniform distribution on small samples. >> >> At our school, we have plenty of time at the end of mcqs to play tetris >> in emacs and this was something I wanted to change for a bit. > > Thanks for the contribution. But this would change gameplay > considerably -- in Tetris, you can get the same shape four times in a > row, while with your change, that's no longer possible. I.e., it makes > the game less random, so I'm not sure that would be a welcome change. > (And you can predict which ones you'll be getting at the end of each > seven piece cycle by counting a bit.) > > It might make sense to add it as an option, though. Any Tetris players > here with an opinion? Full disclaimer: I am only an occasional Tetris player, and I haven't played other Tetris implementations (nor the original), I quickly tried out one game with and without the patch, I think `random' makes the game more challenging to play. Part of the fun when playing this game, although very frustrating, is figuring out how to manage the playground when Emacs throws you the same block five times (especially the Zs!!) but the uniform distribution kills this aspect. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 21 14:32:01 2022 Received: (at 56116) by debbugs.gnu.org; 21 Jun 2022 18:32:01 +0000 Received: from localhost ([127.0.0.1]:33299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3ifN-0007Tx-QO for submit@debbugs.gnu.org; Tue, 21 Jun 2022 14:32:01 -0400 Received: from mail-qk1-f181.google.com ([209.85.222.181]:39805) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3hpF-0005yS-Np for 56116@debbugs.gnu.org; Tue, 21 Jun 2022 13:38:07 -0400 Received: by mail-qk1-f181.google.com with SMTP id 15so10664777qki.6 for <56116@debbugs.gnu.org>; Tue, 21 Jun 2022 10:38:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ExoAw3I+tO0Fbs7xNRqQoV2tUJaDt17vxJu03kqFjxY=; b=JsOGb68VY+kW8CCr2GjgClfDDyqP+KbNtp5R8AMRjTWhYPvgibC56jSSUmI2PTPOQR trnxkysy8DK1jAuo4qWXLPWSfqOA48SkVyiKxs6kRViME70wVTPt93TA4Yu82o789hiM gGKbZKEkF+o4a0JMKx/CL804wEw2hY3RdDKcTwtbKPP3n7endqA7bfWPqPNEtlL7wFKp RMPCjZuYI7c6zFG3+MObckHIvNcNe7Tm/8UlIUjez8Gai1B23gP/p0m/eLSYqXuSLJbI /M9GgJpn7l5o/UBg54Qb/5iagklV/ZXc+Wf0Rfe+qxOFDOZUOyo7uIIPBgsMaIEEuMlD 8V2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ExoAw3I+tO0Fbs7xNRqQoV2tUJaDt17vxJu03kqFjxY=; b=72Y0mkefxonbTSyTsF87j2OGzdOhSJZPp3sOGS03TwsKEqlkUzITZsV5FRXwcxjj5l KHO5x9LAIcMJI/KqtenYVpgTLRRWW3940papo6kdluzKk+hOtZqVGICgBtf3Fb9ASH9W rD6Tps58NkKI/+1BCiXA1YYO9SAq95FmGtd1+C4skdrkKNh4HO7EWsgXZhTva/Ne8ojo DKQB+i02c939idkR8OvhYJxjiLxdeH05u0tOqJKDT0z7nC4GYVULYCxffCGq7eIn9rOC Vm9xvgqLN2cDlSFCrcmgI11BoXrGUuQb9w04qlvw2TneKyciJJTJSbbOYzCRC7bG0FLz uNoQ== X-Gm-Message-State: AJIora+2WuAt7XsIySTNnN1Jl49pT56RBx3mnSkcq2eXxaOojsFEI+Ce Ma2Rl8Iu330XK63m5eTfvO9TjQksEGtvZhYMBOo= X-Google-Smtp-Source: AGRyM1vuRMw95MamULE3ACqsSsuLy9HnSfOaE+EtCXdiPjSDWiy3eU/uy36oIooCKWGfzeejBnUuo3eZ8Wf8BYQhwGY= X-Received: by 2002:a05:620a:120d:b0:6a6:a5a8:3ced with SMTP id u13-20020a05620a120d00b006a6a5a83cedmr19987133qkj.755.1655833079961; Tue, 21 Jun 2022 10:37:59 -0700 (PDT) MIME-Version: 1.0 References: <87o7ymz3ig.fsf@gnus.org> <87bkum88qt.fsf@gmail.com> In-Reply-To: <87bkum88qt.fsf@gmail.com> From: =?UTF-8?Q?Timoth=C3=A9e_Denizou?= Date: Tue, 21 Jun 2022 19:37:42 +0200 Message-ID: Subject: Re: bug#56116: Feature: new Tetris randomizer To: Visuwesh Content-Type: multipart/alternative; boundary="00000000000089db5e05e1f8ae8c" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56116 X-Mailman-Approved-At: Tue, 21 Jun 2022 14:31:57 -0400 Cc: Lars Ingebrigtsen , 56116@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --00000000000089db5e05e1f8ae8c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Le mar. 21 juin 2022 =C3=A0 13:04, Eli Zaretskii a =C3=A9cri= t : > This patch is small enough for us to accept it unconditionally, but if > you plan on contributing in future, we'd need you to sign copyright > assignment papers. If you're okay with that, I will send you the form > to fill and the instructions to go with it. I'm ok with that, do I need to provide an address ? One of my friend worked on XBoard and signed his papers at our School located 14-16 Rue Voltaire, 94270 Le Kremlin-Bicetre. If you need to send any, this is the address. > I guess you meant cl-rotatef? rotatef is unbound in "emacs -Q", even > after I load tetris.el. Yes cl-rotatef is the one. > Please use our conventions of formatting commit log messages like > ChangeLog entries. You can find the details in the file CONTRIBUTE. Thanks for the guiding. Should I remake the patch in order to comply ? Le mar. 21 juin 2022 =C3=A0 12:59, Lars Ingebrigtsen a =C3= =A9crit : > It might make sense to add it as an option, though. Any Tetris players > here with an opinion? That is a good idea Le mar. 21 juin 2022 =C3=A0 15:08, Visuwesh a =C3=A9c= rit : > I think `random' makes the game > more challenging to play. Part of the fun when playing this game, > although very frustrating, is figuring out how to manage the playground > when Emacs throws you the same block five times (especially the Zs!!) > but the uniform distribution kills this aspect. Random definitely makes the game harder but it also makes it more frustrating. Modern tetris implementations (Tetris 99 and Tetris Effect) both use the 7-bag randomizer, as well as a 'hold' cell and a preview of respectively 6 and 4 pieces. While this definitely reduce difficulty in a sens, it definitely adds fluidity and speed, as well as a more competitive aspect to it. Scores can get much higher as well. I propose this change mostly in this purpose (fun, speed and competition) but I understand the more 'retro' style like the original game or the NES version. --00000000000089db5e05e1f8ae8c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


> Please use our conventions of formatting commit log messages l= ike
> ChangeLog entries.=C2=A0 You can find the details in the file C= ONTRIBUTE.

Thanks for the guiding. Should I re= make the patch in order to comply ?

> I= t might make sense to add it as an option, though.=C2=A0 Any Tetris players=
> here with an opinion?

That is a good = idea

Le=C2=A0mar. 21 juin 2022 =C3=A0=C2=A015:08, Visuwesh <visuweshm@gmail.com> a =C3=A9crit=C2=A0:
=C2=A0> I think `random' m= akes the game
> more challeng= ing to play.=C2=A0 Part of the fun when playing this game,
> although very frustrating, is figuring out = how to manage the playground
>= ; when Emacs throws you the same block five times (especially the Zs!!)
> but the uniform distribution k= ills this aspect.

Random definitely makes the game harder but it also m= akes it more
frustrating.
Modern tetris implementations (Tetris 99 and Tetris Effect) bo= th
use the 7-bag randomizer, as well as a &#= 39;hold' cell and a preview of
respectiv= ely 6 and 4 pieces.
While this definitely re= duce difficulty in a sens, it definitely adds fluidity
and speed, as well as a more competitive aspect to it. Scores ca= n get
much higher as well.

I propose this change m= ostly in this purpose (fun, speed and
compet= ition) but I understand the more 'retro' style like the original
game or the NES version.
--00000000000089db5e05e1f8ae8c-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 21 15:51:40 2022 Received: (at 56116) by debbugs.gnu.org; 21 Jun 2022 19:51:40 +0000 Received: from localhost ([127.0.0.1]:33388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3juW-0001DS-AA for submit@debbugs.gnu.org; Tue, 21 Jun 2022 15:51:40 -0400 Received: from quimby.gnus.org ([95.216.78.240]:47980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3juU-0001DD-Lh for 56116@debbugs.gnu.org; Tue, 21 Jun 2022 15:51:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=swlNW46GcR+8PdF78pCTzYBuFwp1s0QbR1vgx1gXvfU=; b=TNaQklhMaqaefW4CZ4zQcLgFoO 76oly8g4fudscjQ+79Yuu73V5WJMaNN4VJDgDz1qzCynQ46a+wTJwS6+aEGtySyteMHclyfypciJU PWM1RitbAT6DFeMoTp8n/+5/PXprbHQ3tV2PreJ1LtTHZdaz8PvvL+ZoRBZ4NwwQZhbY=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o3juM-0000Md-3N; Tue, 21 Jun 2022 21:51:32 +0200 From: Lars Ingebrigtsen To: =?utf-8?Q?Timoth=C3=A9e?= Denizou Subject: Re: bug#56116: Feature: new Tetris randomizer References: <87o7ymz3ig.fsf@gnus.org> <87bkum88qt.fsf@gmail.com> X-Now-Playing: Patti Smith's _Horses_: "Redondo Beach" Date: Tue, 21 Jun 2022 21:51:27 +0200 In-Reply-To: (=?utf-8?Q?=22Timoth=C3=A9e?= Denizou"'s message of "Tue, 21 Jun 2022 19:37:42 +0200") Message-ID: <875yktx0ao.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Timothée Denizou writes: > Modern tetris implementations (Tetris 99 and Tetris Effect) both > use the 7-bag randomizer, as well as a 'hold' cell and a preview of > respectively 6 and 4 pieces. > While this definitely reduce d [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56116 Cc: 56116@debbugs.gnu.org, Visuwesh X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Timoth=C3=A9e Denizou writes: > Modern tetris implementations (Tetris 99 and Tetris Effect) both > use the 7-bag randomizer, as well as a 'hold' cell and a preview of > respectively 6 and 4 pieces. > While this definitely reduce difficulty in a sens, it definitely adds flu= idity > and speed, as well as a more competitive aspect to it. Scores can get > much higher as well. Makes sense, but I can see people wanting both versions. So I've pushed your patch (with some changes) to Emacs 29, guarded by a new user option, tetris-allow-repetitions. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 21 15:52:30 2022 Received: (at control) by debbugs.gnu.org; 21 Jun 2022 19:52:30 +0000 Received: from localhost ([127.0.0.1]:33395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3jvK-0001FG-9t for submit@debbugs.gnu.org; Tue, 21 Jun 2022 15:52:30 -0400 Received: from quimby.gnus.org ([95.216.78.240]:47996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3jvI-0001Eq-Lk for control@debbugs.gnu.org; Tue, 21 Jun 2022 15:52:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=8YheHRmB0V2wbzuew0EqbyGZAP2cTH6exJ2k0NOLQEI=; b=BDpqRrEXENP3rR30/MelbxTipr dG9OChINkfGvKugL889qfU5dt3LBXfZAoBBaaGGsZRrBMSXNogoRj+bhHDexDQwNnzshjRJRuZzZj QVUmMPKzIsIG0Xf94nrnmsamo11fsRp8ULVryq0Aui6gc1Ld+2Bz//ejyGSGqt1J0NI0=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o3jvA-0000N2-Mu for control@debbugs.gnu.org; Tue, 21 Jun 2022 21:52:22 +0200 Date: Tue, 21 Jun 2022 21:52:18 +0200 Message-Id: <874k0dx099.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #56116 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 56116 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 56116 29.1 quit From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 21 20:00:55 2022 Received: (at 56116) by debbugs.gnu.org; 22 Jun 2022 00:00:55 +0000 Received: from localhost ([127.0.0.1]:33550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3nnh-0001j0-VO for submit@debbugs.gnu.org; Tue, 21 Jun 2022 20:00:55 -0400 Received: from mail-qk1-f179.google.com ([209.85.222.179]:42989) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3kgd-0004fZ-3W for 56116@debbugs.gnu.org; Tue, 21 Jun 2022 16:41:26 -0400 Received: by mail-qk1-f179.google.com with SMTP id k10so239287qke.9 for <56116@debbugs.gnu.org>; Tue, 21 Jun 2022 13:41:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=byA+Maw9zeRMEV0S+mDJT1qeshsSX++gk+JHHesTYuU=; b=FDhUfcBjnE0H7gKpYjaB1J88H0ToTr+nL4J/JY0impc2lwsBSmTG1eEvWXkaI88ctx ED4p4zW4Yi8bTPTQHSUU8yFXRXm4CartaUOTJeV5K0Q5UKHvdDc2ngtq90WvPwDNSeVs gQvMJwvfHI8guhoIDHvS1tkwcR9pqrJ4J2SmSIKtzQt9+LLBF/Fdmie1xyx1tsVRBMEg HG5qM0xWoJIhr5igmFd5UYaryrVE9ZzSUIkH2+y6FAoRmq7sCnQYgM6Tl+L/LVJ6ua0O IljHXkW73HOE/S+J0PUEsb6DhYg/xeW/bqwq9PZ51QkhcWAnZgbSCuZ7Fkj2w4VZ4xMt dovA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=byA+Maw9zeRMEV0S+mDJT1qeshsSX++gk+JHHesTYuU=; b=ohqrzRIWxh+wadg+DEXiqbiOlvVQIJdEeio5q1PRznSoexRek3mzQBwT/XI4N5g65S E5OJEO4IJ1eoHm72A8F5ybPhim1r3/NkYK2mjzinfRWyNBGOV6QGcnI5roelXk6DaHEB uN/aftzaGM66M9jlzu7xt9tGcNC4hEP7lK0M2AgsuyN2GlT4A03kY1/Lt2VBcahOrfsV oKyLUsbFyp2fZtU/uFQZRNVVbmKhnCnwXWbIcMnDa5OT9voi+OmmoAksN5JbsVY423ie oKkWPyweyTYGRBEpZlbu5g8lAIjkGgJ9k/fbpGSq/KPghmoGzrQ+WkjIuUqhVloNlNso y1gg== X-Gm-Message-State: AJIora8jGM5Xm7TtyeKypdImtf07lpU1Eii0md7xMiUiQgB56AB0gQ0H R5dq4gKrFllZGx+M2wB7XeLr19HFpu4hT15CZ/A= X-Google-Smtp-Source: AGRyM1seDJZdWHPwLzL2VHcDzPjgESAYe5XvOi7jeip4x7rUbPo6MGoRijbbeVxPHt+iJO7rU6QaQzlyDjWj44ww+fk= X-Received: by 2002:a05:620a:4591:b0:6a7:5a82:3d2d with SMTP id bp17-20020a05620a459100b006a75a823d2dmr21552047qkb.694.1655844077450; Tue, 21 Jun 2022 13:41:17 -0700 (PDT) MIME-Version: 1.0 References: <87o7ymz3ig.fsf@gnus.org> <87bkum88qt.fsf@gmail.com> <875yktx0ao.fsf@gnus.org> In-Reply-To: <875yktx0ao.fsf@gnus.org> From: =?UTF-8?Q?Timoth=C3=A9e_Denizou?= Date: Tue, 21 Jun 2022 22:40:59 +0200 Message-ID: Subject: Re: bug#56116: Feature: new Tetris randomizer To: Lars Ingebrigtsen Content-Type: multipart/alternative; boundary="0000000000000a3dc705e1fb3eab" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56116 X-Mailman-Approved-At: Tue, 21 Jun 2022 20:00:53 -0400 Cc: 56116@debbugs.gnu.org, Visuwesh X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000000a3dc705e1fb3eab Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you very much ! Le mar. 21 juin 2022 =C3=A0 21:51, Lars Ingebrigtsen a =C3= =A9crit : > Timoth=C3=A9e Denizou writes: > > > Modern tetris implementations (Tetris 99 and Tetris Effect) both > > use the 7-bag randomizer, as well as a 'hold' cell and a preview of > > respectively 6 and 4 pieces. > > While this definitely reduce difficulty in a sens, it definitely adds > fluidity > > and speed, as well as a more competitive aspect to it. Scores can get > > much higher as well. > > Makes sense, but I can see people wanting both versions. So I've pushed > your patch (with some changes) to Emacs 29, guarded by a new user > option, tetris-allow-repetitions. > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no > --0000000000000a3dc705e1fb3eab Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you very much !

=
Le=C2=A0mar. 21 juin 2022 =C3=A0=C2= =A021:51, Lars Ingebrigtsen <larsi@gnu= s.org> a =C3=A9crit=C2=A0:
Timoth=C3=A9e Denizou <denizoutimothee@gmail.com> writes:
> Modern tetris implementations (Tetris 99 and Tetris Effect) both
> use the 7-bag randomizer, as well as a 'hold' cell and a previ= ew of
> respectively 6 and 4 pieces.
> While this definitely reduce difficulty in a sens, it definitely adds = fluidity
> and speed, as well as a more competitive aspect to it. Scores can get<= br> > much higher as well.

Makes sense, but I can see people wanting both versions.=C2=A0 So I've = pushed
your patch (with some changes) to Emacs 29, guarded by a new user
option, tetris-allow-repetitions.

--
(domestic pets only, the antidote for overdose, milk.)
=C2=A0 =C2=A0bloggy blog: http://lars.ingebrigtsen.no
--0000000000000a3dc705e1fb3eab-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 21 22:25:34 2022 Received: (at 56116) by debbugs.gnu.org; 22 Jun 2022 02:25:34 +0000 Received: from localhost ([127.0.0.1]:33615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3q3i-0005Vh-KL for submit@debbugs.gnu.org; Tue, 21 Jun 2022 22:25:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3q3h-0005VV-2n for 56116@debbugs.gnu.org; Tue, 21 Jun 2022 22:25:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:32860) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3q3b-0005kO-LS; Tue, 21 Jun 2022 22:25:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=q0jAWO3gz1LVuPYGJv5b2wD0UNI3PBHfSIRRniXb7p4=; b=T3bv9zysLM6bEV8nv3u1 +Uf+MHxHbo9I1hEbs79z1gmJUKQsgreKmnV+c4DHlXYZ/8H8eemxF5VMeL5ohZnP0ZvXR2ufH3FyZ yNEZzR9WoqLQn5gq5Rf87OMTf5EOT4TXhaQ3dyNbNFi7kTprhOPQfOsqeHaUMzLhAwEjSg2ehnwcr WbJnS0h+sjkvkc0HTFvXjzBm9644iZW+DmK5kYmz8Y1Ya0X0M5w3JR3N3erHNzpm43Usn3IzoVCOr k0m8rjBUoAg8Ha2NvVQ5l+JVT7KfjUbpXghqSutc6H8J6WiFcpDwwkPltl/8wMOBCIAgNZX1r7Zju SPOXsXolZnLVzA==; Received: from [87.69.77.57] (port=1083 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3q3b-0006M4-4a; Tue, 21 Jun 2022 22:25:27 -0400 Date: Wed, 22 Jun 2022 05:25:17 +0300 Message-Id: <83o7yljuya.fsf@gnu.org> From: Eli Zaretskii To: =?utf-8?Q?Timoth=C3=A9e?= Denizou In-Reply-To: (message from =?utf-8?Q?Timoth=C3=A9e?= Denizou on Tue, 21 Jun 2022 19:37:42 +0200) Subject: Re: bug#56116: Feature: new Tetris randomizer References: <87o7ymz3ig.fsf@gnus.org> <87bkum88qt.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56116 Cc: larsi@gnus.org, 56116@debbugs.gnu.org, visuweshm@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: Lars Ingebrigtsen , 56116@debbugs.gnu.org > From: Timothée Denizou > Date: Tue, 21 Jun 2022 19:37:42 +0200 > > Le mar. 21 juin 2022 à 13:04, Eli Zaretskii a écrit : > > This patch is small enough for us to accept it unconditionally, but if > > you plan on contributing in future, we'd need you to sign copyright > > assignment papers. If you're okay with that, I will send you the form > > to fill and the instructions to go with it. > > I'm ok with that, do I need to provide an address ? One of my friend > worked on XBoard and signed his papers at our School located > 14-16 Rue Voltaire, 94270 Le Kremlin-Bicetre. If you need to send any, > this is the address. Thanks, form sent off-list. From unknown Sat Aug 16 16:11:06 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 20 Jul 2022 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator