Skip to content
Snippets Groups Projects
Commit b3dba14d authored by Peter J. Keleher's avatar Peter J. Keleher
Browse files

auto

parent 327e51a7
No related branches found
No related tags found
No related merge requests found
...@@ -146,8 +146,6 @@ and functions: ...@@ -146,8 +146,6 @@ and functions:
`Tile`, `Direction`, `rotate2DInts`, and `rotate2D<T>` must all be defined `Tile`, `Direction`, `rotate2DInts`, and `rotate2D<T>` must all be defined
*outside* your `Twos` class, not inside. *outside* your `Twos` class, not inside.
The rotation functions work as follows: ![rotate2](rotate2.svg)
The above must all be created exactly as specified or the unit tests The above must all be created exactly as specified or the unit tests
will fail. *DO NOT* change even a single character of the unit tests will fail. *DO NOT* change even a single character of the unit tests
files, just copy it verbatim. files, just copy it verbatim.
...@@ -164,6 +162,8 @@ You **must** define and use the generic function `rotate2D()` to get ...@@ -164,6 +162,8 @@ You **must** define and use the generic function `rotate2D()` to get
any credit, do not define a `Tile`-specific version of rotate or use any credit, do not define a `Tile`-specific version of rotate or use
`rotate2DInts` at all in the `collapse()` function. `rotate2DInts` at all in the `collapse()` function.
The rotation functions work as follows: ![rotate2](rotate2.svg)
### testing ### testing
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment