Author Topic: hangman64  (Read 6629 times)

0 Members and 1 Guest are viewing this topic.

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: hangman64
« Reply #15 on: October 08, 2020, 05:21:58 pm »
Ok. I cheated....

I grabbed a list of "west" words and hopefully removed all the words longer than 10 chars... and yes... tumbleweed is listed... lol

J

(about 290 words)
* west-words.txt (Filesize: 2.17 KB, Downloads: 192)
Logic is the beginning of wisdom.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: hangman64
« Reply #16 on: October 08, 2020, 05:23:25 pm »
Thanks I will check out.

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: hangman64
« Reply #17 on: October 08, 2020, 06:40:59 pm »
Here is the complete wordlist (10 chars or less) from the Vocab program. (about 11,927 words)
* words.txt (Filesize: 101.97 KB, Downloads: 281)
Logic is the beginning of wisdom.

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: hangman64
« Reply #18 on: October 08, 2020, 07:26:54 pm »
I have made a slight modification to the game.

Game now checks for the existence of the word list. Counts the number of words. Dimension's wordlist$() accordingly then inputs the word list. Text message displayed if file does not exist...

It works but probably could be coded better... It's what i know... lol

J

 
Logic is the beginning of wisdom.

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: hangman64
« Reply #19 on: October 08, 2020, 07:32:59 pm »
Might want to use DATA statements to embed a minimal set of words into the program.  Then, if the text file is missing, or corrupted, the game can still be played, with a reduced difficulty.  ;)
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: hangman64
« Reply #20 on: October 08, 2020, 07:38:39 pm »
Here is the complete wordlist (10 chars or less) from the Vocab program. (about 11,927 words)

Oh man I remember way back a certain list of unheard of unspellable words ;-))

Yep! first 2 words were: "decadist", "urinator"
« Last Edit: October 08, 2020, 07:46:20 pm by bplus »

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: hangman64
« Reply #21 on: October 08, 2020, 09:27:14 pm »
Steve,

Good idea. Sounds like a plan.

Bplus,

All the word in there are real. But, I think, 11k+ words may be a bit of an overkill... lol
I think a smaller file and Steve's idea may be the way to go...

Wouldn't it be cool to have a choice (or random selection) of multiple word lists and multiple themes? I've seen differently themed Hangman games but not multi-themed in one game... Could be fun... Might put it on "the wish list"...

Time for coffee with a lunch chaser...

J
Logic is the beginning of wisdom.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: hangman64
« Reply #22 on: October 08, 2020, 09:32:05 pm »
Quote
Might put it on "the wish list"...

A Star Trek Themed version. Oh hey do you remember the Next Generation episode were they found themselves in a bar room from the old west?
« Last Edit: October 08, 2020, 09:34:12 pm by bplus »

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: hangman64
« Reply #23 on: October 09, 2020, 12:34:44 am »
"A fist full of Datas" - Season 6 Episode 8...
Logic is the beginning of wisdom.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: hangman64
« Reply #24 on: October 09, 2020, 10:59:32 am »
OMG they have figurines from that Episode!

Oh it was from the Original Star Trek, Spectre of the Gun, that I am remembering, I think?
« Last Edit: October 09, 2020, 11:08:04 am by bplus »

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: hangman64
« Reply #25 on: October 09, 2020, 06:29:11 pm »
25th Oct 1968... Season 3 Episode 6... Good memory!
« Last Edit: October 09, 2020, 06:30:51 pm by johnno56 »
Logic is the beginning of wisdom.