A classic narrative-driven text adventure game with a graphical user interface, developed in Java.
You wake up on a normal school day, but things quickly take a dark turn. From missing shoes to mysterious kidnappings, you find yourself at the heart of the EGO Project (EGOMANIACS CORPORATION). Foil the mad scientist's plans, use your wits (and whatever items you can find), and save the world!
- Interactive Dialogue: Engage in branching conversations with various characters.
- Inventory System: Collect and combine items like raw eggs, pencil sharpeners, and dangerous gadgets to solve puzzles.
- Classic UI: A nostalgic Java Swing interface featuring location images and character icons.
- Environmental Navigation: Explore diverse rooms from your bedroom to a high-security dungeon and a mad scientist's lab.
The repository is organized following standard Java project conventions:
src/: Contains the Java source code files.res/: Contains game assets, including all location and character images.bin/: (Generated) Contains the compiled Java.classfiles.run.sh/run.bat: Quick-start scripts for running the game.
- Java Development Kit (JDK): Version 8 or higher is recommended.
We have provided easy-to-use scripts for both Windows and Unix-based systems.
- Open your terminal.
- Navigate to the project root directory.
- Run the following command:
./run.sh
- Navigate to the project root directory in File Explorer.
- Double-click
run.bator run it from CMD/PowerShell:run.bat
To manually compile and run the project, use the following commands from the root directory:
Compile:
javac -d bin -sourcepath src src/egoproject/*.javaRun:
java -cp "bin:res" egoproject.Game # On macOS/Linux
java -cp "bin;res" egoproject.Game # On WindowsDeveloped by Demetrios Eliades.