Compare commits
2 Commits
3739ae0d65
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3c576ee32b | ||
|
|
7774086376 |
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.replit
|
||||||
26
.replit
26
.replit
@@ -1,26 +0,0 @@
|
|||||||
modules = ["java-graalvm22.3"]
|
|
||||||
[agent]
|
|
||||||
expertMode = true
|
|
||||||
|
|
||||||
[workflows]
|
|
||||||
runButton = "Project"
|
|
||||||
|
|
||||||
[[workflows.workflow]]
|
|
||||||
name = "Project"
|
|
||||||
mode = "parallel"
|
|
||||||
author = "agent"
|
|
||||||
|
|
||||||
[[workflows.workflow.tasks]]
|
|
||||||
task = "workflow.run"
|
|
||||||
args = "Start application"
|
|
||||||
|
|
||||||
[[workflows.workflow]]
|
|
||||||
name = "Start application"
|
|
||||||
author = "agent"
|
|
||||||
|
|
||||||
[[workflows.workflow.tasks]]
|
|
||||||
task = "shell.exec"
|
|
||||||
args = "javac Display.java Platformer.java Player.java Tile.java Moveable.java && java Display"
|
|
||||||
|
|
||||||
[workflows.workflow.metadata]
|
|
||||||
outputType = "vnc"
|
|
||||||
19
replit.md
19
replit.md
@@ -1,19 +0,0 @@
|
|||||||
# Platformer Game
|
|
||||||
|
|
||||||
A simple Java platformer game.
|
|
||||||
|
|
||||||
## Main Entry Point
|
|
||||||
The main entry point of the application is `Display.java`.
|
|
||||||
|
|
||||||
## Structure
|
|
||||||
- `Display.java`: Entry point and window setup.
|
|
||||||
- `Platformer.java`: Game engine and logic.
|
|
||||||
- `Player.java`: Player character class.
|
|
||||||
- `Tile.java`: Platform class.
|
|
||||||
- `Moveable.java`: Interface for moveable objects.
|
|
||||||
|
|
||||||
## How to Run
|
|
||||||
Use the "Start application" workflow or run:
|
|
||||||
```bash
|
|
||||||
javac Display.java Platformer.java Player.java Tile.java Moveable.java && java Display
|
|
||||||
```
|
|
||||||
Reference in New Issue
Block a user