---
title: "Discussion on \"Advent of Code 2020: Day 3 (Ruby solution)\" | Hashnode"
description: "Discussion on \"Advent of Code 2020: Day 3 (Ruby solution)\". This time the input for puzzles is a text file that pretends to be a map. Your mission is to count the trees on your way.\nIn the first task, you move always 3 steps right and 1 step down.\nIn the second task, there are 5 different ways of taking steps..."
url: "https://hashnode.com/posts/advent-of-code-2020-day-3-ruby-solution/5fc8dd48f1f1cf5f96fc8dae"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Advent of Code 2020: Day 3 (Ruby solution)](https://rubywizards.com/advent-of-code-2020-day-3-ruby-solution?utm_source=hashnode&utm_medium=feed)

This time the input for puzzles is a text file that pretends to be a map. Your mission is to count the trees on your way. In the first task, you move always 3 steps right and 1 step down. In the second task, there are 5 different ways of taking steps...

Dec 3, 2020 · 1 min read · rubywizards.com  
Updated Apr 13, 2021  
Read the article

-   [#ruby](https://hashnode.com/tag/ruby)

## Written by

[Piotr Jurewicz](https://hashnode.com/@pjurewicz)

@pjurewicz · Łódź, Poland

  
[View profile](https://hashnode.com/@pjurewicz)

ruby on rails developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
