ucsb-cs56-projects / cs56-games-blackjack

-
9 stars 12 forks source link

cs56-games-blackjack

This is a current working version of a Blackjack game with a GUI. It can also be found at these links:

Running the game

simply use the command:

ant run

W14 final remarks

Most of the code you will be working on will be located in the BlackJackGui.java file. Things will be much easier if you can separate the code inside that file and put them into their own separate files because currently BlackJackGui.java is a very long file with literally every single frame the game uses. There are still some bugs in the game: ex.) When a player tries the "Add Money?" button. All the bugs are related to the GUI and not the game logic.

Recent changes
Possible improvements
Other former Blackjack projects

These are past projects which may have similar/missing features.

F16 final remarks

We fixed the following issues:

Currently the application runs well except for the split option. Most of the improvements needed are inside the BlackJackGui.java file. This class needs to be refactored - perhaps there is a design pattern that will work well. One notable bug in the Gui that has not been resolved is that the 'Hit' and 'Stay' buttons move around depending on which players turn it is. Possible paths of pursuit are as follows.

TO-DO:

Javadoc link here.

F17 final remarks

What the code does:
What features could be Added:
What bugs exist:
What opportunities for refactoring:
What advice do we have: