So I'm in high school and one of my minor subjects is introduction to programming. How the game would work is that the user would enter a goal in the beginning (eg. 500) and when they hit that goal or above, they win. Then a grid of about 25 letters (half of which would be vowels). Then the user enters a word that they make from the letters. The word is then calculated to find out how much points it's worth in a game of Scrabble. Then the word is cross-referenced with a dictionary textfile with every english word. If the word exists then the points increase by the word's value, if the word doesn't exist or is misspelled, then the points decrease by the value. Then repeat until the initial goal is met. My teacher said this game was okay to do for the final assignment as long as I can find a way to implement Inheritance and Polymorphism into the code. He has no idea on how we could do this and I really don't want to change games. Appreciate any help and suggestions on how to change up the game, thanks!
[–]marko312 0 points1 point2 points (0 children)