ProjectBeta
Crossword Scrabble
Challenging
14 completions
~ 29 hours
3.0 This content is new. Please help us improve it by reporting bugs if you encounter them.
Learn to work with collections, loops, and string manipulations with Regex. Also, learn how to read from a file and convert the data into objects.
Provided by
JetBrains Academy
About
Solving crossword puzzles and playing scrabble with friends is fun. How about combining both activities into one? In this project, create a board game where players pick seven letters and crack several words to solve a crossword puzzle. Sounds interesting?
Training project
This project allows you to practice and strengthen your coding skills, helping you get ready for more advanced tasks ahead.
What you'll learn
Once you choose a project, we'll provide you with a study plan that includes all the necessary topics from your course to get it built. Here’s what awaits you:
Write a program that reads the tile distribution from the file and displays the tile distribution in a single line.
Write a program that reads the tile distribution from the file, allows players to pick seven tiles, and forms words from the selected letter tiles. Add the menu to the program to make it easy to play.
A crossword puzzle consists of a square grid and blanks for words. In this stage, draw a grid of 15 by 15 and fill each cell with # except for the cells with letters.
Read a random line from the file that contains words and their positions. For a random line, fill the cell in the crossword with letters as described in the file.
Combine all the previous stages and construct a user-friendly game.
Reviews
2 years ago
The most useful things for me where the introduction to JSON files and the extensive usage of ArrayList<> in the various stages of the project. Bad things: extremely vague descriptions of the stages compared to what the tester asks for. The stages require many code source changes from one to ...
3.0
Learners who completed this project within the Java Desktop Application Developer course rated it as follows: