From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Timoth=C3=A9e?= Denizou Newsgroups: gmane.emacs.bugs Subject: bug#56116: Feature: new Tetris randomizer Date: Tue, 21 Jun 2022 19:37:42 +0200 Message-ID: References: <87o7ymz3ig.fsf@gnus.org> <87bkum88qt.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000089db5e05e1f8ae8c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38290"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , 56116@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 21 20:33:26 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o3igo-0009hG-18 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Jun 2022 20:33:26 +0200 Original-Received: from localhost ([::1]:55980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3igm-0007Gk-SH for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Jun 2022 14:33:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46380) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3igP-0007FY-S4 for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2022 14:33:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39407) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3igP-0003kn-KL for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2022 14:33:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o3igP-0007W3-IC for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2022 14:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Timoth=C3=A9e?= Denizou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Jun 2022 18:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56116 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 56116-submit@debbugs.gnu.org id=B56116.165583632128781 (code B ref 56116); Tue, 21 Jun 2022 18:33:01 +0000 Original-Received: (at 56116) by debbugs.gnu.org; 21 Jun 2022 18:32:01 +0000 Original-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 Original-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 Original-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) In-Reply-To: <87bkum88qt.fsf@gmail.com> X-Mailman-Approved-At: Tue, 21 Jun 2022 14:31:57 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:234975 Archived-At: --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--