Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

You will have many recoverable tape errors.


programming / alt.lang.asm / Fw: Wordle for DOS in 250 bytes

SubjectAuthor
* Fw: Wordle for DOS in 250 bytesKerr-Mudd, John
`* Re: Fw: Wordle for DOS in 250 bytesKerr-Mudd, John
 `- Re: Fw: Wordle for DOS in 250 bytesKerr-Mudd, John

1
Subject: Fw: Wordle for DOS in 250 bytes
From: Kerr-Mudd, John
Newsgroups: comp.lang.asm.x86, alt.lang.asm
Organization: Dis
Date: Thu, 28 Apr 2022 14:31 UTC
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: adm...@nospicedham.127.0.0.1 (Kerr-Mudd, John)
Newsgroups: comp.lang.asm.x86,alt.lang.asm
Subject: Fw: Wordle for DOS in 250 bytes
Date: Thu, 28 Apr 2022 15:31:39 +0100
Organization: Dis
Lines: 75
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <20220428153139.3e3fa1ee573770f1714c2863@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="88de2d1e449bbf0420a21d0b1a10ebd7";
logging-data="10238"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+XUuFmFbDddBHqoD6hQIfXoCcCOzyOJfc="
Cancel-Lock: sha1:4cNyq6xDUlOXBvBSBvhmzSJzIAo=
View all headers

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.



Subject: Re: Fw: Wordle for DOS in 250 bytes
From: Kerr-Mudd, John
Newsgroups: comp.lang.asm.x86, alt.lang.asm, comp.os.msdos.programmer
Organization: Dis
Date: Sat, 30 Apr 2022 09:54 UTC
References: 1
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: adm...@nospicedham.127.0.0.1 (Kerr-Mudd, John)
Newsgroups: comp.lang.asm.x86,alt.lang.asm,comp.os.msdos.programmer
Subject: Re: Fw: Wordle for DOS in 250 bytes
Date: Sat, 30 Apr 2022 10:54:14 +0100
Organization: Dis
Lines: 53
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <20220430105414.ffdf0e0c18b9c70f4c747a3a@127.0.0.1>
References: <20220428153139.3e3fa1ee573770f1714c2863@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="b3c743794cfe726222f8fdecb3042ee0";
logging-data="30293"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+dnBIN5fEtMDk22cNCdHTiMIQo/TS40XQ="
Cancel-Lock: sha1:lS2miwtpVErL5AUMFnotNifvAZ4=
View all headers
On Thu, 28 Apr 2022 15:31:39 +0100
"Kerr-Mudd, John" <admin@nospicedham.127.0.0.1> wrote:


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

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]

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
Ooops should be 'wordle2u.txt'. Here it is anyway:


ABACK  ABASE  ABATE  ABBEY  ABBOT  ABHOR  ABIDE  ABLED  ABODE  ABORT  ABOUT  ABOVE  ABUSE  ABYSS  ACORN  ACRID  ACTOR  ACUTE  ADAGE  ADAPT  ADEPT  ADMIN  ADMIT  ADOBE  ADOPT  ADORE  ADORN  ADULT  AFFIX  AFIRE  AFOOT  AFOUL  AFTER  AGAIN  AGAPE  AGATE  AGENT  AGILE  AGING  AGLOW  AGONY  AGREE  AHEAD  AIDER  AISLE  ALARM  ALBUM  ALERT  ALGAE  ALIBI  ALIEN  ALIGN  ALIKE  ALIVE  ALLAY  ALLEY  ALLOT  ALLOW  ALLOY  ALOFT  ALONE  ALONG  ALOOF  ALOUD  ALPHA  ALTAR  ALTER  AMASS  AMAZE  AMBER  AMBLE  AMEND  AMISS  AMITY  AMONG  AMPLE  AMPLY  AMUSE  ANGEL  ANGER  ANGLE  ANGRY  ANGST  ANIME  ANKLE  ANNEX  ANNOY  ANNUL  ANODE  ANTIC  ANVIL  AORTA  APART  APHID  APING  APNEA  APPLE  APPLY  APRON  APTLY  ARBOR  ARDOR  ARENA  ARGUE  ARISE  ARMOR  AROMA  AROSE  ARRAY  ARROW  ARSON  ARTSY  ASCOT  ASHEN  ASIDE  ASKEW  ASSAY  ASSET  ATOLL  ATONE  ATTIC  AUDIO  AUDIT  AUGUR  AUNTY  AVAIL  AVERT  AVIAN  AVOID  AWAIT  AWAKE  AWARD  AWARE  AWASH  AWFUL  AWOKE  AXIAL  AXIOM  AXION  AZURE
BACON  BADGE  BADLY  BAGEL  BAGGY  BAKER  BALER  BALMY  BANAL  BANJO  BARGE  BARON  BASAL  BASIC  BASIL  BASIN  BASIS  BASTE  BATCH  BATHE  BATON  BATTY  BAWDY  BAYOU  BEACH  BEADY  BEARD  BEAST  BEECH  BEEFY  BEFIT  BEGAN  BEGAT  BEGET  BEGIN  BEGUN  BEING  BELCH  BELIE  BELLE  BELLY  BELOW  BENCH  BERET  BERRY  BERTH  BESET  BETEL  BEVEL  BEZEL  BIBLE  BICEP  BIDDY  BIGOT  BILGE  BILLY  BINGE  BINGO  BIOME  BIRCH  BIRTH  BISON  BITTY  BLACK  BLADE  BLAME  BLAND  BLANK  BLARE  BLAST  BLAZE  BLEAK  BLEAT  BLEED  BLEEP  BLEND  BLESS  BLIMP  BLIND  BLINK  BLISS  BLITZ  BLOAT  BLOCK  BLOKE  BLOND  BLOOD  BLOOM  BLOWN  BLUER  BLUFF  BLUNT  BLURB  BLURT  BLUSH  BOARD  BOAST  BOBBY  BONEY  BONGO  BONUS  BOOBY  BOOST  BOOTH  BOOTY  BOOZE  BOOZY  BORAX  BORNE  BOSOM  BOSSY  BOTCH  BOUGH  BOULE  BOUND  BOWEL  BOXER  BRACE  BRAID  BRAIN  BRAKE  BRAND  BRASH  BRASS  BRAVE  BRAVO  BRAWL  BRAWN  BREAD  BREAK  BREED  BRIAR  BRIBE  BRICK  BRIDE  BRIEF  BRINE  BRING  BRINK  BRINY  BRISK  BROAD  BROI
 L  BROKE  BROOD  BROOK  BROOM  BROTH  BROWN  BRUNT  BRUSH  BRUTE  BUDDY  BUDGE  BUGGY  BUGLE  BUILD  BUILT  BULGE  BULKY  BULLY  BUNCH  BUNNY  BURLY  BURNT  BURST  BUSED  BUSHY  BUTCH  BUTTE  BUXOM  BUYER  BYLAW
CABAL  CABBY  CABIN  CABLE  CACAO  CACHE  CACTI  CADDY  CADET  CAGEY  CAIRN  CAMEL  CAMEO  CANAL  CANDY  CANNY  CANOE  CANON  CAPER  CAPUT  CARAT  CARGO  CAROL  CARRY  CARVE  CASTE  CATCH  CATER  CATTY  CAULK  CAUSE  CAVIL  CEASE  CEDAR  CELLO  CHAFE  CHAFF  CHAIN  CHAIR  CHALK  CHAMP  CHANT  CHAOS  CHARD  CHARM  CHART  CHASE  CHASM  CHEAP  CHEAT  CHECK  CHEEK  CHEER  CHESS  CHEST  CHICK  CHIDE  CHIEF  CHILD  CHILI  CHILL  CHIME  CHINA  CHIRP  CHOCK  CHOIR  CHOKE  CHORD  CHORE  CHOSE  CHUCK  CHUMP  CHUNK  CHURN  CHUTE  CIDER  CIGAR  CINCH  CIRCA  CIVIC  CIVIL  CLACK  CLAIM  CLAMP  CLANG  CLANK  CLASH  CLASP  CLASS  CLEAN  CLEAR  CLEAT  CLEFT  CLERK  CLICK  CLIFF  CLIMB  CLING  CLINK  CLOAK  CLOCK  CLONE  CLOSE  CLOTH  CLOUD  CLOUT  CLOVE  CLOWN  CLUCK  CLUED  CLUMP  CLUNG  COACH  COAST  COBRA  COCOA  COLON  COLOR  COMET  COMFY  COMIC  COMMA  CONCH  CONDO  CONIC  COPSE  CORAL  CORER  CORNY  COUCH  COUGH  COULD  COUNT  COUPE  COURT  COVEN  COVER  COVET  COVEY  COWER  COYLY  CRACK  CRAF
 T  CRAMP  CRANE  CRANK  CRASH  CRASS  CRATE  CRAVE  CRAWL  CRAZE  CRAZY  CREAK  CREAM  CREDO  CREED  CREEK  CREEP  CREME  CREPE  CREPT  CRESS  CREST  CRICK  CRIED  CRIER  CRIME  CRIMP  CRISP  CROAK  CROCK  CRONE  CRONY  CROOK  CROSS  CROUP  CROWD  CROWN  CRUDE  CRUEL  CRUMB  CRUMP  CRUSH  CRUST  CRYPT  CUBIC  CUMIN  CURIO  CURLY  CURRY  CURSE  CURVE  CURVY  CUTIE  CYBER  CYCLE  CYNIC
