Skip to content

Commit f40f304

Browse files
author
Replit user
committed
created a space invader game using java
1 parent 6d20963 commit f40f304

16 files changed

+436
-0
lines changed

.breakpoints

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"files": {}
3+
}

.classpath

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" output="target/classes" path="src/main/java">
4+
<attributes>
5+
<attribute name="optional" value="true"/>
6+
<attribute name="maven.pomderived" value="true"/>
7+
</attributes>
8+
</classpathentry>
9+
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
10+
<attributes>
11+
<attribute name="optional" value="true"/>
12+
<attribute name="maven.pomderived" value="true"/>
13+
<attribute name="test" value="true"/>
14+
</attributes>
15+
</classpathentry>
16+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
17+
<attributes>
18+
<attribute name="maven.pomderived" value="true"/>
19+
</attributes>
20+
</classpathentry>
21+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
22+
<attributes>
23+
<attribute name="maven.pomderived" value="true"/>
24+
</attributes>
25+
</classpathentry>
26+
<classpathentry kind="src" path="target/generated-sources/annotations">
27+
<attributes>
28+
<attribute name="optional" value="true"/>
29+
<attribute name="maven.pomderived" value="true"/>
30+
<attribute name="ignore_optional_problems" value="true"/>
31+
<attribute name="m2e-apt" value="true"/>
32+
</attributes>
33+
</classpathentry>
34+
<classpathentry kind="src" output="target/test-classes" path="target/generated-test-sources/test-annotations">
35+
<attributes>
36+
<attribute name="optional" value="true"/>
37+
<attribute name="maven.pomderived" value="true"/>
38+
<attribute name="ignore_optional_problems" value="true"/>
39+
<attribute name="m2e-apt" value="true"/>
40+
<attribute name="test" value="true"/>
41+
</attributes>
42+
</classpathentry>
43+
<classpathentry kind="output" path="target/classes"/>
44+
</classpath>

.project

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>myartifactid</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.m2e.core.maven2Builder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
</buildSpec>
19+
<natures>
20+
<nature>org.eclipse.jdt.core.javanature</nature>
21+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
22+
</natures>
23+
<filteredResources>
24+
<filter>
25+
<id>1679078569810</id>
26+
<name></name>
27+
<type>30</type>
28+
<matcher>
29+
<id>org.eclipse.core.resources.regexFilterMatcher</id>
30+
<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
31+
</matcher>
32+
</filter>
33+
</filteredResources>
34+
</projectDescription>

.replit

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
compile = "javac -classpath .:target/dependency/* -d . $(find . -type f -name '*.java')"
2+
run = "java -classpath .:target/dependency/* Main"
3+
entrypoint = "Main.java"
4+
hidden = ["**/*.class"]
5+
6+
[packager]
7+
language = "java"
8+
9+
[packager.features]
10+
packageSearch = true
11+
12+
[languages.java]
13+
pattern = "**/*.java"
14+
15+
[languages.java.languageServer]
16+
start = "jdt-language-server"
17+
18+
[unitTest]
19+
language = "java"
20+
21+
[nix]
22+
channel = "stable-22_11"
23+
24+
[debugger]
25+
support = true
26+
27+
[debugger.compile]
28+
command = "javac -classpath .:/run_dir/junit-4.12.jar:target/dependency/* -g -d . $(find . -type f -name '*.java')"
29+
30+
[debugger.interactive]
31+
transport = "localhost:0"
32+
connectTimeout = 60
33+
startCommand = "java-debug"
34+
35+
[debugger.interactive.initializeMessage]
36+
command = "initialize"
37+
type = "request"
38+
39+
[debugger.interactive.initializeMessage.arguments]
40+
adapterID = "cppdbg"
41+
clientID = "replit"
42+
clientName = "replit.com"
43+
columnsStartAt1 = true
44+
linesStartAt1 = true
45+
locale = "en-us"
46+
pathFormat = "path"
47+
supportsInvalidatedEvent = true
48+
supportsProgressReporting = true
49+
supportsRunInTerminalRequest = true
50+
supportsVariablePaging = true
51+
supportsVariableType = true
52+
53+
[debugger.interactive.launchMessage]
54+
command = "launch"
55+
type = "request"
56+
57+
[debugger.interactive.launchMessage.arguments]
58+
classPaths = ["."]
59+
mainClass = "Main"
60+
61+
[deployment]
62+
build = ["javac", "-classpath", ".:target/dependency/*", "-d", ".", "$(find . -type f -name '*.java')"]
63+
run = ["java", "-classpath", ".:target/dependency/*", "Main"]
64+
deploymentTarget = "cloudrun"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.apt.aptEnabled=false

