• Fw: Wordle for DOS in 250 bytes

    From Kerr-Mudd, John@admin@nospicedham.127.0.0.1 to comp.lang.asm.x86,alt.lang.asm on Thu Apr 28 15:31:39 2022
    From Newsgroup: comp.lang.asm.x86


    added other NG's that I meant to post to initially

    Begin forwarded message:

    Date: Thu, 28 Apr 2022 13:49:24 +0100
    From: "Kerr-Mudd, John" <admin@127.0.0.1>
    Newsgroups: comp.os.msdos.programmer
    Subject: Wordle for DOS in 250 bytes



    DOS program for Wordle ; was 380 ish bytes but by deleting text messages and disallowing backspace I have a version in under 256 bytes. Tested in a CMD box on an XP machine.

    You'll need to supply the wordlist file ("wordle2u.lst"); each word must be 5 letters in caps followed by 2 intervening chars (i.e double space or a crlf pair). The list must be in alphabetical sort order. I can post that if required. [I don't think ETUDE is a valid word; I changed it to EXUDE]

    Keys are A-Z,a-z, CsrL/R, Enter, Esc; uses BIOS for chr to scrn and keyin. 6 goes to win. exact match letters shown in reverse green, nearby chrs shown in reverse brown. 'Words' not on the list aren't tested, don't count as guesses.

    The randomising code is quite a botch, and there's a known problem with the cursor not appearing 1) at start, 2) disappearing on 5th char input. I can't seem to fix that.

    d 100 l100
    16AB:0100 BA ED 01 89-D7 B4 3D CD-21 93 B5 FF-B4 3F CD 21 ......=.!....?.! 16AB:0110 01 D0 95 B4-2A CD 21 92-B9 07 00 F7-E0 88 E0 88 ....*.!......... 16AB:0120 D4 31 D2 F7-E1 01 F8 09-D2 75 F0 39-E8 77 EC 50 .1.......u.9.w.P 16AB:0130 B8 00 B8 50-1F B8 03 00-CD 10 5F BE-8A 01 B6 04 ...P......_..... 16AB:0140 81 C6 40 01-B2 25 88 E0-3C 4D 74 29-3C 4B 74 2B ..@..%..<Mt)<Kt+ 16AB:0150 31 DB B4 02-CD 10 98 CD-16 3C 0D 74-2F 3C 1B 74 1........<.t/<.t 16AB:0160 2A 24 DF 74-E1 B4 07 50-2C 41 72 02-04 E6 58 72 *$.t...P,Ar...Xr 16AB:0170 E5 B4 0E CD-10 42 80 FA-2A 75 D5 80-FA 25 74 D6 .....B..*u...%t. 16AB:0180 4A EB CD 80-C6 02 80 FE-10 72 B5 C3-56 57 BF E7 J........r..VW.. 16AB:0190 01 AC B1 05-47 01 CF 39-EF 77 0F AE-77 F6 72 0A ....G..9.w..w.r. 16AB:01A0 56 57 46 A6-E1 FC 5F 5E-75 E8 5F 5E-75 96 BB 20 VWF..._^u._^u.. 16AB:01B0 0A 56 57 4E-B1 05 B4 05-46 A6 88 39-75 06 88 1C .VWN....F..9u... 16AB:01C0 88 19 FE CC-E2 F2 5F 5E-74 C1 56 B1-05 AD 38 DC ......_^t.V...8. 16AB:01D0 74 16 51 B1-05 57 E3 0E-F2 AE 75 0A-38 19 74 F6 t.Q..W....u.8.t. 16AB:01E0 C6 44 FF 60-88 19 5F 59-E2 E3 5E EB-96 77 6F 72 .D.`.._Y..^..wor 16AB:01F0 64 6C 65 32-75 2E 74 78-74 00 20 20-20 20 20 20 dle2u.txt.
    q

    (spoiler


























    today's word is OLIVE
    --
    Bah, and indeed Humbug.


    --
    Bah, and indeed Humbug.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Kerr-Mudd, John@admin@nospicedham.127.0.0.1 to comp.lang.asm.x86,alt.lang.asm,comp.os.msdos.programmer on Tue May 3 09:49:08 2022
    From Newsgroup: comp.lang.asm.x86

    On Sat, 30 Apr 2022 10:54:14 +0100
    "Kerr-Mudd, John" <admin@nospicedham.127.0.0.1> wrote:


    DOS program for Wordle <=256 bytes

    Tested in a CMD box on an XP machine.

    DOS redirect version, room to correct the csr display problem, if I can track it down!

    d 100 l100
    16AB:0100 BA E7 01 89-D7 B5 FF B4-3F CD 21 01-D0 95 B4 2A ........?.!....* 16AB:0110 CD 21 92 B9-07 00 F7 E0-88 E0 88 D4-31 D2 F7 E1 .!..........1... 16AB:0120 01 F8 09 D2-75 F0 39 E8-77 EC 50 B8-00 B8 50 1F ....u.9.w.P...P. 16AB:0130 B8 03 00 CD-10 5F BE 8A-01 B6 04 81-C6 40 01 B2 ....._.......@.. 16AB:0140 25 88 E0 3C-4D 74 29 3C-4B 74 2B 31-DB B4 02 CD %..<Mt)<Kt+1.... 16AB:0150 10 98 CD 16-3C 0D 74 2F-3C 1B 74 2A-24 DF 74 E1 ....<.t/<.t*$.t. 16AB:0160 B4 07 50 2C-41 72 02 04-E6 58 72 E5-B4 0E CD 10 ..P,Ar...Xr..... 16AB:0170 42 80 FA 2A-75 D5 80 FA-25 74 D6 4A-EB CD 80 C6 B..*u...%t.J.... 16AB:0180 02 80 FE 10-72 B5 C3 56-57 BF E1 01-AC B1 05 47 ....r..VW......G 16AB:0190 01 CF 39 EF-77 0F AE 77-F6 72 0A 56-57 46 A6 E1 ..9.w..w.r.VWF.. 16AB:01A0 FC 5F 5E 75-E8 5F 5E 75-96 BB 20 60-56 57 4E B1 ._^u._^u.. `VWN. 16AB:01B0 05 B4 05 46-A6 88 39 75-06 88 1C 88-19 FE CC E2 ...F..9u........ 16AB:01C0 F2 5F 5E 74-C1 56 B1 05-AD 38 DC 74-15 51 B1 05 ._^t.V...8.t.Q.. 16AB:01D0 57 E3 0D F2-AE 75 09 38-19 74 F6 88-7C FF 88 19 W....u.8.t..|... 16AB:01E0 5F 59 E2 E4-5E EB 97 00-00 00 00 00-00 00 00 00 _Y..^........... 16AB:01F0 00 00 00 00-00 00 00 00-00 00 00 00-00 00 00 00 ................
    q


    Usage:

    wordle.com < wordle.txt

    Csr L/R, Alpha input, Esc to quit, Enter to test the current word.
    Green highlight for exact letter, brown for correct letter but not correct position.

    'worlde.txt' must contain a sorted list of 5 letter allcaps words, double spaced (i.e. the next word starts 7 bytes after the previous one).
    --
    Bah, and indeed Humbug.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Phil Carmody@pc+usenet@nospicedham.asdf.org to comp.lang.asm.x86,alt.lang.asm on Sun Aug 14 18:50:12 2022
    From Newsgroup: comp.lang.asm.x86

    "Kerr-Mudd, John" <admin@nospicedham.127.0.0.1> writes:
    can post that if required. [I don't think ETUDE is a valid word; I
    changed it to EXUDE]

    Borrowed from French, cognate to "study", it's a fancy word for a piece
    of music, typically as part of a whole set of them, intended more for
    practice than for enjoyment. Plenty of examples in Scarlatti, JS Bach,
    Chopin, Liszt, &c.

    Of course, exude's a great word too, in particular when delivered
    by the right commedian, so both should stay in.

    The nice thing is that having the words read in from a file, anyone
    can expand or contract it at will.

    Phil
    --
    We are no longer hunters and nomads. No longer awed and frightened, as we have gained some understanding of the world in which we live. As such, we can cast aside childish remnants from the dawn of our civilization.
    -- NotSanguine on SoylentNews, after Eugen Weber in /The Western Tradition/

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Kerr-Mudd, John@admin@nospicedham.127.0.0.1 to comp.lang.asm.x86,alt.lang.asm on Sun Aug 14 17:18:05 2022
    From Newsgroup: comp.lang.asm.x86

    On Sun, 14 Aug 2022 18:50:12 +0300
    Phil Carmody <pc+usenet@nospicedham.asdf.org> wrote:

    "Kerr-Mudd, John" <admin@nospicedham.127.0.0.1> writes:
    can post that if required. [I don't think ETUDE is a valid word; I
    changed it to EXUDE]

    Borrowed from French, cognate to "study", it's a fancy word for a piece
    of music, typically as part of a whole set of them, intended more for practice than for enjoyment. Plenty of examples in Scarlatti, JS Bach, Chopin, Liszt, &c.

    OK.

    Of course, exude's a great word too, in particular when delivered
    by the right commedian, so both should stay in.


    I think it was just a spelin erer.


    The nice thing is that having the words read in from a file, anyone
    can expand or contract it at will.


    Glad someone's had a go at it!
    I got today's one in 5, I had all but 1 letter, but guessed wrongly.

    I 'spose I ought to look at the RNG, it's quite poor.
    --
    Bah, and indeed Humbug.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Kerr-Mudd, John@admin@nospicedham.127.0.0.1 to comp.lang.asm.x86,alt.lang.asm on Mon Aug 15 09:48:38 2022
    From Newsgroup: comp.lang.asm.x86

    On Sun, 14 Aug 2022 17:18:05 +0100
    "Kerr-Mudd, John" <admin@nospicedham.127.0.0.1> wrote:

    On Sun, 14 Aug 2022 18:50:12 +0300
    Phil Carmody <pc+usenet@nospicedham.asdf.org> wrote:

    "Kerr-Mudd, John" <admin@nospicedham.127.0.0.1> writes:
    can post that if required. [I don't think ETUDE is a valid word; I changed it to EXUDE]

    Borrowed from French, cognate to "study", it's a fancy word for a piece
    of music, typically as part of a whole set of them, intended more for practice than for enjoyment. Plenty of examples in Scarlatti, JS Bach, Chopin, Liszt, &c.

    OK.

    Of course, exude's a great word too, in particular when delivered
    by the right commedian, so both should stay in.


    I think it was just a spelin erer.


    The nice thing is that having the words read in from a file, anyone
    can expand or contract it at will.


    Glad someone's had a go at it!
    I got today's one in 5, I had all but 1 letter, but guessed wrongly.



    Another bad set of guesses: Hoist Moist Foist.

    I 'spose I ought to look at the RNG, it's quite poor.

    --
    Bah, and indeed Humbug.

    --
    Bah, and indeed Humbug.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Kerr-Mudd, John@admin@nospicedham.127.0.0.1 to comp.lang.asm.x86,alt.lang.asm,comp.os.msdos.programmer on Wed Jul 5 12:15:29 2023
    From Newsgroup: comp.lang.asm.x86

    On Tue, 3 May 2022 09:49:08 +0100
    "Kerr-Mudd, John" <admin@nospicedham.127.0.0.1> wrote:

    On Sat, 30 Apr 2022 10:54:14 +0100
    "Kerr-Mudd, John" <admin@nospicedham.127.0.0.1> wrote:


    DOS program for Wordle <=256 bytes


    New version shows (un)highlights guessed letters at the bottom of the
    screen; can type in or backspace (no full screen editor here!), invalid
    words are blanked ready for another attempt.



    d 100 lF5
    16AF:0100 BA F5 01 89-D7 B5 FF B4-3F CD 21 01-D0 95 B4 2A ........?.!....* 16AF:0110 CD 21 92 B9-07 00 F7 E0-88 E0 88 D4-31 D2 F7 E1 .!..........1... 16AF:0120 09 D2 75 F2-01 F8 39 E8-77 EC 39 F8-72 E8 50 B7 ..u...9.w.9.r.P. 16AF:0130 B8 53 1F B8-03 00 CD 10-BA 20 60 B8-41 70 B1 1A .S....... `.Ap.. 16AF:0140 BF 36 0F 89-05 40 AF E2-FA 5F BE CA-02 BB 0A 00 .6...@..._...... 16AF:0150 4B 4B 88 38-3C 08 74 04-09 DB 75 F4-98 CD 16 3C KK.8<.t...u....< 16AF:0160 1B 74 29 3C-08 74 F1 3C-0D 74 22 80-FB 0A 74 EC .t)<.t.<.t"...t. 16AF:0170 24 DF 3C 41-72 E6 3C 5A-77 E2 88 00-43 43 EB DC $.<Ar.<Zw...CC.. 16AF:0180 74 0A 81 C6-40 01 81 FE-4A 0A 72 C1-C3 56 57 BF t...@...J.r..VW. 16AF:0190 EF 01 AC B1-05 47 01 CF-39 EF 77 10-AE 77 F6 72 .....G..9.w..w.r 16AF:01A0 0B 56 57 49-46 A6 E1 FC-5F 5E 75 E7-5F 5E 75 9D .VWIF..._^u._^u. 16AF:01B0 56 57 4E B1-05 B3 05 46-A6 88 33 75-05 88 14 88 VWN....F..3u.... 16AF:01C0 13 4B E2 F3-5F 5E 9C 56-B1 05 AD 51-B1 05 57 80 .K.._^.V...Q..W. 16AF:01D0 FC 07 75 11-E3 0F F2 AE-75 0B 38 13-74 F6 88 74 ..u.....u.8.t..t 16AF:01E0 FF 88 13 B4-60 88 C3 D1-E3 88 A7 B5-0E 5F 59 E2 ....`........_Y. 16AF:01F0 D9-5E 9D EB 8B .^...
    q



    Usage:

    wordle.com < wordle.txt

    [] Alpha input or Bkspace, Esc to quit, Enter to test the current word.
    Green highlight for exact letter, brown for correct letter but not correct position.

    'worlde.txt' must contain a sorted list of 5 letter allcaps words, double spaced (i.e. the next word starts 7 bytes after the previous one).

    --
    Bah, and indeed Humbug.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Kerr-Mudd, John@admin@nospicedham.127.0.0.1 to comp.lang.asm.x86,alt.lang.asm,comp.os.msdos.programmer on Sat Jul 15 18:05:11 2023
    From Newsgroup: comp.lang.asm.x86

    On Wed, 5 Jul 2023 12:15:29 +0100
    "Kerr-Mudd, John" <admin@nospicedham.127.0.0.1> wrote:

    On Tue, 3 May 2022 09:49:08 +0100
    "Kerr-Mudd, John" <admin@nospicedham.127.0.0.1> wrote:

    On Sat, 30 Apr 2022 10:54:14 +0100
    "Kerr-Mudd, John" <admin@nospicedham.127.0.0.1> wrote:


    DOS program for Wordle <=256 bytes


    New version shows (un)highlights guessed letters at the bottom of the
    screen; can type in or backspace (no full screen editor here!), invalid
    words are blanked ready for another attempt.

    Sorry, it got into an infinite loop on Bastille day; this has a "fix" by
    having 'inc ax' before redoing the mul.

    d 100 l100
    16AB:0100 BA F9 01 89-D7 B5 FF B4-3F CD 21 01-D0 95 B4 2A ........?.!....* 16AB:0110 CD 21 92 B9-07 00 F7 E0-88 E0 88 D4-40 31 D2 F7 .!..........@1.. 16AB:0120 E1 09 D2 75-F1 01 F8 39-E8 77 EB 39-F8 72 E7 50 ...u...9.w.9.r.P 16AB:0130 B8 03 00 CD-10 B7 B8 53-1F BA 20 60-B8 41 70 B1 .......S.. `.Ap. 16AB:0140 1A BF 36 0F-89 05 40 AF-E2 FA 5F BE-CA 02 BB 0A ..6...@..._..... 16AB:0150 00 4B 4B 88-38 75 FA 09-DB 74 04 4B-4B 88 38 98 .KK.8u...t.KK.8. 16AB:0160 CD 16 3C 1B-74 29 3C 08-74 ED 3C 0D-74 22 80 FB ..<.t)<.t.<.t".. 16AB:0170 0A 74 EC 24-DF 3C 41 72-E6 3C 5A 77-E2 88 00 43 .t.$.<Ar.<Zw...C 16AB:0180 43 EB DC 74-0A 81 C6 40-01 81 FE 4A-0A 72 BF C3 C..t...@...J.r.. 16AB:0190 56 57 BF F3-01 AC B1 05-47 01 CF 39-EF 77 10 AE VW......G..9.w.. 16AB:01A0 77 F6 72 0B-56 57 49 46-A6 E1 FC 5F-5E 75 E7 5F w.r.VWIF..._^u._ 16AB:01B0 5E 75 9B 56-57 4E B1 05-B4 05 46 A6-88 33 75 06 ^u.VWN....F..3u. 16AB:01C0 88 14 88 13-FE CC E2 F2-5F 5E 9C 56-B1 05 AD 51 ........_^.V...Q 16AB:01D0 B1 05 57 80-FC 07 75 11-E3 0F F2 AE-75 0B 38 13 ..W...u.....u.8. 16AB:01E0 74 F6 88 74-FF 88 13 B4-60 88 C3 D1-E3 88 A7 B5 t..t....`....... 16AB:01F0 0E 5F 59 E2-D9 5E 9D EB-8A 00 00 00-00 00 00 00 ._Y..^..........
    q



    Usage:

    wordle.com < wordle.txt

    [] Alpha input or Bkspace, Esc to quit, Enter to test the current word.
    Green highlight for exact letter, brown for correct letter but not correct position.

    'worlde.txt' must contain a sorted list of 5 letter allcaps words, double spaced (i.e. the next word starts 7 bytes after the previous one).




    --
    Bah, and indeed Humbug.

    --
    Bah, and indeed Humbug.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Kerr-Mudd, John@admin@nospicedham.127.0.0.1 to comp.lang.asm.x86,alt.lang.asm,comp.os.msdos.programmer on Fri Mar 29 13:41:13 2024
    From Newsgroup: comp.lang.asm.x86

    On Mon, 15 Aug 2022 09:48:38 +0100
    "Kerr-Mudd, John" <admin@nospicedham.127.0.0.1> wrote:

    []


    256 - now with both csr movement to edit word and highlighted letters previously guessed. 6 spares used for copyright (no room for a title!)
    but same bad RNG.

    d 100 l100
    16B8:0100 B0 03 CD 10-BA 00 02 89-D7 B5 FD B4-3F CD 21 95 ............?.!. 16B8:0110 C6 03 5B B4-2A CD 21 92-99 F7 E0 88-D0 31 D2 F7 ..[.*.!......1.. 16B8:0120 E5 01 FD 01-D7 92 31 D2-B9 07 00 F7-F1 29 D7 B7 ......1......).. 16B8:0130 B8 8E DB BB-34 00 B8 5A-70 89 87 36-0F 48 4B 4B ....4..Zp..6.HKK 16B8:0140 75 F7 B6 04-BE CA 02 B2-25 88 E0 3C-4D 74 25 3C u.......%..<Mt%< 16B8:0150 4B 74 27 31-DB B4 02 CD-10 98 CD 16-3C 0D 74 35 Kt'1........<.t5 16B8:0160 3C 1B 74 30-24 DF 74 E1-3C 41 72 ED-3C 5A 77 E9 <.t0$.t.<Ar.<Zw. 16B8:0170 B4 0E CD 10-42 80 FA 2A-75 D9 80 FA-25 74 DA 4A ....B..*u...%t.J 16B8:0180 EB D1 4D 4A-32 30 32 34-81 C6 40 01-80 C6 02 80 ..MJ2024..@..... 16B8:0190 FE 10 72 B3-C3 56 57 BF-FA 01 AC B1-05 47 01 CF ..r..VW......G.. 16B8:01A0 AE 77 FA 72-0B 56 57 49-46 A6 E1 FC-5F 5E 75 EB .w.r.VWIF..._^u. 16B8:01B0 5F 5E 75 93-56 57 4E B1-05 B4 05 46-A6 C6 03 60 _^u.VWN....F...` 16B8:01C0 75 08 C6 04-20 C6 03 20-FE CC E2 EF-5F 5E 74 C4 u... .. ...._^t. 16B8:01D0 56 B1 05 AD-51 B1 05 57-80 FC 07 75-14 E3 12 F2 V...Q..W...u.... 16B8:01E0 AE 75 0E 80-3B 20 74 F5-C6 44 FF 60-C6 03 20 B4 .u..; t..D.`.. . 16B8:01F0 60 88 C3 D1-E3 88 A7 B7-0E 5F 59 E2-D6 5E EB 88 `........_Y..^..
    q
    --
    Bah, and indeed Humbug.

    --- Synchronet 3.21d-Linux NewsLink 1.2