DADDY  DAILY  DAIRY  DAISY  DALLY  DANCE  DANDY  DATUM  DAUNT  DEALT  DEATH  DEBAR  DEBIT  DEBUG  DEBUT  DECAL  DECAY  DECOR  DECOY  DECRY  DEFER  DEIGN  DEITY  DELAY  DELTA  DELVE  DEMON  DEMUR  DENIM  DENSE  DEPOT  DEPTH  DERBY  DETER  DETOX  DEUCE  DEVIL  DIARY  DICEY  DIGIT  DILLY  DIMLY  DINER  DINGO  DINGY  DIODE  DIRGE  DIRTY  DISCO  DITCH  DITTO  DITTY  DIVER  DIZZY  DODGE  DODGY  DOGMA  DOING  DOLLY  DONOR  DONUT  DOPEY  DOUBT  DOUGH  DOWDY  DOWEL  DOWNY  DOWRY  DOZEN  DRAFT  DRAIN  DRAKE  DRAMA  DRANK  DRAPE  DRAWL  DRAWN  DREAD  DREAM  DRESS  DRIED  DRIER  DRIFT  DRILL  DRINK  DRIVE  DROIT  DROLL  DRONE  DROOL  DROOP  DROSS  DROVE  DROWN  DRUID  DRUNK  DRYER  DRYLY  DUCHY  DULLY  DUMMY  DUMPY  DUNCE  DUSKY  DUSTY  DUTCH  DUVET  DWARF  DWELL  DWELT  DYING
EAGER  EAGLE  EARLY  EARTH  EASEL  EATEN  EATER  EBONY  ECLAT  EDICT  EDIFY  EERIE  EGRET  EIGHT  EJECT  EKING  ELATE  ELBOW  ELDER  ELECT  ELEGY  ELFIN  ELIDE  ELITE  ELOPE  ELUDE  EMAIL  EMBED  EMBER  EMCEE  EMPTY  ENACT  ENDOW  ENEMA  ENEMY  ENJOY  ENNUI  ENSUE  ENTER  ENTRY  ENVOY  EPOCH  EPOXY  EQUAL  EQUIP  ERASE  ERECT  ERODE  ERROR  ERUPT  ESSAY  ESTER  ETHER  ETHIC  ETHOS  EVADE  EVENT  EVERY  EVICT  EVOKE  EXACT  EXALT  EXCEL  EXERT  EXILE  EXIST  EXPEL  EXTOL  EXTRA  EXUDE  EXULT  EYING
FABLE  FACET  FAINT  FAIRY  FAITH  FALSE  FANCY  FANNY  FARCE  FATAL  FATTY  FAULT  FAUNA  FAVOR  FEAST  FECAL  FEIGN  FELLA  FELON  FEMME  FEMUR  FENCE  FERAL  FERRY  FETAL  FETCH  FETID  FETUS  FEVER  FEWER  FIBER  FICUS  FIELD  FIEND  FIERY  FIFTH  FIFTY  FIGHT  FILER  FILET  FILLY  FILMY  FILTH  FINAL  FINCH  FINER  FIRST  FISHY  FIXER  FIZZY  FJORD  FLACK  FLAIL  FLAIR  FLAKE  FLAKY  FLAME  FLANK  FLARE  FLASH  FLASK  FLECK  FLEET  FLESH  FLICK  FLIER  FLING  FLINT  FLIRT  FLOAT  FLOCK  FLOOD  FLOOR  FLORA  FLOSS  FLOUR  FLOUT  FLOWN  FLUFF  FLUID  FLUKE  FLUME  FLUNG  FLUNK  FLUSH  FLUTE  FLYER  FOAMY  FOCAL  FOCUS  FOGGY  FOIST  FOLIO  FOLLY  FORAY  FORCE  FORGE  FORGO  FORTE  FORTH  FORTY  FORUM  FOUND  FOYER  FRAIL  FRAME  FRANK  FRAUD  FREAK  FREED  FREER  FRESH  FRIAR  FRIED  FRILL  FRISK  FRITZ  FROCK  FROND  FRONT  FROST  FROTH  FROWN  FROZE  FRUIT  FUDGE  FUGUE  FULLY  FUNGI  FUNKY  FUNNY  FUROR  FURRY  FUSSY  FUZZY

Click here to read the complete article
Subject: Re: Fw: Wordle for DOS in 250 bytes
From: Kerr-Mudd, John
Newsgroups: comp.lang.asm.x86, alt.lang.asm, comp.os.msdos.programmer
Organization: Dis
Date: Tue, 3 May 2022 08:49 UTC
References: 1 2
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: adm...@nospicedham.127.0.0.1 (Kerr-Mudd, John)
Newsgroups: comp.lang.asm.x86,alt.lang.asm,comp.os.msdos.programmer
Subject: Re: Fw: Wordle for DOS in 250 bytes
Date: Tue, 3 May 2022 09:49:08 +0100
Organization: Dis
Lines: 42
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <20220503094908.c14fb70f66a9c0ee86cb2f19@127.0.0.1>
References: <20220428153139.3e3fa1ee573770f1714c2863@127.0.0.1>
<20220430105414.ffdf0e0c18b9c70f4c747a3a@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="f06eb88904ea07e60c5bcac3bcb7535f";
logging-data="16115"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+hxJVaVt/OGb3mERKPGk2tzBol8TGPewk="
Cancel-Lock: sha1:W0w3UE+TFFYf56uRNZsHBpDEB2c=
View all headers
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.



1
rocksolid light 0.7.2
clearneti2ptor