diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..8d9590a
Binary files /dev/null and b/.gitignore differ
diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 0000000..c5f3f6b
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,3 @@
+{
+ "java.configuration.updateBuildConfiguration": "interactive"
+}
\ No newline at end of file
diff --git a/client/pom.xml b/client/pom.xml
new file mode 100644
index 0000000..1b4e8a3
--- /dev/null
+++ b/client/pom.xml
@@ -0,0 +1,83 @@
+
+
+ 4.0.0
+
+
+ com.example
+ game-parent
+ 1.0-SNAPSHOT
+ ../pom.xml
+
+
+ game-client
+ Game Client
+ http://www.example.com
+
+
+
+
+
+ com.example
+ core
+
+
+
+
+ com.badlogicgames.gdx
+ gdx
+
+
+ com.badlogicgames.gdx
+ gdx-backend-lwjgl3
+
+
+ com.badlogicgames.gdx
+ gdx-platform
+ natives-desktop
+
+
+
+
+ junit
+ junit
+ test
+
+
+
+
+
+
+
+
+ maven-compiler-plugin
+
+
+
+
+ maven-assembly-plugin
+
+
+ jar-with-dependencies
+
+
+
+ com.example.client.DesktopLauncher
+
+
+
+
+
+ make-assembly
+ package
+
+ single
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/client/src/main/java/com/example/App.java b/client/src/main/java/com/example/App.java
new file mode 100644
index 0000000..940ed32
--- /dev/null
+++ b/client/src/main/java/com/example/App.java
@@ -0,0 +1,11 @@
+package com.example;
+
+/**
+ * Hello world!
+ *
+ */
+public class App {
+ public static void main(String[] args) {
+ System.out.println("Hello 12!");
+ }
+}
diff --git a/client/src/main/java/com/example/MyGdxGame.java b/client/src/main/java/com/example/MyGdxGame.java
new file mode 100644
index 0000000..4597011
--- /dev/null
+++ b/client/src/main/java/com/example/MyGdxGame.java
@@ -0,0 +1,47 @@
+package com.example;
+import com.badlogic.gdx.ApplicationListener;
+import com.badlogic.gdx.Gdx;
+import com.badlogic.gdx.graphics.GL20;
+
+public class MyGdxGame implements ApplicationListener {
+ // 游戏初始化时调用
+ @Override
+ public void create() {
+ // 加载资源、初始化游戏对象
+
+ }
+
+ // 每次渲染时调用
+ @Override
+ public void render() {
+ // 清空屏幕
+ Gdx.gl.glClearColor(0, 0, 0, 1);
+ Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
+
+ // 游戏逻辑更新和渲染
+ }
+
+ // 窗口大小改变时调用
+ @Override
+ public void resize(int width, int height) {
+
+ }
+
+ // 游戏暂停时调用(如Android上按下Home键)
+ @Override
+ public void pause() {
+
+ }
+
+ // 游戏恢复时调用
+ @Override
+ public void resume() {
+
+ }
+
+ // 游戏退出时调用,释放资源
+ @Override
+ public void dispose() {
+
+ }
+}
\ No newline at end of file
diff --git a/client/src/test/java/com/example/AppTest.java b/client/src/test/java/com/example/AppTest.java
new file mode 100644
index 0000000..22a94ca
--- /dev/null
+++ b/client/src/test/java/com/example/AppTest.java
@@ -0,0 +1,20 @@
+package com.example;
+
+import static org.junit.Assert.assertTrue;
+
+import org.junit.Test;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest
+{
+ /**
+ * Rigorous Test :-)
+ */
+ @Test
+ public void shouldAnswerWithTrue()
+ {
+ assertTrue( true );
+ }
+}
diff --git a/client/target/classes/com/example/App.class b/client/target/classes/com/example/App.class
new file mode 100644
index 0000000..dc6c756
Binary files /dev/null and b/client/target/classes/com/example/App.class differ
diff --git a/client/target/classes/com/example/MyGdxGame.class b/client/target/classes/com/example/MyGdxGame.class
new file mode 100644
index 0000000..0474278
Binary files /dev/null and b/client/target/classes/com/example/MyGdxGame.class differ
diff --git a/client/target/test-classes/com/example/AppTest.class b/client/target/test-classes/com/example/AppTest.class
new file mode 100644
index 0000000..e7c17f9
Binary files /dev/null and b/client/target/test-classes/com/example/AppTest.class differ
diff --git a/core/pom.xml b/core/pom.xml
new file mode 100644
index 0000000..2e5248d
--- /dev/null
+++ b/core/pom.xml
@@ -0,0 +1,39 @@
+
+
+ 4.0.0
+
+
+ com.example
+ game-parent
+ 1.0-SNAPSHOT
+ ../pom.xml
+
+
+
+ core
+ Game Core
+ http://www.example.com
+
+
+
+
+
+ junit
+ junit
+ test
+
+
+
+
+
+
+
+
+ maven-compiler-plugin
+
+
+
+
+
\ No newline at end of file
diff --git a/core/src/main/java/com/example/App.java b/core/src/main/java/com/example/App.java
new file mode 100644
index 0000000..b6bcb1d
--- /dev/null
+++ b/core/src/main/java/com/example/App.java
@@ -0,0 +1,13 @@
+package com.example;
+
+/**
+ * Hello world!
+ *
+ */
+public class App
+{
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello World!" );
+ }
+}
diff --git a/core/src/test/java/com/example/AppTest.java b/core/src/test/java/com/example/AppTest.java
new file mode 100644
index 0000000..22a94ca
--- /dev/null
+++ b/core/src/test/java/com/example/AppTest.java
@@ -0,0 +1,20 @@
+package com.example;
+
+import static org.junit.Assert.assertTrue;
+
+import org.junit.Test;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest
+{
+ /**
+ * Rigorous Test :-)
+ */
+ @Test
+ public void shouldAnswerWithTrue()
+ {
+ assertTrue( true );
+ }
+}
diff --git a/core/target/classes/com/example/App.class b/core/target/classes/com/example/App.class
new file mode 100644
index 0000000..b0b5fd6
Binary files /dev/null and b/core/target/classes/com/example/App.class differ
diff --git a/core/target/test-classes/com/example/AppTest.class b/core/target/test-classes/com/example/AppTest.class
new file mode 100644
index 0000000..e7c17f9
Binary files /dev/null and b/core/target/test-classes/com/example/AppTest.class differ
diff --git a/pom.xml b/pom.xml
index 368a81d..c96466a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,56 +1,107 @@
-
+
+
4.0.0
- uno.mloluyu
- game
+
+
+ com.example
+ game-parent
1.0-SNAPSHOT
- jar
+ pom
+ Game Parent
-
-
- com.badlogicgames.gdx
- gdx
- 1.12.1
-
-
- com.badlogicgames.gdx
- gdx-backend-lwjgl3
- 1.12.1
-
-
- com.badlogicgames.gdx
- gdx-platform
- 1.12.1
- natives-desktop
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
- 3.13.0
-
- 21
- 21
- --enable-preview
-
-
-
- org.codehaus.mojo
- exec-maven-plugin
- 3.1.0
-
- uno.mloluyu.desktop.Launcher
-
-
-
-
+
+
+ core
+ client
+ server
+
+
- 21
- 21
UTF-8
- 1.12.1
+ 21
+ 21
+ 1.12.1
+ 4.13.2
-
\ No newline at end of file
+
+
+
+
+
+
+ com.example
+ core
+ ${project.version}
+
+
+
+
+ com.badlogicgames.gdx
+ gdx
+ ${gdx.version}
+
+
+ com.badlogicgames.gdx
+ gdx-backend-lwjgl3
+ ${gdx.version}
+
+
+ com.badlogicgames.gdx
+ gdx-platform
+ ${gdx.version}
+ natives-desktop
+
+
+
+
+ junit
+ junit
+ ${junit.version}
+ test
+
+
+
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.11.0
+
+ ${maven.compiler.source}
+ ${maven.compiler.target}
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-assembly-plugin
+ 3.3.0
+
+
+
+
+ maven-clean-plugin
+ 3.3.2
+
+
+ maven-resources-plugin
+ 3.3.1
+
+
+ maven-jar-plugin
+ 3.3.0
+
+
+
+
+
+
\ No newline at end of file
diff --git a/server/pom.xml b/server/pom.xml
new file mode 100644
index 0000000..23c393e
--- /dev/null
+++ b/server/pom.xml
@@ -0,0 +1,68 @@
+
+
+ 4.0.0
+
+
+ com.example
+ game-parent
+ 1.0-SNAPSHOT
+ ../pom.xml
+
+
+ server
+ Game Server
+ http://www.example.com
+
+
+
+
+
+ com.example
+ core
+
+
+
+
+ junit
+ junit
+ test
+
+
+
+
+
+
+
+
+ maven-compiler-plugin
+
+
+
+
+ maven-assembly-plugin
+
+
+ jar-with-dependencies
+
+
+
+ com.example.server.ServerLauncher
+
+
+
+
+
+ make-assembly
+ package
+
+ single
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/server/src/main/java/com/example/App.java b/server/src/main/java/com/example/App.java
new file mode 100644
index 0000000..b6bcb1d
--- /dev/null
+++ b/server/src/main/java/com/example/App.java
@@ -0,0 +1,13 @@
+package com.example;
+
+/**
+ * Hello world!
+ *
+ */
+public class App
+{
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello World!" );
+ }
+}
diff --git a/server/src/test/java/com/example/AppTest.java b/server/src/test/java/com/example/AppTest.java
new file mode 100644
index 0000000..22a94ca
--- /dev/null
+++ b/server/src/test/java/com/example/AppTest.java
@@ -0,0 +1,20 @@
+package com.example;
+
+import static org.junit.Assert.assertTrue;
+
+import org.junit.Test;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest
+{
+ /**
+ * Rigorous Test :-)
+ */
+ @Test
+ public void shouldAnswerWithTrue()
+ {
+ assertTrue( true );
+ }
+}
diff --git a/server/target/classes/com/example/App.class b/server/target/classes/com/example/App.class
new file mode 100644
index 0000000..b0b5fd6
Binary files /dev/null and b/server/target/classes/com/example/App.class differ
diff --git a/server/target/test-classes/com/example/AppTest.class b/server/target/test-classes/com/example/AppTest.class
new file mode 100644
index 0000000..e7c17f9
Binary files /dev/null and b/server/target/test-classes/com/example/AppTest.class differ