From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#56116: Feature: new Tetris randomizer Date: Tue, 21 Jun 2022 18:38:10 +0530 Message-ID: <87bkum88qt.fsf@gmail.com> References: <87o7ymz3ig.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11749"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 56116@debbugs.gnu.org, =?UTF-8?Q?Timoth=C3=A9e?= Denizou To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 21 15:13:58 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 1o3dhc-0002nI-2p for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Jun 2022 15:13:56 +0200 Original-Received: from localhost ([::1]:54114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3dhZ-00085H-FD for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Jun 2022 09:13:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57664) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3dcs-0000nE-P3 for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2022 09:09:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37292) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3dcs-0006qO-FZ for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2022 09:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o3dcs-0006h9-6H for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2022 09:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Jun 2022 13:09:02 +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.165581691925699 (code B ref 56116); Tue, 21 Jun 2022 13:09:02 +0000 Original-Received: (at 56116) by debbugs.gnu.org; 21 Jun 2022 13:08:39 +0000 Original-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 Original-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 Original-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) Original-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) In-Reply-To: <87o7ymz3ig.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 21 Jun 2022 12:59:03 +0200") 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:234963 Archived-At: [=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.