BC Game With Lots Of Words and Lengths + Hint System & Word Definitions

Hello, I had a question about making my game even more advanced. I was playing my game and would come across words I have never heard before, so I had a thought, what if at the end of the game, win or lose, it defined the hidden word. However, when I was attempting to make this happen, I could not figure out how to access either a website such as dictionary.com or find a file with definitions of all English words. Any help with this would be greatly appreciated!
Heres what I have so far:
BullCowGame.zip (126.0 KB)

Update - After looking into API’s further, it appears that they would be a great solution in order to automate the definitions. However, I am not good enough at c++ yet to figure out the implementation. So I added more of a community effort type thing. It will now ask the user to define a word if there is no entry in the file already. So here’s the Updated version with definitions now. As I define more words, I will post the .txt files here.

BullCowGame.zip (131.7 KB)

Will look at your work when I’ve completed the game myself, but I like your ideas.

Expanding on your hint/word definition idea, maybe you could also chose to get the definition of the word as a hint? But first problem to solve there is as you say to get access to such a thing.

Seems like dictionary.com had an API back in 2010 or something, but I couldn’t find any current information about it. I found this site though that lists a bunch of sites with available APIs, https://www.programmableweb.com/category/dictionary/api
Maybe you could find something there?

Hey, Thanks for the response. I have found 2 possible API’s that could work Here and Here. However, I am unfamiliar with API’s and do not know how to implement them. I’ll do some more research and attempt to use this. Thank you again.

1 Like

I can’t help you with the use of the APIs because I have more or less no idea myself. :slight_smile:

Good luck and here’s hoping you’ll figure it out.

Well done! I liked the definition idea, I really consider quitting now after realizing how far behind my game is compared to yours :joy: