<commit_before><project default="compile">

	<!-- build.xml for github.com/UCSB-CS56-Projects/cs56-games-minesweeper
		  original author: <NAME>
		  updated <NAME> for github W14-->

	<property environment="env"/>
	<!--
	<property name="webRoot" value="${env.HOME}/public_html" />
	<property name="webBaseURL" value="http://www.cs.ucsb.edu/~${env.USER}" />-->
	
	<property name="project" value="cs56-games-minesweeper" />
<!--
	<property name="javadocDest" value="${webRoot}/${project}/javadoc" />
	<property name="javadocURL" value="${webBaseURL}/${project}/javadoc" />
-->
	<property name="classesDir" value="build/classes"/>
	<property name="distDir" value="build/dist"/>
	<property name="libDir" value="lib"/>
	<property name="resourceDir" value="resources"/>

	<property name="MainClassText" value="TextGame" />
	<property name="MainClassGui" value="MineGUI" />

	<path id="compile.path">
		<pathelement path="${classesDir}"/>
		<fileset dir="${libDir}"/>
	</path>

	<path id="run.path">
		<pathelement path="${classesDir}"/>
		<fileset dir="${libDir}">
			<exclude name="junit*.jar"/>
		</fileset>
	</path>

	<target name="compile" description="compile code">
		<mkdir dir="${classesDir}"/>
		<javac srcdir="src" destdir="${classesDir}" includeantruntime="false" debug="true" debuglevel="lines,vars,source">
			<classpath refid="compile.path"/>
		</javac>
	</target>

	<target name="clean" description="delete build and javadoc directories">
		<delete dir="build" quiet="true"/>
		<delete dir="javadoc" quiet="true"/>
	</target>

	<target name="javadoc" depends="compile" description="create javadoc">
		<delete dir="docs/javadoc" quiet="true"/>
		<javadoc destdir="docs/javadoc" author="true" version="true" use="true" >
			<fileset dir="src" includes="**/*.java"/>
			<classpath refid="compile.path"/>
		</javadoc>
		<!--
		<delete quiet="true" dir="${javadocDest}"/>
		<copy todir="${javadocDest}">
			<fileset dir="javadoc"/>
		</copy>
		<chmod dir="${javadocDest}" perm="755"  type="dir" includes="**"/>
		<chmod dir="${javadocDest}" perm="755"  type="file" includes="**/*"/>
		<echo>Javadoc deployed to ${javadocURL} if on CSIL</echo>
		<echo>or if not on CSIL, try file:///${javadocDest}/index.html</echo>-->
	</target>

	<target name="test" depends="compile" description="runs test classes">
		<junit haltonerror="no" haltonfailure="no">
			<classpath refid="compile.path"/>
			<batchtest>
				<fileset dir="src/">
					<!-- this will pick up every class with a name including Test -->
					<include name="**/*Test*"/>
				</fileset>
			</batchtest>
			<formatter type="plain" usefile="false"/>
		</junit>
	</target>

	<target name="mine" depends="compile" description="runs the class MineGUI for graphical minesweeper">
		<java classname="edu.ucsb.cs56.projects.games.minesweeper.gui.${MainClassGui}" fork="true">
			<classpath refid="run.path"/>
		</java>
	</target>

	<target name="textmine" depends="compile" description="runs the class TextGame for command-line minesweeper">
		<java classname="edu.ucsb.cs56.projects.games.minesweeper.text.${MainClassText}" fork="true">
			<classpath refid="run.path"/>
		</java>
	</target>
	
	<target name= "jar" depends="compile" description= "outputs project as a jar">
	  <mkdir dir="${distDir}"/>
	  <jar destfile="${distDir}/minesweeperProject.jar" basedir="${classesDir}" excludes="**/tests/**">
	    <zipgroupfileset dir="${libDir}" includes="*.jar" excludes="junit*.jar"/>
	     <fileset dir="${resourceDir}"/>
	  </jar>
	</target>
<!--
	<target name="jartext" depends="compile" description="output text game as a jar">
		<mkdir dir="${distDir}"/>
		<jar destfile="${distDir}/textMinesweeper.jar" basedir="${classesDir}" excludes="**/*Test*">	       
			<zipgroupfileset dir="${libDir}" includes="*.jar" excludes="junit*.jar"/>
			<manifest>
				<attribute name="Main-Class" value="edu.ucsb.cs56.projects.games.minesweeper.text.${MainClassText}"/>
			</manifest>
		</jar>
	</target>

	<target name="jargui" depends="compile" description="output text game as a jar">
		<mkdir dir="${distDir}"/>
		<jar destfile="${distDir}/guiMinesweeper.jar" basedir="${classesDir}" excludes="**/*Test*">
			<zipgroupfileset dir="${libDir}" includes="*.jar" excludes="junit*.jar"/>
			<fileset dir="${resourceDir}"/>
			<manifest>
				<attribute name="Main-Class" value="edu.ucsb.cs56.projects.games.minesweeper.gui.${MainClassGui}"/>
			</manifest>
		</jar>
	</target>-->

</project><commit_msg>Game now displays MineSweeper on top of the window. Added Customized Background to the Main Menu Screen<commit_after><project default="compile">

	<!-- build.xml for github.com/UCSB-CS56-Projects/cs56-games-minesweeper
		  original author: <NAME> S12
		  updated <NAME> for github W14-->

	<property environment="env"/>
	<!--
	<property name="webRoot" value="${env.HOME}/public_html" />
	<property name="webBaseURL" value="http://www.cs.ucsb.edu/~${env.USER}" />-->
	
	<property name="project" value="cs56-games-minesweeper" />
<!--
	<property name="javadocDest" value="${webRoot}/${project}/javadoc" />
	<property name="javadocURL" value="${webBaseURL}/${project}/javadoc" />
-->
	<property name="classesDir" value="build/classes"/>
	<property name="distDir" value="build/dist"/>
	<property name= "jarDir" value="${classesDir}/edu/ucsb/cs56/projects/games"/>
	<property name="libDir" value="lib"/>
	<property name="resourceDir" value="resources"/>

	<property name="MainClassText" value="TextGame" />
	<property name="MainClassGui" value="MineGUI" />

	<path id="compile.path">
		<pathelement path="${classesDir}"/>
		<fileset dir="${libDir}"/>
	</path>

	<path id="run.path">
		<pathelement path="${classesDir}"/>
		<fileset dir="${libDir}">
			<exclude name="junit*.jar"/>
		</fileset>
	</path>

	<target name="compile" description="compile code">
		<mkdir dir="${classesDir}"/>
		<javac srcdir="src" destdir="${classesDir}" includeantruntime="false" debug="true" debuglevel="lines,vars,source">
			<classpath refid="compile.path"/>
		</javac>
	</target>

	<target name="clean" description="delete build and javadoc directories">
		<delete dir="build" quiet="true"/>
		<delete dir="javadoc" quiet="true"/>
	</target>

	<target name="javadoc" depends="compile" description="create javadoc">
		<delete dir="docs/javadoc" quiet="true"/>
		<javadoc destdir="docs/javadoc" author="true" version="true" use="true" >
			<fileset dir="src" includes="**/*.java"/>
			<classpath refid="compile.path"/>
		</javadoc>
		<!--
		<delete quiet="true" dir="${javadocDest}"/>
		<copy todir="${javadocDest}">
			<fileset dir="javadoc"/>
		</copy>
		<chmod dir="${javadocDest}" perm="755"  type="dir" includes="**"/>
		<chmod dir="${javadocDest}" perm="755"  type="file" includes="**/*"/>
		<echo>Javadoc deployed to ${javadocURL} if on CSIL</echo>
		<echo>or if not on CSIL, try file:///${javadocDest}/index.html</echo>-->
	</target>

	<target name="test" depends="compile" description="runs test classes">
		<junit haltonerror="no" haltonfailure="no">
			<classpath refid="compile.path"/>
			<batchtest>
				<fileset dir="src/">
					<!-- this will pick up every class with a name including Test -->
					<include name="**/*Test*"/>
				</fileset>
			</batchtest>
			<formatter type="plain" usefile="false"/>
		</junit>
	</target>

	<target name="mine" depends="compile" description="runs the class MineGUI for graphical minesweeper">
		<java classname="edu.ucsb.cs56.projects.games.minesweeper.gui.${MainClassGui}" fork="true">
			<classpath refid="run.path"/>
		</java>
	</target>

	<target name="textmine" depends="compile" description="runs the class TextGame for command-line minesweeper">
		<java classname="edu.ucsb.cs56.projects.games.minesweeper.text.${MainClassText}" fork="true">
			<classpath refid="run.path"/>
		</java>
	</target>
	
	<target name= "jar" depends="compile" description= "outputs project as a jar">
	  <mkdir dir="${distDir}"/>
	  <jar destfile="${distDir}/Minesweeper.jar" basedir="${jarDir}" excludes="**/tests/**" update="no" filesonly="yes">
	    <zipgroupfileset dir="${libDir}" includes="*.jar" excludes="junit*.jar"/>
	     <fileset dir="${resourceDir}"/>
	  </jar>
	</target>
<!--
	<target name="jartext" depends="compile" description="output text game as a jar">
		<mkdir dir="${distDir}"/>
		<jar destfile="${distDir}/textMinesweeper.jar" basedir="${classesDir}" excludes="**/*Test*">	       
			<zipgroupfileset dir="${libDir}" includes="*.jar" excludes="junit*.jar"/>
			<manifest>
				<attribute name="Main-Class" value="edu.ucsb.cs56.projects.games.minesweeper.text.${MainClassText}"/>
			</manifest>
		</jar>
	</target>

	<target name="jargui" depends="compile" description="output text game as a jar">
		<mkdir dir="${distDir}"/>
		<jar destfile="${distDir}/guiMinesweeper.jar" basedir="${classesDir}" excludes="**/*Test*">
			<zipgroupfileset dir="${libDir}" includes="*.jar" excludes="junit*.jar"/>
			<fileset dir="${resourceDir}"/>
			<manifest>
				<attribute name="Main-Class" value="edu.ucsb.cs56.projects.games.minesweeper.gui.${MainClassGui}"/>
			</manifest>
		</jar>
	</target>-->

</project>
{'fraction_non_alphanumeric': 0.20916905444126074, 'fraction_numerical': 0.005289839100727353, 'mean_word_length': 5.0661764705882355, 'pattern_counts': {'":': 0, '<': 216, '<?xml version=': 0, '>': 216, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5337609', 'n_tokens_mistral': 3318, 'n_tokens_neox': 2967, 'n_words': 610}