/320-F21-Track-1

Primary LanguageJavaBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

320-F21-Track-1

A simple board game editor, engine, and player written in Java by Track 1 of David Fisher's fall 2021 CS320 course taught at The University of Massachusetts Amherst. Hosted at https://github.com/david-fisher/320-F21-Track-1.

Demo-or-Die Info

  • Te4m used the branch demo-or-die during their portion of the presentation as it contained the console demo file that was used as the demo frontend for the game engine that they created since the UI frontend was not integrated with it in time for the demonstration.
  • Team Omnicron used the branch team-omnicron during their portion of the presentation as it had some changes to the inventory's functionality and also the game baord itself that was shown today as we were not able to push these changes to main in eenough time to run everything from the main branch.

Teams

What is a Game Editor/Engine?

A game editor and engine provide tools and an interface for a user to create video games with.

What is a Game Player

A game player allows a user to run a created game and interact with it through a GUI.

Structure

Setup

Requirements

  • Java 17
  • Javafx

General Installation Guidelines

  1. Clone 320-F21-Track-1 from its GitHub repo.
  2. Install JDK (version 17).
  3. Download JavaFX .jar files.
  4. Download gson .jar file. if not available
  5. Add JavaFX and gson .jar filepaths to IDE reference library (ensure module imports are correct for JavaFX).
  6. Compile program using java from the /src/gamePlay/mainMenu/main.java file.

Linux Specific Installation

Install openjdk-17-jre
sudo apt-get install openjdk-17-jre

Mac Specific Installation

For installation, we will be using Homebrew.

Install adoptopenjdk17
brew install --cask adoptopenjdk17

GSON installation if the jar file is not available

Gradle:

dependencies {
  implementation 'com.google.code.gson:gson:2.8.9'
}

Maven:

<dependency>
  <groupId>com.google.code.gson</groupId>
  <artifactId>gson</artifactId>
  <version>2.8.9</version>
</dependency>

Or check the Official Github!