News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_arnolde

The inevitable CPC Wordle Clone...

Started by arnolde, 09:04, 06 February 22

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

arnolde

...is nearly done.
I plan to include word lists in english, spanish, french and german – but I don't have most of them yet... Anyone out there willing to hlep?


https://twitter.com/leosoftCPC/status/1490088486233333763

Skunkfish

My wife's been obsessed with this on her phone for the last couple of weeks, I'm waiting for the CPC version now!
An expanding array of hardware available at www.cpcstore.co.uk (and issue 4 of CPC Fanzine!)

eto

I was considering this just last week but I couldn't find a list of German words that makes sense. Most lists contain 70%+ words I would never use or haven't heard of ever. Not sure where to get a useful list from.

arnolde

Quote from: eto on 18:27, 06 February 22Most lists contain 70%+ words I would never use
But in comparison to other languages, there are just a "few" 5-letter words in german, ~6.500. French has ~8.000 and english 9330. (I'm speaking of all the words valid in Scrabble, so no proper names, but all inflected forms, i.e. "GEHST" or "ZUSAH")

Nich

Quote from: eto on 18:27, 06 February 22
I was considering this just last week but I couldn't find a list of German words that makes sense. Most lists contain 70%+ words I would never use or haven't heard of ever. Not sure where to get a useful list from.

You could try the Hunspell dictionaries that are used by LibreOffice. However the words are not stored in a basic list format, so you'll need to write a script to apply prefix and suffix rules to each word in the list; this man page explains the format that Hunspell uses.

Nich

I've been playing Wordle every day for the last few weeks, and I was considering developing a CPC version myself, possibly for #CPCRetroDev if I could get permission from Josh Wardle to use the Wordle name. Then I read a few days ago that the New York Times has acquired Wordle, which unfortunately scuppered those plans. :(

arnolde

Quote from: Nich on 22:28, 06 February 22hen I read a few days ago that the New York Times has acquired Wordle,
OMG, does that mean I'm gonna be sued for publishing my version for free?

PS.: For the #CPCRetroDev, I already have a bigger project in the oven...

Nich

Quote from: arnolde on 22:57, 06 February 22
OMG, does that mean I'm gonna be sued for publishing my version for free?

PS.: For the #CPCRetroDev, I already have a bigger project in the oven...

I suppose there are already countless free remakes of Wordle out there and the NYT couldn't go after every single one of them, but in the context of #CPCRetroDev, I think any remake of Wordle would be disqualified as the University of Alicante can't take any legal risks. One such entry, Dr Roland, was disqualified from the 2020 contest because it was too similar to Dr Mario.

villain

There was a similiar topic in the german Forum64. They mentioned this site:


http://www.sobiki.de/5buchstaben.html


Looks quite useful (obwohl da auch noch vereinzelt Quatsch dazwischen ist)

arnolde


So, apparently, i'm too stupid to use the Casette/Disk operationes of the firmware. This is my code to load the dictionary (word list) in the game after asking for the language:



call #bc65 ;cas initialize
pop hl ;pointer to filename is on stack
ld b,11 ;length
ld de,#1c00 ;buffer adress
call #bc77 ;cas in open
jp nc,0 ;brutal, but it's just for now
ld hl,#2000 ;dest adress
call #bc83 ;cas in direct
call #bc7a ;cas in close



If I compile it directly to the emulator in WinAmp, using a 6128 with no extra ROMs, it does the job as expected and loads the dictionaries from disk. But if a save the game as executable bin (org #1000 btw) and run it directly from disk, it starts OK, but at this point asks me to "Press PLAY then any key", as if i'd use a tape drive. Is there any extra firmware call to "remind" Amsdos to use the disk routine in the ROM – or what am I doing wrong?   



MaV

From the top of my head:
cas initialize is never patched by the floppy rom to point to a floppy initialisation routine which does not exist anyway. So by using it you're resetting the CPC to use the cassette routines. Unless you'd like to switch between disk and tape loading/saving, just omit this call.
Black Mesa Transit Announcement System:
"Work safe, work smart. Your future depends on it."

Johnny Olsen

You need to initialize the disc rom.

154 #BCCE KL INIT BACK Initialize a particular background ROM.

        ld c,7
        LD HL,&b0ff
        LD DE,&0040   
        call &bcce

If I remember correctly, this is the way to do it.

MaV



He uses a CPC 6128. There's no need to initialise the Floppy ROM, he should omit the cas initialize, and the CPC handles the loading all by itself correctly.
Black Mesa Transit Announcement System:
"Work safe, work smart. Your future depends on it."

arnolde

#14
Well, thank you all, both MaVs and Johnny Olsens ideas worked... kind of.  :-*
In the loader (the "disk" executable with logo and jingle which loads and executes the game itself), I did have to use Johnnies patch for the game to load correctly from disk.
In the game itself, it was enough to omit the "cas initialize" call for loading the dictionnary from the disk.
I know I should take my time someday to try and understand how exactly all that Amsdos stuff works, but for now, I'm happy that I can finally ask if...

arnolde


MaV

Quote from: arnolde on 13:02, 12 February 22Well, thank you all, both MaVs and Johnny Olsens ideas worked... kind of. 
Ah yes, Johnny Olsen is right. If you make the binary executable and start it with run, you need to initialise the floppy ROM again. Sorry, I missed that part when reading (I was concentrating on the code).
Black Mesa Transit Announcement System:
"Work safe, work smart. Your future depends on it."

Gryzor

I don't even know how to play this

Will it post on Twitter? 😅

arnolde

Quote from: Gryzor on 05:06, 17 February 22Will it post on Twitter?

Well, that gives me an idea...

Anyhow, quick update: Thanks to Beta tester Nich (https://www.cpcwiki.eu/forum/profile/?u=53), I got a new suggestions that I'd like to implement, but unfortunately, I also have a life (and just one), so that could take some time... I'll keep you posted 

merman


arnolde


Powered by SMFPacks Menu Editor Mod