Qwordle

Anything QL Software or Programming Related.
Derek_Stewart
Font of All Knowledge
Posts: 4790
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: Qwordle

Post by Derek_Stewart »

Hi,

Nice attempt, you certainly can programme in QPTR really well.

It is funny there is Television programme in UK on ITV channel at 3pm weekdays, called "LINGO".

Wordle looks the same this this TV quizz programme,nit sure which cam out first.


Regards, Derek
User avatar
Ruptor
Gold Card
Posts: 420
Joined: Fri Dec 20, 2019 2:23 pm
Location: London

Re: Qwordle

Post by Ruptor »

Derek_Stewart wrote:Wordle looks the same this this TV quizz programme,nit sure which cam out first.
Wiki says US in 1987 for TV but it has been around since Victorian times long before TV and probably since words were invented. :o


Tinyfpga
Gold Card
Posts: 315
Joined: Thu Sep 27, 2018 1:59 am

Re: Qwordle

Post by Tinyfpga »

What has the New York Times actually bought in WORDLE, is WORDLE a protected name? It does not seem to be any more than a variant of a number of older and much older games. I say: well done Mr Wardle.


Tinyfpga
Gold Card
Posts: 315
Joined: Thu Sep 27, 2018 1:59 am

Re: Qwordle

Post by Tinyfpga »

Postby Derek_Stewart :-Nice attempt, you certainly can programme in QPTR really well.
Thanks for the encouragement. Although I write abstract programs for test purposes, having a goal to aim for, such as a word game, is a good way to develop programming skills.

I like your idea of a guessing game based on dictionary definitions. My next project is to write such a game.
In my Qwordle game I store the words in a string. Is there a limit to the length of a string in Qlib BASIC?
Is there a limit to the size of a matrix (as in DIM)? (free memory maybe)

I have a long term project on the go, and that is to produce a "noobs" manual for using SMSQE and programming in BASIC.
It is such a huge project that I am not certain I shall succeed, but it will be written for my setups (SMSQE based) not for QL users.

mk79 wrote that people other than QL users have shown a passing interest in QL/E. I imagine that those type of people would be best served by using QPC (or Q68, and I do know you have difficulties with that project) together with a ready made environment. Without a comprehensive manual I think most people would find SMSQE quite difficult to use.

I,after more than a year fiddling around, and with the benefit of SMS2 and the SMS2 manual, am only just beginning to understand the system.

The Q68 in a keyboard, like the Pi400, would make a very good system for noobs but I am aware of your Q68 production difficulties. Maybe you can convince Peter Graf to release his QZero design because it would be easier to manufacture and place on a carrier board in a keyboard case.

His fear of being exposed to EU production legislation (and other exposures) are, I think, capable of being allayed fairly easily.
In any event, who is going to care if a very small number of hobby systems are manufactured without CE stickers. I can't say I have seen one on a Q68. Nor do the BBC micro:bit or Picaxe boards have one.


Derek_Stewart
Font of All Knowledge
Posts: 4790
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: Qwordle

Post by Derek_Stewart »

Tinyfpga wrote:
Postby Derek_Stewart :-Nice attempt, you certainly can programme in QPTR really well.
Thanks for the encouragement. Although I write abstract programs for test purposes, having a goal to aim for, such as a word game, is a good way to develop programming skills.

I like your idea of a guessing game based on dictionary definitions. My next project is to write such a game.
In my Qwordle game I store the words in a string. Is there a limit to the length of a string in Qlib BASIC?
Is there a limit to the size of a matrix (as in DIM)? (free memory maybe)

I have a long term project on the go, and that is to produce a "noobs" manual for using SMSQE and programming in BASIC.
It is such a huge project that I am not certain I shall succeed, but it will be written for my setups (SMSQE based) not for QL users.

mk79 wrote that people other than QL users have shown a passing interest in QL/E. I imagine that those type of people would be best served by using QPC (or Q68, and I do know you have difficulties with that project) together with a ready made environment. Without a comprehensive manual I think most people would find SMSQE quite difficult to use.

I,after more than a year fiddling around, and with the benefit of SMS2 and the SMS2 manual, am only just beginning to understand the system.

The Q68 in a keyboard, like the Pi400, would make a very good system for noobs but I am aware of your Q68 production difficulties. Maybe you can convince Peter Graf to release his QZero design because it would be easier to manufacture and place on a carrier board in a keyboard case.

His fear of being exposed to EU production legislation (and other exposures) are, I think, capable of being allayed fairly easily.
In any event, who is going to care if a very small number of hobby systems are manufactured without CE stickers. I can't say I have seen one on a Q68. Nor do the BBC micro:bit or Picaxe boards have one.
There no Q68 production problems, I am only a hobbist and not a full time computer producer.

The Q68 was made in a bedroom, which I had lost access to, so I have find a suitable work area.

