Giter VIP home page Giter VIP logo

l3-java2's Introduction

L3 Java-2

Table of Contents

About

This project was developed as an end project for a Java-2 course. It is composed of a graphical interface built with JavaFX with a small scene manager, and uses JSON files.

It is a game based on the weakest link, where 4 players have to answer questions (Round-Robin selection) on various topics, with an increasing difficulty, until there is only one player left.

Getting Started

Prerequisites

JDK 14

Download and install the JDK 14. This version is mandatory It may be an auto-download in your IDE parameters (in SDK options). Otherwise, you can download Open JDK 14, store it in a known folder, and add it in the list of SDK in your IDE.

With Gradle

If you are using a personal installation of Gradle, verify that the version is at least 6.3.

Without Gradle

This section is only for those who don't want to use Gradle

JavaFX

Download JavaFX 14. It is the library used to handle the GUI.

org.json

Download the org.json library. It is used to easily store information in files when serialization is not possible.

Installing

Cloning

First thing to do is to clone the repository:

git clone [email protected]:nerstak/L3-Java2.git

If asked, select the JDK 14.

Without Gradle

Installing the libraries

First, place libraries in a known folder (lib is a good one), and add them to your Java project (for JavaFX, you have to select the inner lib folder). This manipulation mays depends on your development environment.

For JavaFX, you will need to go further and follow the tutorial, depending on your IDE (check the section Non-modular from IDE corresponding to yours, from step 2). Be careful when adding the path in the VM options, it needs to be absolute.

With Gradle

Verify that the version of the JVM used by Gradle is the JDK 14 you downloaded.

Usage

Without Gradle

Run the application, using the main function located in src/Project/Main.java as a target.

Without Gradle

Build the application with the task build.build.

Run the application with the task application.run.

l3-java2's People

Contributors

nerstak avatar rhadamanthe0 avatar tr4hern avatar

Watchers

 avatar

l3-java2's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.