Skip to content

Outline files for the Battleships coursework which is part of the assessemnt for the Software and Programming II module at Birkbeck, University of London.

Notifications You must be signed in to change notification settings

jbonigomes/sp212cw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Battleships coursework

Assessment for the Software and Programming II module at Birkbeck, University of London

  • Author: Jose B. Gomes
  • Tutor: Keith Mannock
  • Student Id: 12500741
  • Date: 22 December 2012

Dependencies

This documentation assumes you have Java/javac correctly installed in your environment
Run the commands below from the root folder (sp212cw)

Directory structure

sp212cw/
	tests/
		battleships/
			*.java
	bin/
		battleships/
			*.class
	src/
		battleships/
			*.java
	lombok.jar
	jUnit.jar
	hamcrest.jar

Play

java -classpath bin:lombok.jar battleships/BattleshipGame

Compile

javac -d bin -sourcepath src -classpath bin:lombok.jar src/battleships/*.java

Compile Tests

javac -d bin -sourcepath tests -classpath bin:junit.jar tests/battleships/*.java

Run Tests

java -classpath bin:junit.jar:hamcrest.jar org.junit.runner.JUnitCore battleships.OceanTest

About

Outline files for the Battleships coursework which is part of the assessemnt for the Software and Programming II module at Birkbeck, University of London.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages