Skip to content
Permalink
Browse files

Rebooting Towers

  • Loading branch information...
dhemery committed Jan 14, 2011
0 parents commit 252be5b80247ba67f5e04a25ad5ac4b88c0c059a
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry excluding="main/|test/app/|test/unit/" kind="src" path="src"/>
<classpathentry kind="src" path="test/acceptance"/>
<classpathentry kind="src" path="test/unit"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="lib/fest/fest-assert-1.2.jar" sourcepath="lib/fest/fest-assert-1.2-sources.jar">
<attributes>
<attribute name="javadoc_location" value="http://fest.easytesting.org/assert/apidocs/index.html"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="lib/junit/junit-4.8.2.jar"/>
<classpathentry kind="lib" path="lib/fest/fest-reflect-1.2.jar" sourcepath="/Users/Dale/.m2/repository/org/easytesting/fest-reflect/1.2/fest-reflect-1.2-sources.jar"/>
<classpathentry kind="lib" path="lib/fest/jcip-annotations-1.0.jar" sourcepath="lib/fest/jcip-annotations-1.0-sources.jar"/>
<classpathentry kind="lib" path="lib/fest/fest-util-1.1.2.jar" sourcepath="lib/fest/fest-util-1.1.2-sources.jar"/>
<classpathentry kind="lib" path="lib/fest/fest-swing-1.2.jar" sourcepath="/Users/Dale/.m2/repository/org/easytesting/fest-swing/1.2/fest-swing-1.2-sources.jar"/>
<classpathentry kind="lib" path="lib/hamcrest/hamcrest-core-1.3.0RC1.jar"/>
<classpathentry kind="lib" path="lib/hamcrest/hamcrest-library-1.3.0RC1.jar"/>
<classpathentry kind="lib" path="lib/jmock/jmock-2.6.0-RC2.jar"/>
<classpathentry kind="lib" path="lib/jmock/jmock-junit4-2.6.0-RC2.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
@@ -0,0 +1 @@
bin/*
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>towers</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
No changes.
@@ -0,0 +1,75 @@
{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf290
{\fonttbl\f0\froman\fcharset0 TimesNewRomanPSMT;}
{\colortbl;\red255\green255\blue255;}
{\info
{\author Dale H. Emery}
{\*\copyright Copyright (c) 2009 Dale H. Emery}}\margl1440\margr1440\vieww12240\viewh15840\viewkind1
\pard\tx360\tx720\tx1093\tx1453\tx1813\tx2173\tx2520\tx2893\sb80\sa80\qc\pardirnatural

\f0\b\fs48 \cf0 \expnd0\expndtw0\kerning0
Towers\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardeftab720\sb480\ql\qnatural\pardirnatural
\fs28 \cf0 \expnd0\expndtw0\kerning0
Players\
Object\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardeftab720\sb80\sa80\ql\qnatural\pardirnatural
\b0\fs24 \cf0 \expnd0\expndtw0\kerning0
The objective of the game is to own the most floors. the most pieces by moving your stacks onto them.\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardeftab720\sb480\ql\qnatural\pardirnatural

\b\fs28 \cf0 \expnd0\expndtw0\kerning0
Game Contents\
Preparation\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardeftab720\sb80\sa80\ql\qnatural\pardirnatural
\b0\fs24 \cf0 \expnd0\expndtw0\kerning0
Begin by placing the pieces on the board, alternating colors. The resulting board will look like a checkerboard.\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardeftab720\sb480\ql\qnatural\pardirnatural

\b\fs28 \cf0 \expnd0\expndtw0\kerning0
Game Rules
\b0\fs24 \expnd0\expndtw0\kerning0
\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardeftab720\sb80\sa80\ql\qnatural\pardirnatural

\b \cf0 \expnd0\expndtw0\kerning0
Advanced Game
\b0 \expnd0\expndtw0\kerning0
: Starting with White, players alternate turns, on each turn placing a single piece on an empty square.\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardeftab720\sb480\ql\qnatural\pardirnatural

\b\fs28 \cf0 \expnd0\expndtw0\kerning0
Building Stacks\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardeftab720\sb80\sa80\ql\qnatural\pardirnatural
\b0\fs24 \cf0 \expnd0\expndtw0\kerning0
You may move any\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardeftab720\sb480\ql\qnatural\pardirnatural

\b\fs28 \cf0 \expnd0\expndtw0\kerning0
Isolating Stacks\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardeftab720\sb80\sa80\ql\qnatural\pardirnatural
\b0\fs24 \cf0 \expnd0\expndtw0\kerning0
A stack becomes isolated when there is no path from the stack to the tallest stack. When a stack becomes isolated, it is no longer in play and is removed from the board.\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardeftab720\sb480\ql\qnatural\pardirnatural

\b\fs28 \cf0 \expnd0\expndtw0\kerning0
End of Game\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardeftab720\sb80\sa80\ql\qnatural\pardirnatural
\fs24 \cf0 \expnd0\expndtw0\kerning0
The game ends
\b0 \expnd0\expndtw0\kerning0
when neither player can make a legal move.\

\b \expnd0\expndtw0\kerning0
The winner
\b0 \expnd0\expndtw0\kerning0
is the player who owns the most floors at the end of the game.\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardeftab720\sb480\ql\qnatural\pardirnatural

\b\fs28 \cf0 \expnd0\expndtw0\kerning0
Variations}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,53 @@
DELIVERED TO THE TDD CLASS
--------------------------

Board

Starting position

Players alternate turns

A player can move a tower from one block to another.

A capturing tower combines with the captured tower.




TO BE DEVELOPED IN CLASS
------------------------

The game allows only legal moves:
- Only a free tower may move.
- A tower moves as many blocks as it has floors.
- A tower must land on another tower.

End: The game ends when a player cannot move.

Win: The winner is the player who owns the most floors.
- When you own the top floor, you own the tower and all of the floors in it.

Preferences



EXTRA CREDIT
------------

Optional rule: Isolated towers (towers with no path to the tallest tower) are removed from the game.

Option: Display legal moves.

Option: Board size.

Option: Utility: Isolation means becoming separate from a utility.

Option: You capture floors that you isolate.

Option: Two phases: Place the towers, build up.



DONE
----

0 comments on commit 252be5b

Please sign in to comment.
You can’t perform that action at this time.