Newer
Older
## By twentyonecoders :
## What is the project about?
Our project is a BlackJack game implemented in Java using JavaFX.
For reference please refer to https://en.wikipedia.org/wiki/Blackjack.
The user can enter a username and play
against the dealer. Lisa moch du des bitte ;)
## programming techniques used
1. Collections
2. Custom Exception
3. Exception handling
4. Method overriding
5. Lambdas
6. Streams
7. File I/O
8. Regex
9. Observer pattern
10. Test hooks
11. serialization
these might change when using an IDE (eg. IntelliJ or Eclipse), where you can run the maven goals from the IDE directly.
###download or clone the project
1. Download the project from gitlab or clone it using ssl or https.
### Command Line
3. `cd` into the project's root directory
### compile the project
4. Run `mvn clean compile` to compile the project
### test the project
5. Run `mvn test` to run the tests.
### run the project
6. Run `mvn javafx:run` to run the app.
## Problems running the application ?
please message us on LeKerschbaumer@unibz.it
- Java 15 or above
## Usage
This application is an implementation of the popular card game Blackjack.
The user enters a username and clicks on `start`. The application then proceeds to the
main scene. If the player is unsure about the rules the info button in the top left corner
may be clicked to show the games rules. The chips at the top of the screen are clickable buttons with which the user can
bet virtual money. In the top right corner the player's money can be seen. Bets and wins
are subtracted and added to the player's money accordingly. When the player has carried out
the bets, he can press the `ready` button, and the initial card will be dealt. The player
may press `hit` or `stand` now. By pressing hit another card will be dealt. By pressing stand
on the other hand, the player's turn ends, and the dealer may request further cards.
At the end of the wound a pop up appears and informs the player about the result. Afterwards
two options are presented:
- continue
- exit the game
## Implementation
To implement this project we used the javaFX.
## Licensing
Copyright 2021 twentyonecoders
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy
of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.
A copy of the license is available in the repository's license.txt file.