Skip to content

This program is about horse racing management. This allows for easy entry and management of information and selection of winners.

Notifications You must be signed in to change notification settings

HirudikaAnupama/Horse-Racing-Management-System

Repository files navigation

Horse Racing Management System

This program is to facilitate and speed up horse race management


SH1


Introduction of main functionality

This program is designed using Java and consists of 9 classes according to functionality. javaFX is used to provide a rich user interface.

SH1

  • Horse details need to be entered initially and then the entered details can be deleted, updated and viewed.
  • Then all the entered details can be saved in text files
  • After entering and saving all the details we can randomly select 4 total 1 horse from each group.
  • After randomly selecting the horses we can select 3 winning horses.

Depending on the functionality of each class, FXML files are used in javaFX

SH1

From the following instructions we can get a good idea about the functionality of this program.

Adding horse details


SH1

First all the fields about the horse need to be filled and then it needs to be confirmed.


SH1



Deleting horse details

Then user can delete entered horse details using entered horse ID.


SH1


Updating horse details

The update horse details functionality can be used if the user wants to update the entered horse details.


SH1


View horse details

User can view entered horse details sorted by horse ID. In this method bubble sorting method was used to sort this.


SH1


Save horse details

After entering the information, the entered details can be saved in horse details text files.
There are 4 text files by horse groups and one file for all horse details.


SH1


Below are the files where all the details are stored.

SH1


How details are stored in the file is as follows

SH1


Select random horses

After saving the details in the text files random horses can be selected from the text file.
One choice will be selected from each group


SH1


Select winning horses

Winners may then be selected from randomly selected horses.
There are 3 winning horses and their location, time and place can be viewed.
A bar graph of winning horses by winning time can also be seen.


SH1


Introductions for usage

  • Only 20 horses details can be entered into this program. If you want to increase this value, you can update it inside the code algorithm.
  • If you have entered invalid details for the mandatory fields it will alert you by generating a message.
  • When entering a horse's name, only the horse's first name should be entered.
  • The names of the horses must be different.

More information on functionality

From these links, you can watch videos on how to run the program and how it works.


Key Features

  • Implementation of program using java.
  • Correct handling and use of Java Object Oriented Programming concepts.
  • build up rich user interface using javaFX.
  • Correctly building a code from scratch.

Installation

  • First of all you need to install git and java into your computer.

  • Then open command prompt and select your project installation directory as below code,

    cd "At this point you must provide your directory"
    Eg : cd desktop

  • Then place this code. After executing this code the project is in the selected directory.

    git clone https://github.com/HirudikaAnupama/Horse-Racing-Management-System.git

  • You can then run this program using the appropriate IDE.

    Eg : IntelliJ IDEA, Eclipse

  • The main class of this program is inside the src folder.


Contact

About

This program is about horse racing management. This allows for easy entry and management of information and selection of winners.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published