Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
BlackJack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Amigoni Nicholas (Student Com20)
BlackJack
Commits
f8f89bec
Commit
f8f89bec
authored
3 years ago
by
Leo Kerschbaumer
Browse files
Options
Downloads
Patches
Plain Diff
updated readme
parent
8ee8c6e1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+34
-2
34 additions, 2 deletions
README.md
with
34 additions
and
2 deletions
README.md
+
34
−
2
View file @
f8f89bec
...
@@ -6,6 +6,8 @@ Marco Sciacovelli, Lisa Mussner and Leo Kerschbaumer
...
@@ -6,6 +6,8 @@ Marco Sciacovelli, Lisa Mussner and Leo Kerschbaumer
## What is the project about?
## What is the project about?
Our project is a BlackJack game implemented in Java using JavaFX.
Our project is a BlackJack game implemented in Java using JavaFX.
For reference please refer to https://en.wikipedia.org/wiki/Blackjack.
For reference please refer to https://en.wikipedia.org/wiki/Blackjack.
We are still working on multiplayer for this application but that feature is still
in development.
The user can enter a username and play
The user can enter a username and play
against the dealer. Lisa moch du des bitte ;)
against the dealer. Lisa moch du des bitte ;)
...
@@ -48,7 +50,9 @@ these might change when using an IDE (eg. IntelliJ or Eclipse), where you can ru
...
@@ -48,7 +50,9 @@ these might change when using an IDE (eg. IntelliJ or Eclipse), where you can ru
please message us on LeKerschbaumer@unibz.it
please message us on LeKerschbaumer@unibz.it
## Requirements
## Requirements
-
Java 15 or above
-
Java 15 or above link
-
maven link
-
JAVA HOME variable must be set correctly
`link`
for windows...
## Usage
## Usage
This application is an implementation of the popular card game Blackjack.
This application is an implementation of the popular card game Blackjack.
...
@@ -67,13 +71,41 @@ two options are presented:
...
@@ -67,13 +71,41 @@ two options are presented:
## Implementation
## Implementation
To implement this project we used the javaFX.
To implement this project we used the javaFX.
1.
We used
`collections`
(lists) to save the cards in hand and deck.
2.
Custom Exception are thrown when a certain case arrives during the game
ex. when no bet is set and the player wants to start the round
#3. Exceptions are handled so the application does not crash unexpectedly
4.
Method overriding ex. toString..
5.
Lambdas for event listeners
6.
Streams
7.
File I/O for card backs
8.
Regex to check username does not contain special characters
9.
Observer pattern by using event listeners
10.
Test hooks
11.
serialization for log
We use some basic classes as logic (Hands, Player, Deck, Card). The GUI uses JavaFX
while the logic for the GUI resides in a controller.
.
.
.
## Our experience in this project
We organized ourselves using an application called Clickup. It allows us to create
tasks and notes as well as assign those tasks to a team member. It also features
a mindmap and other functionality which helped us to keep track of what needed to be done.
Git helped us share our code. We used feature branches to develop different parts of the
project for example the logic or the gui.
###challenges
-
Marco:
-
Lisa:
-
Leo:
## Licensing
## Licensing
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment