Skip to content

add basic game window #65

Merged
merged 1 commit into from
Apr 10, 2026
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions src/main/java/edu/ntnu/idi/idatt2003/gruppe42/Millions.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,24 @@
package edu.ntnu.idi.idatt2003.gruppe42;

public class Millions {
public static void main(String[] args) {
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.BorderPane;
import javafx.stage.Stage;

public class Millions extends Application {

@Override
public void start(Stage stage) throws Exception {
BorderPane root = new BorderPane();
Scene scene = new Scene(root, 900, 700);

stage.setTitle("Millions");
stage.setScene(scene);
stage.setFullScreen(true);
stage.show();
}

public static void main(String[] args) {
launch(args);
}
}
12 changes: 0 additions & 12 deletions src/test/java/edu/ntnu/idi/idatt2003/gruppe42/MillionsTest.java

This file was deleted.