Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7e49619

Browse files
committed
Readme: Add my base classes and my libraries
My base classes: Solution, Test My libraries: Point2D, Map, Keypad
1 parent b0535f1 commit 7e49619

File tree

1 file changed

+30
-2
lines changed

1 file changed

+30
-2
lines changed

‎README.md‎

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
11
# adventofcode2016
2-
My solutions for adventofcode.com (2016)
3-
- Language: Python
2+
My solutions for [adventofcode.com (2016)](http://adventofcode.com/2016) with Python.
3+
4+
## My base classes
5+
### Solution
6+
- Solution for a day can calculate part 1 and 2
7+
- Input is loaded from file input.txt inside the folder of the day
8+
- Solutions of a day have to define their own calculate method
9+
10+
### Test
11+
- Sets up and tears down calculation of a solution for a day
12+
- Mocks the input from the input.txt by an input string
13+
14+
## My libraries
15+
### Point2D
16+
- 2D point inside cartesian coordinate system
17+
- Set and get x and y coordinates
18+
- Add, sub and neg points
19+
- Calc euclidean and manhattan distances between points
20+
- Print point coordinates
21+
22+
## Map
23+
- Map based on Image class ([Pillow](http://python-pillow.org))
24+
- Set and get values for 2D points
25+
- Get minimum and maximum coordinates of set points
26+
- Show map image
27+
- Image output gets flipped depend on coordinate origin
28+
29+
## Keypad
30+
- Move finger in direction
31+
- Press button and append code

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /