Re: [Freedos-devel] Wordy - a word puzzle game (sample code)

2022-01-07 Thread Jim Hall
> On Fri, 7 Jan 2022, Jim Hall wrote:
>
> > Hi everyone
> >
> > I wrote a quick sample game that is kind of fun, so wanted to share it.
> >
> > Wordy is a word puzzle game for DOS. You have six attempts to guess
> > the mystery five-letter word. After each guess, the game highlights
> > your letters: black if that letter does not exist in the mystery word,
> > orange if the letter exists but not in that location, green if the
> > letter exists in that location.
> >[..]


On Fri, Jan 7, 2022 at 4:36 PM Steve Nickolas  wrote:
>
> Sounds like a fancier version of a number game MECC used to call "Bagels".
>


Basically, yeah. There are lots of ways to do a puzzle game. Another
way to look at this is it's sort of like Mastermind (or "Dr Mind" on
DOS) with letters instead of colored pegs. :-)


___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] Wordy - a word puzzle game (sample code)

2022-01-07 Thread Steve Nickolas

On Fri, 7 Jan 2022, Jim Hall wrote:


Hi everyone

I wrote a quick sample game that is kind of fun, so wanted to share it.

Wordy is a word puzzle game for DOS. You have six attempts to guess
the mystery five-letter word. After each guess, the game highlights
your letters: black if that letter does not exist in the mystery word,
orange if the letter exists but not in that location, green if the
letter exists in that location.

If you've heard of the Wordle game (an online free word puzzle game)
Wordy is basically that.

I've posted the code at:
https://github.com/freedosproject/wordy

(MIT license)

I haven't added the code to pick a random word from a list of possible
five-letter words. This was just some sample code so I didn't do that.
But the code is easy enough to update; feel free to send a pull
request. (I'd add a function to main. That's probably the easiest way,
and what I had in mind when I wrote Wordy.)


Jim


Sounds like a fancier version of a number game MECC used to call "Bagels".

-uso.


___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


[Freedos-devel] Wordy - a word puzzle game (sample code)

2022-01-07 Thread Jim Hall
Hi everyone

I wrote a quick sample game that is kind of fun, so wanted to share it.

Wordy is a word puzzle game for DOS. You have six attempts to guess
the mystery five-letter word. After each guess, the game highlights
your letters: black if that letter does not exist in the mystery word,
orange if the letter exists but not in that location, green if the
letter exists in that location.

If you've heard of the Wordle game (an online free word puzzle game)
Wordy is basically that.

I've posted the code at:
https://github.com/freedosproject/wordy

(MIT license)

I haven't added the code to pick a random word from a list of possible
five-letter words. This was just some sample code so I didn't do that.
But the code is easy enough to update; feel free to send a pull
request. (I'd add a function to main. That's probably the easiest way,
and what I had in mind when I wrote Wordy.)


Jim


___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] Installer NLS Questions

2022-01-07 Thread Jerome Shidel
Hello,

> On Jan 7, 2022, at 7:12 AM, Emir SARI via Freedos-devel 
>  wrote:
> 
> Hello Jerome,
> 
>> Boot to standard US English Codepage.
> 
> Changed the codepage to 437, verified with broken Turkish display characters.
> 
>> Then run them through the conversion program (mkvV8Font). You will see that 
>> some characters in the normal codepage are aligned differently. You will 
>> want to tell it to include those in the new font as well (Press Y). If you 
>> tell the program to try auto mode, I don’t recall if it will auto-accept 
>> different alignment. It’s been a while since I through that program together.
> 
> Run the CP857.FNT font file through the program (just gave the file name as 
> argument), manually approved all characters with “y”, it told me that it 
> saved all the characters. I see that there is a file named .V8F is saved, 
> renamed it to CP857.V8F.
> 
> On another note, all characters baseline seemed to be the same.
> 
>> Once, you created the V8F file. While still Using the English codepage, load 
>> it using vfont and just set LANG=TR. The run"PKGINFO /d /p” to output a 
>> bunch of text and verify it looks correct. 
> 
> It says: “Invalid font file format”.
> 
> Did I do something wrong?

Hmmm, it is possibly a bug in the conversion program. It was thrown together 
very quickly and only has been used a couple times. 

So, did you approve all 256 characters or just the alpha-numeric ones? If it 
was just yes to everything, the program might have had issues generating the 
V8F file. 

Did you make any character changes? If so, send me a set and change them over. 
If not, I’ll just convert the existing version I have again. Making sure to 
include all alphabet characters. Not just the language changed/new ones.

Jerome



> 
> Best regards,
> Emir (𐰽𐰺𐰍)
> 
>  ** E-mail needs to stay simple
>  ** Use plain text e-mail
> 
> ___
> Freedos-devel mailing list
> Freedos-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-devel



___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] Installer NLS Questions

2022-01-07 Thread Emir SARI via Freedos-devel
Hello Jerome,

> Boot to standard US English Codepage.

Changed the codepage to 437, verified with broken Turkish display characters.

> Then run them through the conversion program (mkvV8Font). You will see that 
> some characters in the normal codepage are aligned differently. You will want 
> to tell it to include those in the new font as well (Press Y). If you tell 
> the program to try auto mode, I don’t recall if it will auto-accept different 
> alignment. It’s been a while since I through that program together.

Run the CP857.FNT font file through the program (just gave the file name as 
argument), manually approved all characters with “y”, it told me that it saved 
all the characters. I see that there is a file named .V8F is saved, renamed it 
to CP857.V8F.

On another note, all characters baseline seemed to be the same.

> Once, you created the V8F file. While still Using the English codepage, load 
> it using vfont and just set LANG=TR. The run"PKGINFO /d /p” to output a bunch 
> of text and verify it looks correct. 

It says: “Invalid font file format”.

Did I do something wrong?

Best regards,
Emir (𐰽𐰺𐰍)

  ** E-mail needs to stay simple
  ** Use plain text e-mail

___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel