Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

!07/11 PDP a ni deppart m'I !pleH


devel / alt.lang.asm / Re: Minesweeper in 256 bytes

SubjectAuthor
* Minesweeper in 256 bytesKerr-Mudd, John
`* Re: Minesweeper in 256 bytesRick C. Hodgin
 `- Re: Minesweeper in 256 bytesKerr-Mudd, John

1
Minesweeper in 256 bytes

<20210529210255.4dc2276cee9031532c08625d@127.0.0.1>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=138&group=alt.lang.asm#138

 copy link   Newsgroups: alt.lang.asm
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: adm...@127.0.0.1 (Kerr-Mudd, John)
Newsgroups: alt.lang.asm
Subject: Minesweeper in 256 bytes
Date: Sat, 29 May 2021 21:02:55 +0100
Organization: Dis
Lines: 32
Message-ID: <20210529210255.4dc2276cee9031532c08625d@127.0.0.1>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="402fa93579a5317b3e36ce71ad816c2d";
logging-data="9077"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/vm+AIPHax+QtJnI6BsKWschqw4CzHTag="
Cancel-Lock: sha1:YlBSD0HlKCsGgtvQ6JUIj7BGVg8=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
X-no-Archive: Maybe
 by: Kerr-Mudd, John - Sat, 29 May 2021 20:02 UTC

Dos prog; needs BIOS int 10, int 16; colour text, video @B800, more mem &BA00.

Cursor keys to move erm the cursor, Enter to tread on a "square", Space key to toggle marking as a mine, Esc to baleout. The "Random" mine generator is very poor.
I would like to have allowed "?" as per MS WinMine & shown an exploded mine on bad move, but that version was 267 bytes.

grdb dump:

-> d 100 l100
16A2:0100 B8 03 B8 50-B4 BA 50 98-99 CD 10 1F-07 BD 1C 02 ...P..P.........
16A2:0110 E8 6F 00 BA-23 0D BF 36-08 B4 02 CD-10 98 CD 16 .o..#..6........
16A2:0120 88 E0 3C 39-75 16 26 8A-05 B9 23 70-3C 21 74 07 ..<9u.&...#p<!t.
16A2:0130 B9 21 7C 3C-23 75 E6 26-89 0D EB E1-3C 4B 75 08 .!|<#u.&....<Ku.
16A2:0140 80 FA 16 74-D8 4A 4F 4F-3C 4D 75 07-80 FA 30 74 ...t.JOO<Mu...0t
16A2:0150 CC 42 AF B9-A0 00 3C 48-75 09 80 FE-03 74 BE FE .B....<Hu....t..
16A2:0160 CE 29 CF 3C-50 75 09 80-FE 16 74 B1-FE C6 01 CF .).<Pu....t.....
16A2:0170 3C 01 74 0E-3C 1C 75 A1-80 3D 2A 73-05 E8 49 00 <.t.<.u..=*s..I.
16A2:0180 75 97 BF DC-01 B1 14 B5-1B 50 08 F6-74 14 8B 05 u........P..t...
16A2:0190 3C 2A B0 2A-73 1D B8 58-7B 26 80 3D-21 74 14 AF <*.*s..X{&.=!t..
16A2:01A0 EB 12 E4 40-24 46 75 08-4D E8 2E 00-C7 05 2A 7C ...@$Fu.M.....*|
16A2:01B0 B8 23 70 AB-58 FE CD 75-D0 83 C7 6A-E2 C9 C3 88 .#p.X..u...j....
16A2:01C0 C4 0D 30 70-26 89 05 4D-C3 26 80 3D-23 75 F9 8B ..0p&..M.&.=#u..
16A2:01D0 05 3C 20 75-EA E8 EC FF-74 EE 51 57-B1 03 81 EF .< u....t.QW....
16A2:01E0 A2 00 B5 03-08 F6 74 05-E8 DE FF 74-0D FE 05 AF ......t....t....
16A2:01F0 FE CD 75 F0-81 C7 9A 00-E2 E8 5F 59-C3 00 00 00 ..u......._Y....

--
Bah, and indeed Humbug.

Re: Minesweeper in 256 bytes

<20210602120930.16582a46@rick-hp>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=139&group=alt.lang.asm#139

 copy link   Newsgroups: alt.lang.asm
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: rick.c.h...@gmail.com (Rick C. Hodgin)
Newsgroups: alt.lang.asm
Subject: Re: Minesweeper in 256 bytes
Date: Wed, 2 Jun 2021 12:09:30 -0400
Organization: LibSF
Lines: 24
Message-ID: <20210602120930.16582a46@rick-hp>
References: <20210529210255.4dc2276cee9031532c08625d@127.0.0.1>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="fa36a0b5cd3db05fdd8e3d79d1b7a336";
logging-data="22495"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19xKRpx2wkPfhqpak4d27+8R2Une6PLROg="
Cancel-Lock: sha1:PyBAahIM30SqTdRh6pdmzZ+H0u8=
X-Newsreader: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
 by: Rick C. Hodgin - Wed, 2 Jun 2021 16:09 UTC

On Sat, 29 May 2021 21:02:55 +0100
"Kerr-Mudd, John" <admin@127.0.0.1> wrote:

> Dos prog; needs BIOS int 10, int 16; colour text, video @B800, more
> mem &BA00.
>
> Cursor keys to move erm the cursor, Enter to tread on a "square",
> Space key to toggle marking as a mine, Esc to baleout. The "Random"
> mine generator is very poor. I would like to have allowed "?" as per
> MS WinMine & shown an exploded mine on bad move, but that version was
> 267 bytes.

I came across this interesting video the other day:

Tetris in Assembler:
https://www.youtube.com/watch?v=rUDq1BrKYoQ

It shows the code on-screen with blocks graphically connected. Was
fairly impressed with the graphical representation.

--
Rick C. Hodgin

Re: Minesweeper in 256 bytes

<20210604160107.56feb84389264ca864264ab8@127.0.0.1>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=141&group=alt.lang.asm#141

 copy link   Newsgroups: alt.lang.asm
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: adm...@127.0.0.1 (Kerr-Mudd, John)
Newsgroups: alt.lang.asm
Subject: Re: Minesweeper in 256 bytes
Date: Fri, 4 Jun 2021 16:01:07 +0100
Organization: Dis
Lines: 36
Message-ID: <20210604160107.56feb84389264ca864264ab8@127.0.0.1>
References: <20210529210255.4dc2276cee9031532c08625d@127.0.0.1>
<20210602120930.16582a46@rick-hp>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="78eef90884766309942511e435fa73bb";
logging-data="4456"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19YRQNnkt1ZF3xEx8rzjeCcsnE8fNueBhs="
Cancel-Lock: sha1:kzLJpvzs8yR9+M6SGCoZlpV9Dyw=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
X-no-Archive: Maybe
 by: Kerr-Mudd, John - Fri, 4 Jun 2021 15:01 UTC

On Wed, 2 Jun 2021 12:09:30 -0400
"Rick C. Hodgin" <rick.c.hodgin@gmail.com> wrote:

> On Sat, 29 May 2021 21:02:55 +0100
> "Kerr-Mudd, John" <admin@127.0.0.1> wrote:
>
> > Dos prog; needs BIOS int 10, int 16; colour text, video @B800, more
> > mem &BA00.
> >
> > Cursor keys to move erm the cursor, Enter to tread on a "square",
> > Space key to toggle marking as a mine, Esc to baleout. The "Random"
> > mine generator is very poor. I would like to have allowed "?" as per
> > MS WinMine & shown an exploded mine on bad move, but that version was
> > 267 bytes.
>
>
> I came across this interesting video the other day:
>
> Tetris in Assembler:
> https://www.youtube.com/watch?v=rUDq1BrKYoQ
>
> It shows the code on-screen with blocks graphically connected. Was
> fairly impressed with the graphical representation.
>
I couldn't read the code during the video.

IIRC Tet in 256 bytes has already been done:

https://web.archive.org/web/20040525181259/http://www.users.globalnet.co.uk/~jchap/tvprotes.htm

(1999)

I think I played with it, maybe in this very NG - I got it down to <220, IRRC.

--
Bah, and indeed Humbug.

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor