The word hunter game typically consists of scrambled letters in a grid in which a player seeks for hidden meaningful words.

computer science

Description

The word hunter game typically consists of scrambled letters in a grid in which a player seeks for hidden meaningful words. Hidden words are placed vertically, horizontally or diagonally. They may overlap but cannot be in a zigzag form or wrap around. Your task is to create a word hunter puzzle and let the player play the game.


Assignment: You will create a puzzle map with a 20x20 grid where each cell contains a character. To build a puzzle map, you must do the followings: 

• You are given a list of 100 words. You will choose 10 random words from this list and place them in the puzzle table with random directions and positions. (Remember words can be scribed left to right, top-down, diagonally or in the reverse order of these directions) 


• Following word placement, you will fill the rest of the board with random characters.


Gameplay: On each turn, the puzzle and the selected word list are printed on the screen with lowercase characters. Puzzle board should be printed with the corresponding coordinates as a chessboard. The coordinate of the top-left corner should be a0 and the bottom right should be o14


Related Questions in computer science category