Word Helper Web App

Bringing your stacks to the web

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
bobcole
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 133
Joined: Tue Feb 23, 2010 10:53 pm
Location: Saint Louis, Missouri USA

Word Helper Web App

Post by bobcole » Wed Mar 09, 2022 8:51 pm

The conjunction of LiveCode 10 and immensely popular Wordle app inspired my thought of writing an app to help players and, at the same time, gain experience with the web assembly (wasm) capabilities of this upcoming version of LiveCode. I have a feeling that wasm has a bright future (see article link below) and LiveCode 10 will be a way to take advantage of that future.
What I wrote is not a game; it is a helper web app (beta version 4) programmed in LiveCode 10 and published to my web server (LiveCode Hosting).
I would enjoy hearing any comments, suggestions or questions about the app.
https://morrevbon.com/wordlehelper.html
If anyone is interested, I will be happy to post the stack here.
Bob

Here is an article from InfoWorld about Web Assembly:
https://www.infoworld.com/article/36515 ... embly.html

livecodeali
Livecode Staff Member
Livecode Staff Member
Posts: 192
Joined: Thu Apr 18, 2013 2:48 pm

Re: Word Helper Web App

Post by livecodeali » Wed Mar 09, 2022 9:38 pm

Hi Bob! That's a cool idea, I like your stack - I did a thing that's somewhat similar (https://alilloyd.livecodehosting.com/wo ... ester.html), although most of my effort went into trying to suggest the optimal word and is really a companion to a 'solver' I wrote (https://alilloyd.livecodehosting.com/wo ... olver.html). Yours is much more helpful when in the middle of a game of Wordle though!

stam
Posts: 2599
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: Word Helper Web App

Post by stam » Wed Mar 09, 2022 11:53 pm

Nice solutions, thank you both!
this works well, most of the time impressively finding words in 3 tries.

However entering the word pando makes it fail after the 3rd try with a non-specific error...

bobcole
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 133
Joined: Tue Feb 23, 2010 10:53 pm
Location: Saint Louis, Missouri USA

Re: Word Helper Web App

Post by bobcole » Thu Mar 10, 2022 1:17 am

@stam:
I used my program and found that PANDO is not a word in the original wordle list. That must be why Ali's program choked; it couldn't find that word.

@Ali
If you feel like revising your program you could check the entry before trying to solve.
Your web page looks so much better than mine! I'll have to play with the html. With just a quick look with Safari's Web Inspector, I couldn't see how you centered the program in the browser window. I'll spend more time studying your web page later, Solvador D'Ali.

Bob C

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7210
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Word Helper Web App

Post by jacque » Thu Mar 10, 2022 6:34 pm

Solvador D'Ali
That's great! Too bad you'll never again be able to use it.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

bobcole
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 133
Joined: Tue Feb 23, 2010 10:53 pm
Location: Saint Louis, Missouri USA

Re: Word Helper Web App

Post by bobcole » Thu Mar 10, 2022 11:39 pm

@jacque:
Just so the source of this sobriquet is recognized correctly, it comes from Ali himself. In his solver program he used this title tag in his html code.
<title>Solvador D'Ali</title>
In addition to being a genius, he also has a delightful sense of humor.
Bob

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7210
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Word Helper Web App

Post by jacque » Fri Mar 11, 2022 6:33 pm

Ah. I'm not surprised. Genius indeed.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

SWEdeAndy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 256
Joined: Sat Aug 16, 2008 9:48 am
Location: Stockholm, Sweden
Contact:

Re: Word Helper Web App

Post by SWEdeAndy » Sun Mar 13, 2022 4:33 pm

Heh, I also made one a while back. :D I use it almost every day, if I get stuck. It works for Swedish variants too.
https://wheninspace.com/wordle/WordleHelper.html
Andreas Bergendal
Independent app and system developer
WhenInSpace: https://wheninspace.se

bobcole
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 133
Joined: Tue Feb 23, 2010 10:53 pm
Location: Saint Louis, Missouri USA

Re: Word Helper Web App

Post by bobcole » Sun Mar 13, 2022 4:59 pm

SWEdeAndy:
Nice web app!
I am learning a little more about web assembly (wasm) and the interface (wasi) which are in LiveCode 10.
I think web apps are the direction of the future. I'm glad LC 10 makes it easy to create apps for the web.
Good job with your app,
Bob

bobcole
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 133
Joined: Tue Feb 23, 2010 10:53 pm
Location: Saint Louis, Missouri USA

Re: Word Helper Web App

Post by bobcole » Mon Mar 14, 2022 2:11 am

I changed the user interface (UI) so that now, after entering a guess word, the user can click or tap on the five individual letter boxes to toggle the different colors.
Each time the letter box is clicked or tapped the color changes and the statistics are updated. It is interesting to see the numbers change.

Here is a link to the new version (Beta 5c): https://morrevbon.com/wordhelper.html
I changed the app’s name to simply Word Helper to avoid any copyright or trademark issue with “Wordle.”
Any comments, suggestions or questions are welcome.
Thanks,
Bob

[Updated to Beta 5c from 5b. -Bob on 3/14/2022]

Post Reply

Return to “HTML5”