Skip to content

jimmy-zx/SAC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SAC

A Tetris implementation

build

Build

git clone https://github.com/jimmy-zx/SAC.git
cd SAC
mvn package

Running

mvn javafx:run

or

java -cp target/SAC-[version]-SNAPSHOT.jar sac.App

Using IntelliJ

  1. Open the project
  2. Run -> Edit Configurations -> Add New Configuration -> Maven

Documentation

API Documentation

Design Document

Roadmap

Troubleshooting

1. Running Maven javafx:run in IntelliJ uses system default JDK rather than project JDK.

Uncheck Include system environmental variables in run configuration.

2. Error: JavaFX runtime components are missing, and are required to run this application

This should not happen when using mvn javafx:run. Add the following options to the command line:

--module-path "[path to javafx]\lib" --add-modules javafx.controls,javafx.fxml

Copyright (c) 2022 Stand Alone Complex