A game written in Java, as a homework to CSE389
Was intended to run in terminal, but Java does not support terminal related functions natively
So turn to JFrame
See design.txt for game object design
In your terminal, run:
javac *.java
java GameSelect a level, hit ENTER in window and start playing
Escor close window to stop the game (Escis recommended)WorUPto move upAorLEFTto move leftSorDOWNto move downDorRIGHTto move rightSpaceto shoot
Generate documentation of this project by:
javadoc -d documentation *.javaSurvive for 5 rounds and you'll see a boss fight!
- Add inertia to enemies' movements, so that they move more fluently
- Enemy may learn to avoid the bullets
- Improve the shape and variety of enemies
- It's never a good idea to render on a GUI-purpose interface (not optimized for speed)
- Also not a good idea to treat it as a terminal (I render the screen using text). I'm just too lazy to learn to use internal drawing components in
java.awtand design new enemies. - I knew that there are many more professional options (such as LWJGL) for game rendering, but I don't want to add additional dependencies to this project (supposed to be light-weight).


