Skip to content

Commit

Permalink
SafariBowl v0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
milanvanzanten committed Jun 22, 2015
0 parents commit 14165ed
Show file tree
Hide file tree
Showing 146 changed files with 21,019 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Created by .ignore support plugin (hsz.mobi)
.idea
bin
data
doc
*.log
*.log.*
milestones
reports
SafariBowl.iml
92 changes: 92 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
<?xml version="1.0"?>
<project name="SafariBowl Server &amp; 2 Clients" default="run" basedir=".">

<target name="clean">
<delete dir="bin/jar" />
<delete dir="log" />
<delete dir="reports"/>
<mkdir dir="bin/jar" />
<mkdir dir="doc" />
<mkdir dir="reports" />
</target>

<target name="build" depends="clean">
<mkdir dir="bin/classes" />
<javac srcdir="src" destdir="bin/classes" includes="**/*.java" includeantruntime="true">
<classpath>
<fileset dir="lib">
<include name="**/*.jar" />
</fileset>
</classpath>
</javac>
</target>

<target name="doc" depends="build">
<javadoc sourcepath="src"
destdir="doc"
author="true"
version="true"
use="true"
windowtitle="SafariBowl Documentation">
<classpath>
<fileset dir="lib">
<include name="**/*.jar" />
</fileset>
</classpath>
<doctitle><![CDATA[<h1>SafariBowl</h1>]]></doctitle>
<tag name="TODO" scope="all" description="To do:"/>
</javadoc>
</target>

<target name="junit" depends="build">
<junit printsummary="yes" haltonerror="yes" haltonfailure="yes" showoutput="yes">
<classpath>
<fileset dir="lib" includes="*.jar"/>
<pathelement location="bin/classes"/>
</classpath>

<formatter type="xml"/>

<batchtest fork="yes" todir="reports">
<fileset dir="src" includes="**/*Test.java"/>
</batchtest>
</junit>
</target>

<target name="jar" depends="build">
<mkdir dir="bin/jar" />
<jar destfile="bin/jar/Client.jar">
<fileset dir="bin/classes/"/>
<fileset dir="resources/"/>
<zipgroupfileset dir="lib" includes="**/*.jar" />
<manifest>
<attribute name="Main-Class" value="client.Client" />
</manifest>
</jar>
<jar destfile="bin/jar/Server.jar">
<fileset dir="bin/classes/"/>
<fileset dir="resources/"/>
<zipgroupfileset dir="lib" includes="**/*.jar" />
<manifest>
<attribute name="Main-Class" value="server.Server" />
</manifest>
</jar>
<jar destfile="bin/jar/SafariBowl.jar">
<fileset dir="bin/classes/"/>
<fileset dir="resources/"/>
<zipgroupfileset dir="lib" includes="**/*.jar" />
<manifest>
<attribute name="Main-Class" value="util.MainApplication" />
</manifest>
</jar>
</target>

<target name="run" depends="jar">
<parallel>
<java jar="bin/jar/Server.jar" fork="true" />
<java jar="bin/jar/Client.jar" fork="true" />
<java jar="bin/jar/Client.jar" fork="true" />
</parallel>
</target>

</project>
72 changes: 72 additions & 0 deletions build_client.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<?xml version="1.0"?>
<project name="SafariBowl Client" default="run" basedir=".">

<target name="clean">
<delete dir="bin/jar" />
<delete dir="log" />
<delete dir="reports"/>
<mkdir dir="bin/jar" />
<mkdir dir="doc" />
<mkdir dir="reports" />
</target>

<target name="build" depends="clean">
<mkdir dir="bin/classes" />
<javac srcdir="src" destdir="bin/classes" includes="**/*.java" includeantruntime="true">
<classpath>
<fileset dir="lib">
<include name="**/*.jar" />
</fileset>
</classpath>
</javac>
</target>

<target name="doc" depends="build">
<javadoc sourcepath="src"
destdir="doc"
author="true"
version="true"
use="true"
windowtitle="SafariBowl Documentation">
<classpath>
<fileset dir="lib">
<include name="**/*.jar" />
</fileset>
</classpath>
<doctitle><![CDATA[<h1>SafariBowl</h1>]]></doctitle>
<tag name="TODO" scope="all" description="To do:"/>
</javadoc>
</target>

<target name="junit" depends="build">
<junit printsummary="yes" haltonerror="yes" haltonfailure="yes" showoutput="yes">
<classpath>
<fileset dir="lib" includes="*.jar"/>
<pathelement location="bin/classes"/>
</classpath>

<formatter type="xml"/>

<batchtest fork="yes" todir="reports">
<fileset dir="src" includes="**/*Test.java"/>
</batchtest>
</junit>
</target>

<target name="jar" depends="build">
<mkdir dir="bin/jar" />
<jar destfile="bin/jar/Client.jar">
<fileset dir="bin/classes/"/>
<fileset dir="resources/"/>
<zipgroupfileset dir="lib" includes="**/*.jar" />
<manifest>
<attribute name="Main-Class" value="client.Client" />
</manifest>
</jar>
</target>

<target name="run" depends="jar">
<java jar="bin/jar/Client.jar" fork="true" />
</target>

</project>
72 changes: 72 additions & 0 deletions build_server.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<?xml version="1.0"?>
<project name="SafariBowl Server" default="run" basedir=".">

<target name="clean">
<delete dir="bin/jar" />
<delete dir="log" />
<delete dir="reports"/>
<mkdir dir="bin/jar" />
<mkdir dir="doc" />
<mkdir dir="reports" />
</target>

<target name="build" depends="clean">
<mkdir dir="bin/classes" />
<javac srcdir="src" destdir="bin/classes" includes="**/*.java" includeantruntime="true">
<classpath>
<fileset dir="lib">
<include name="**/*.jar" />
</fileset>
</classpath>
</javac>
</target>

<target name="doc" depends="build">
<javadoc sourcepath="src"
destdir="doc"
author="true"
version="true"
use="true"
windowtitle="SafariBowl Documentation">
<classpath>
<fileset dir="lib">
<include name="**/*.jar" />
</fileset>
</classpath>
<doctitle><![CDATA[<h1>SafariBowl</h1>]]></doctitle>
<tag name="TODO" scope="all" description="To do:"/>
</javadoc>
</target>

<target name="junit" depends="build">
<junit printsummary="yes" haltonerror="yes" haltonfailure="yes" showoutput="yes">
<classpath>
<fileset dir="lib" includes="*.jar"/>
<pathelement location="bin/classes"/>
</classpath>

<formatter type="xml"/>

<batchtest fork="yes" todir="reports">
<fileset dir="src" includes="**/*Test.java"/>
</batchtest>
</junit>
</target>

<target name="jar" depends="build">
<mkdir dir="bin/jar" />
<jar destfile="bin/jar/Server.jar">
<fileset dir="bin/classes/"/>
<fileset dir="resources/"/>
<zipgroupfileset dir="lib" includes="**/*.jar" />
<manifest>
<attribute name="Main-Class" value="server.Server" />
</manifest>
</jar>
</target>

<target name="run" depends="jar">
<java jar="bin/jar/Server.jar" fork="true" />
</target>

</project>
Binary file added lib/hamcrest-core-1.3.jar
Binary file not shown.
Binary file added lib/junit-javadoc.jar
Binary file not shown.
Binary file added lib/junit.jar
Binary file not shown.
Binary file added lib/vecmath.jar
Binary file not shown.
Binary file added resources/images/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/band_aid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/band_aid_double.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/defaultL.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/defaultR.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/dice/die_attacker_down.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/dice/die_both_down.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/dice/die_defender_down.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/dice/die_defender_stumbles.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/dice/die_pushed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/football.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/logo-100x68.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/moderators/turtle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/moderators/walrus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/red_card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/remove_player.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/rhino-100x78-rotated.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/rhino-100x78.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/rhino-250x195.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/stunned_star.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 14165ed

Please sign in to comment.