CS110留学生辅导、讲解Java程序、Java编程调试、辅导GUI class

- 首页 >> Java编程

CS110 Project –– Boggle

Phase 3: Due Wednesday, December 5th

60 points, Complete javadocs documentation required for game classes, abbreviated

documentation on GUI class(es).

You must submit ALL files required to run your game in one zip file.

Implementation – Phase III

This final phase of implementation for your game will be applying a graphical user interface,

using JavaFX. You will create a GUI class (or classes) that will replace the BoggleText class

from Phase II. You are ‘unplugging’ the BoggleText class and ‘plugging in’ in the GUI version.

You may make minor modifications, if needed, to your existing classes, however, your GUI

class(es) should be independent of the other classes.

When the game begins, the GUI should show

the 4 x 4 game board (the letters)

A list of words already submitted (initially none)

the current score (initially zero)

A button to submit a word

An End Game button

The user should be able to

Select or enter a letter – the letters they’ve selected so far should be indicated visually.

Submit the letters that they’ve selected as a word - if a valid word, it should be added to

the word list and current score increased; if not valid, a message should display

indicating that. Then the visual of the selected letters should be reset.

End the game – the program exits.

Extra Credit. Additional features you can add (for extra points)

Allowing the user to deselect the most recently-selected letter. (1 oint)

Adding a timer that makes it a timed game. (3 points)

Allowing the user to start a new game. (2 points)

Early submission bonus: If you submit your program early. (1 pt/day, max 5 pts)


站长地图