Started work on website
authorSam Moore <[email protected]>
Wed, 30 Jan 2013 06:50:22 +0000 (14:50 +0800)
committerSam Moore <[email protected]>
Wed, 30 Jan 2013 06:50:22 +0000 (14:50 +0800)
I forgot how terrible web design is.

web/get_qchess.html [new file with mode: 0644]
web/index.html [new file with mode: 0644]

diff --git a/web/get_qchess.html b/web/get_qchess.html
new file mode 100644 (file)
index 0000000..410c03b
--- /dev/null
@@ -0,0 +1,88 @@
+<html>
+
+<head>
+<title> UCC::Progcomp 2013 - Getting qchess </title>
+</head>
+
+<body bgcolor=white>
+
+<p> qchess is a python2.7 implementation of <a href="http://research.cs.queensu.ca/Parallel/QuantumChess/QuantumChess.html"/>Quantum Chess</a> </p>
+
+<h1> tl;dr </h1>
+
+<table border="1">
+
+<tr> <th>  </th> <th> Binary </th> <th> Script (requires python2.7 and pygame1.9) </th> </tr>
+<tr> <th> Windows </th> <td> <a href="http://git.ucc.asn.au/?p=progcomp2013.git;a=blob;f=qchess/build/exe.win32-2.7.zip"/>32 bit</a> </td> <td> <a href="http://git.ucc.asn.au/?p=progcomp2013.git;a=blob_plain;f=qchess/qchess.py"/>qchess.py</a></td> </tr>
+<tr> <th> Linux </th> <td> <a href="http://git.ucc.asn.au/?p=progcomp2013.git;a=blob;f=qchess/build/exe.linux-x86_64-2.7.zip"/>64 bit</a></td> <td> <a href="http://git.ucc.asn.au/?p=progcomp2013.git;a=blob_plain;f=qchess/qchess.py"/>qchess.py</a></td> </tr>
+
+
+
+
+</table>
+
+<p> <b> Warning: </b> Some things in the windows version will not work. </p>
+<p> <b> Warning: </b> The actual competition will be run on linux. If your program doesn't work on linux, you may not be able to enter. </p>
+
+
+<hr>
+
+
+<h3> Git </h3>
+<p> The best way to do things is to use <a href="http://git-scm.com/"/>git</a> and clone the repository at <a href="http://git.ucc.asn.au/?p=progcomp2013.git"/>git://git.ucc.asn.au/progcomp2013.git</a>. Run "git pull" everytime a major change is announced.  </p>
+
+
+<hr>
+
+
+<h3> Files and Directories </h3>
+
+<ul>
+       <li> qchess/qchess.py - Python script version of qchess </li>
+       <li> agents/ - Where all the agents will go when the competition runs
+       <li> agents/sample.py - A sample agent in python </li>
+       <li> qchess/build/ - Compiled binaries of the qchess program </li>
+       <li> qchess/src/ - Source python files for qchess </li>
+       <li> web/ - This website </li>
+</ul>
+
+<hr>
+
+<h3> qchess.py </h3>
+
+<ul>
+
+       <li> You will need <a href="http://www.python.org/download/releases/2.7.3"/>python 2.7.3</a> </li>
+       <ul>    <li> On Debian/Ubuntu just run `sudo apt-get install python` </li>
+               <li> On Windows, download and install the x86 (32bit) MSI, <b>not</b> the x86-64 (64bit) MSI) </li> </ul>
+       <li> You will need <a href="http://www.pygame.org/download.shtml"/>pygame 1.9.1</a> </li>
+       <ul>    <li> On Debian/Ubuntu just run `sudo apt-get install python-pygame` </li>
+               <li> On Windows, ,ake sure you get the pygame for python 2.7 MSI </li> </ul>
+
+       <li> Hopefully, if you have those, things will just work (TM) </li>
+       <ul>    <li> In linux, navigate to the qchess directory, then run with ./qchess.py </li>
+               <li> In windows, the application <i>should</i> start when you double click on it </li>
+               <li> If you want to give command line arguments, you will need to use cmd on windows </li>
+       </ul>
+</ul>
+
+<hr>
+
+<h3> Compiled Binaries </h3>
+
+<p> <b> Warning:</b> I am no longer testing the binaries. I believe the linux binary works, but the Windows binary might not. </p>
+<p> If they work for you, that is awesome, but I recommend installing python and using the python script. </p>
+<p> You'll probably want to enter in python, since the python script gives you a lot of useful functions. </p>
+
+<p> <b> On the other hand... </b>, if you have problems with an incompatable version of python, try the binaries! </p>
+
+<hr>
+
+<p> Page last updated 2012-01-30 by matches </p>
+
+<p> <a href="http://www.ucc.asn.au">The UCC Website</a> </p>
+<p> <a href="http://progcomp.ucc.asn.au/2013">UCC::Progcomp 2013</a> </p>
+
+</body>
+</html>
+
diff --git a/web/index.html b/web/index.html
new file mode 100644 (file)
index 0000000..e9e56a6
--- /dev/null
@@ -0,0 +1,70 @@
+
+<html>
+
+<head>
+<title> UCC::Progcomp 2013 </title>
+</head>
+
+<body bgcolor=white>
+
+<h1> Quantum Chess </h1>
+
+<p> <b> Competition: </b> Write an AI to play Quantum Chess. You can enter in <b>any</b> language that supports reading/writing from standard input/output. </p>
+
+<p> Quantum chess is a variant of chess in which the type of a piece changes during play. </p>
+<p> The game was invented by Selim Akl, and first implemented by Alice Wismath. 
+       You can see their original website <a href="http://research.cs.queensu.ca/Parallel/QuantumChess/QuantumChess.html"/>here</a>. </p>
+
+
+<hr>
+
+<h2> Rules </h2>
+
+<p> The rules are basically the same as <a href="http://research.cs.queensu.ca/Parallel/QuantumChess/QuantumChess.html"/>the original rules</a>. </p>
+
+<h3> Differences / Clarifications </h3>
+<ul>
+       <li> The bottom right and top left squares are white (as in traditional chess), not black. </li>
+       <li> Castling and en passen are <b>not</b> allowed (I'm not sure whether they are in the original version). </li>
+       <li> If a piece in a <b>pawn</b> state ends its move in the opposing back row, that state is <i>always</i> replaced with a <b>queen</b> state. </li>
+       <ul> <li> (because I'm too lazy to give players a choice) </li> </ul>
+       <li> I might shorten the number of moves before a draw is declared, we'll see. </li>
+</ul>
+
+<hr>
+
+<h2> Getting Started </h2>
+
+<ol>
+       <li> <a href="http://lists.ucc.gu.uwa.edu.au/mailman/listinfo/progcomp" target="_blank"/>Join the mailing list</a> </li>
+       <ul> <li> <b> Important: </b> Don't email the mailing list directly; email the competition organiser (matches at ucc dot asn dot au) </li> </ul>
+       <li> <a href="http://www.ucc.asn.au/services/irc.ucc"/>Join the #progcomp channel on IRC</a> </li>
+       <li> <a href="get_qchess.html"/>Obtain a copy of the qchess program</a> </li>
+       <li> <a href="using_qchess.html"/>Using the qchess program</a> </li>
+       <li> <a href="agent.html"/>Writing an agent for the qchess program</a> </li>
+       <li> <a href="enter.html"/>Entering the competition</a> </li>
+</ol>
+
+<hr>
+
+<h2> Important Links </h2>
+
+<table border="1">
+<tr> <th> git </th> <td> <a href="http://git.ucc.asn.au/?p=progcomp2013.git" target="_blank"/>http://git.ucc.asn.au</a> </td> </tr>
+<tr> <th> IRC </th> <td> <a href="irc://irc.ucc.asn.au/progcomp"/>#progcomp</a> </td> </tr>
+<tr> <th> Mailing List </th> <td> <a href="http://lists.ucc.gu.uwa.edu.au/mailman/listinfo/progcomp" target="_blank"/>progcomp at ucc</a> </td> </tr>
+<tr> <th> Dates </th> <td> <a href="dates.html"/>subject to change</a> </td> </tr>
+<tr> <th> Results </th> <td> <a href="results"/>will appear here</a> </td> </tr>
+<tr> <th> Contact </th> <td> matches or wheel at ucc </td> </tr> 
+</table>
+
+<hr>
+
+<p> Page last updated 2012-01-30 by matches </p>
+
+<p> <a href="http://www.ucc.asn.au">The UCC Website</a> </p>
+<p> <a href="http://progcomp.ucc.asn.au">UCC::Progcomp Website</a> </p>
+
+</body>
+</html>
+

UCC git Repository :: git.ucc.asn.au