I have done all the CE certification checks and conformed to the required standards, I do not attach a CE sticker on the Q68 PCB, but the work performed is in accordance to CE standards.

I am not VAT registered, so get no discounts from the UK or EU Tax people, I always pay import tax into EU, USA, Australia, Switzerland. Which I have successfully shipped to those countries.

The Qzero I doubt will not be produced.

Maybe a Q68 housed in a Pi-400 style keyboard would be the way to go. But I am not sure if the Q68 is used by those who bought it...
Last edited by Derek_Stewart on Thu Mar 07, 2024 12:22 am, edited 1 time in total.


Regards, Derek
Tinyfpga
Gold Card
Posts: 315
Joined: Thu Sep 27, 2018 1:59 am

Re: Qwordle

Post by Tinyfpga »

Derek wrote:- But I am not sure if the Q68 is used by those who bought it.
What makes you think that some/most Q68 owners' don't use them?

Your word game idea is proving much more difficult than to write than Qwordle because I have decided a create a very crude searchable dictionary "database" with variable length fields from scratch. (to practice programming).

I have already improved Qwordle and will post a new version sometime in the future.


Derek_Stewart
Font of All Knowledge
Posts: 4790
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: Qwordle

Post by Derek_Stewart »

Hi

I wrote a little word guessing game to extract words from an existing dictionary, which was actually smalldict from the QL Homepage.

I modified the dictionary to be word, definition.

The word was selected at random, sorted alhabetical and the definition was displayed with the alpbetically ordered word to guess the actual word.

All simple in SBASIC, this was mainly for myself to indulge. But I try and add QPTR windowing, and make more professional.


Regards, Derek
User avatar
bwinkel67
QL Wafer Drive
Posts: 1549
Joined: Thu Oct 03, 2019 2:09 am

Re: Qwordle

Post by bwinkel67 »

I recently found a BASIC Wordle game for the ZX81 that seems to run without modifications on my ZXSimulator.
ZXSimulator-wordle.png
The latest version of ZXSimulator can be found here:

viewtopic.php?f=3&t=3193&start=130#p42391

(I should really stick the zx.zip file on my website to make it simpler to download: http://ZXSimulator.orgfree.com

Here is the BASIC game (file also included for simplicity):
wordle_bas.zip
(798 Bytes) Downloaded 86 times

Code: Select all

10 CLS
20 PRINT "  GUESS THE %W%O%R%D%L%E IN 6 TRIES"
30 PRINT
40 PRINT "EACH GUESS MUST BE A FIVE-LETTER"
50 PRINT "WORD. HIT ENTER BUTTON TO SUBMIT"
60 PRINT
70 PRINT "        AFTER EACH GUESS,"
80 PRINT "     A STRING CONSISTING OF"
90 PRINT "CHARACTERS, INVERTED CHARACTERS,"
100 PRINT "AND DOTS WILL APPEAR TO SHOW HOW"
110 PRINT "CLOSE YOUR GUESS WAS TO THE WORD"
120 PRINT
130 PRINT "EXAMPLE FOR THE WORD %M%O%U%S%E" 
140 PRINT
150 PRINT "SHAKE > S...%E"
160 PRINT
170 PRINT " S - WORD CONTAINS THE LETTER"
180 PRINT " . - LETTER NOT IN WORD"
190 PRINT " %E - LETTER CORRECT POSITION"
200 PRINT
210 PRINT "    PRESS ANY KEY TO START."
220 IF INKEY$ = "" THEN GOTO 220
230 CLS
300 RAND
310 LET A$="HELLOWORLDBASICWORDSTHINKAPPLEFIRSTMOUSERADIOPOWERSWEETBROWNSHAKEROBOTPRINTDIODE"
320 LET B=(INT(RND*(LEN(A$)/5))*5)+1
330 LET B$=A$(B TO B+4)
340 LET D=1
350 PRINT "WHAT IS THE WORD?"
355 PRINT
360 INPUT C$
370 IF LEN(C$) <> 5 THEN GOTO 360
380 PRINT C$;" > ";
400 FOR N = 1 TO 5
410 IF C$(N) <> B$(N) THEN GOTO 440
420 PRINT CHR$(CODE(C$(N))+128);
430 GOTO 500
440 FOR M = 1 TO 5
450 IF C$(N) <> B$(M) THEN GOTO 480
460 PRINT C$(N);
470 GOTO 500
480 NEXT M
490 PRINT ".";
500 NEXT N
510 PRINT
520 IF B$=C$ OR D>5 THEN GOTO 600
530 LET D=D+1
540 GOTO 360
600 PRINT "GAME OVER"
610 STOP
It's litterally a copy and paste from the GitHub site:

https://github.com/dadecoza/zx81wordle/ ... wordle.bas


Post Reply