Skip to content

idenc/Galactic-Frogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Frogger

To compile game: javac -cp . frogger/Main.java

To run: java frogger/Main

alt text

Game instructions: WASD for moving. X to restart. Try to get to the opposite side of the screen. Avoid asteroids. Traverse the void of space by jumping on ships.

For Tests: Make sure junit and hamcrest jars in working directory. To Compile: javac -cp .;junit-4.12.jar;hamcrest-core-1.3.jar test/*.java

To run all tests: java -cp .;junit-4.12.jar;hamcrest-core-1.3.jar;res org.junit.runner.JUnitCore test.FrogTest test.GameObjectTest test.GameObstacleTest test.ModelGUITest test.ModelTest test.ModelTextTest

To run an individual test: java -cp .;junit-4.12.jar;hamcrest-core-1.3.jar;res org.junit.runner.JUnitCore test.[TESTNAME]

if on Linux replace semi-colons with colons.

About

School project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages