Skip to content

About

This venture is my first personal project, it helped me a lot to learn how to abstract the real objects of the world, besides mastering the Java syntax.

Topics

Resources

Stars

3 stars

Watchers

2 watching

Forks

Latest commit

 

History

79 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Deadly Speed

Hello!, thank you for watching this little project 🥵

This is a game of confrontation and strategy because when attacking you must also think if you can escape.

I have tried to make the code understandable so that you can build more game modes.

So I challenge you to build a new mode with a new game logic. Just make sure your classes comply with the contract of the created interfaces. ⚒️

👀 Two game modes

Quick Game
quick game
Champions League Game
Champions league game

🔧 Test the game

The game is not on the internet but you can try it on your own operating system. With theses setups are will enable the Quick Game.


1. Install Required Dependencies

Assuming that your OS is Arch Linux 💀

Install Maven

sudo pacman -S mariadb maven

⚠️ Install MariaDB if you want to play Champions League. After configuring mariadb, access your mariadb database with the root user and run the following script src/main/resources/sql/setup_database.sql. Finally, create the following tables into your fp2_23b database src/main/resources/sql/tables.sql


2. Install Deadly Speed

Clone this repository

git clone https://github.com/jorghee/Deadly-Speed.git
cd Deadly-Speed

Use Maven to manager the dependencies

⚠️ You must modify the pom.xml file to compile the project with the specific or minor version of Java installed on your operating system.

<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>

The minimun version required to this project is java 17

Compile and run with Maven's javafx-maven-plugin plugin

mvn javafx:run

Maybe you need you need to set the environment variable JAVA_HOME to the path of your JDK installation.

Find the path of your JDK installation

readlink -f $(which java) | sed "s:bin/java::"

The output of the previous command is the path of your JDK installation.

Set the environment variable, generally in the .bashrc or .zshrc file

export JAVA_HOME=/usr/lib/jvm/java-17-openjdk
source ~/.bashrc

About

This venture is my first personal project, it helped me a lot to learn how to abstract the real objects of the world, besides mastering the Java syntax.

Topics

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages