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