.settings/org.eclipse.jdt.core.prefs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
3+
org.eclipse.jdt.core.compiler.compliance=1.5
4+
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
5+
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
6+
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
7+
org.eclipse.jdt.core.compiler.processAnnotations=disabled
8+
org.eclipse.jdt.core.compiler.release=disabled
9+
org.eclipse.jdt.core.compiler.source=1.5

.settings/org.eclipse.m2e.core.prefs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
activeProfiles=
2+
eclipse.preferences.version=1
3+
resolveWorkspaceProjects=true
4+
version=1

Lost and found application/.project

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>Lost and found application</name>
4+
<comment>Project Lost and found application created by Buildship.</comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
</buildSpec>
14+
<natures>
15+
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
16+
</natures>
17+
</projectDescription>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
arguments=
2+
auto.sync=false
3+
build.scans.enabled=false
4+
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
5+
connection.project.dir=
6+
eclipse.preferences.version=1
7+
gradle.user.home=
8+
java.home=/nix/store/gpxl5qgg8kicmcvivwmybwjlpf7wh20l-graalvm17-ce-22.3.0
9+
jvm.arguments=
10+
offline.mode=false
11+
override.workspace.settings=true
12+
show.console.view=true
13+
show.executions.view=true

Main.class

414 Bytes
Binary file not shown.

pom.xml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<project>
2+
<modelVersion>4.0.0</modelVersion>
3+
<groupId>mygroupid</groupId>
4+
<artifactId>myartifactid</artifactId>
5+
<version>0.0-SNAPSHOT</version>
6+
<dependencies>
7+
<dependency>
8+
<groupId>junit</groupId>
9+
<artifactId>junit</artifactId>
10+
<version>4.12</version>
11+
<type>jar</type>
12+
</dependency>
13+
<dependency>
14+
<groupId>com.googlecode.json-simple</groupId>
15+
<artifactId>json-simple</artifactId>
16+
<version>1.1.1</version>
17+
<type>jar</type>
18+
</dependency>
19+
<dependency>
20+
<groupId>org.hamcrest</groupId>
21+
<artifactId>hamcrest-core</artifactId>
22+
<version>1.3</version>
23+
<type>jar</type>
24+
</dependency>
25+
</dependencies>
26+
<build>
27+
<plugins>
28+
<plugin>
29+
<groupId>de.qaware.maven</groupId>
30+
<artifactId>go-offline-maven-plugin</artifactId>
31+
<version>1.2.5</version>
32+
<configuration>
33+
<dynamicDependencies>
34+
<DynamicDependency>
35+
<groupId>org.apache.maven.surefire</groupId>
36+
<artifactId>surefire-junit4</artifactId>
37+
<version>2.20.1</version>
38+
<classifier></classifier>
39+
<repositoryType>PLUGIN</repositoryType>
40+
</DynamicDependency>
41+
<DynamicDependency>
42+
<groupId>com.querydsl</groupId>
43+
<artifactId>querydsl-apt</artifactId>
44+
<version>4.2.1</version>
45+
<classifier>jpa</classifier>
46+
<repositoryType>MAIN</repositoryType>
47+
</DynamicDependency>
48+
</dynamicDependencies>
49+
</configuration>
50+
</plugin>
51+
</plugins>
52+
</build>
53+
</project>

replit.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{ pkgs }: {
2+
deps = [
3+
pkgs.graalvm17-ce
4+
pkgs.maven
5+
pkgs.replitPackages.jdt-language-server
6+
pkgs.replitPackages.java-debug
7+
];
8+
}

0 commit comments

Comments
 (0)