Skip to content

This is a C program for a word game called Weaver.

Notifications You must be signed in to change notification settings

juebenjamin/Weaver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Weaver

This is a C program for a word game called Weaver. The game involves finding a path between a starting word and an ending word by changing one letter at a time, with each intermediate word being a valid word. The program reads a list of valid words from a file and stores them in an array. It then prompts the user to enter the desired length of the words to be used in the game, and selects words of that length from the array. The program then plays the game with the user, prompting them to enter a starting word and an ending word, and then prompting them to enter words that are one letter different from the previous word and also in the array. The program keeps track of the number of moves made by the user and prints a congratulatory message when the user successfully reaches the ending word. After the game is over, the program gives the user the option to play again with the same word length, change the word length and play again, or exit the program. The program uses functions to perform various tasks such as adding a word to the array of words, freeing the memory allocated for the array and the words in it, checking if a word is valid, and selecting a random word from the array.

About

This is a C program for a word game called Weaver.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages