From 5f287b43f344bd0fa347091e10c91bedddbc1942 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Wed, 15 Mar 2023 13:10:35 +1100 Subject: [PATCH] skeleton: Added setup code --- assn-files/skeleton.md | 3 +-- src/comp1110/ass2/skeleton/setup.java | 32 +++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 src/comp1110/ass2/skeleton/setup.java diff --git a/assn-files/skeleton.md b/assn-files/skeleton.md index ff609e9..8fdc66b 100644 --- a/assn-files/skeleton.md +++ b/assn-files/skeleton.md @@ -77,5 +77,4 @@ If one of: ## Board * Islands (List of Islands) -* Stone Circles (List of Stone Circles) - +* Stone Circles (List of Stone Circles) \ No newline at end of file diff --git a/src/comp1110/ass2/skeleton/setup.java b/src/comp1110/ass2/skeleton/setup.java new file mode 100644 index 0000000..ab2c522 --- /dev/null +++ b/src/comp1110/ass2/skeleton/setup.java @@ -0,0 +1,32 @@ +package comp1110.ass2.skeleton; + +/** + * This class is used to set up the game. + * It creates and sets up the board. + * It then creates the players and their pieces. + * + */ +public class setup { + + + /** + * This method creates the board, islands, and stone circles. + */ + public void boardSetup(){ + + } + + /** + * This method creates a player. + */ + public void playerSetup(){ + + } + + /** + * This method holds the startup code for the game. + * It will create 2-4 players, set up the board and assign the players their pieces. + */ + public static void main(String[] args) { + } +}