Skip to content

Instantly share code, notes, and snippets.

View gmegidish's full-sized avatar
🕚
Two minutes to midnight

Gil Megidish gmegidish

🕚
Two minutes to midnight
View GitHub Profile
Welcome, traveller!
Here's your task for today --
- You are given a .shapes file format. Each line in this file represents a shape in an image.
- A shape can be a square, a rect, a circle, an ellipse, a line, polyline and polygon.
- Each shape has different arguments, the last argument is the color in which to paint (#rrggbb). See sample file below.
- There are no empty lines in this file, and list of shapes end when file ends.
Shapes and formats:
@gmegidish
gmegidish / 1000_problems.md
Last active September 11, 2019 19:31
1000 תרגילים

רשימת תרגילים למתכנת המתחיל:

  • כתוב תוכנית שכותבת "Hello world"

  • כתוב תוכנית ששואלת אותי את השם שלי, וכותבת "Hello, Gil" אם הכנסתי את השם
    Gil