CodingTrain / CodingTrain/Logo

Logo Implementation TODO

Đang mở
#37 8 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
47
Fork
33
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Below is a list of things that still need to be implemented into the parser for the logo language:

- [ ] circle > `circle radius extend steps`
- [ ] dot > `dot radius`
- [x] pensize > `pensize strokeSize`
- [ ] pencolor > `pencolor color`
- [ ] fillcolor > `fillcolor color` _note_: this is dealing with custom shapes which we currently don't support yet
- [ ] fill > `fill true/false` _note_: uses fillcolor to fill the shape if true
- [ ] begin_fill > start shape
- [ ] end_fill > end shape
- [ ] write > `write text` _note_: this writes to the canvas as text ex "hello world"

Things to implement in turtle to add more features:
- [ ] Dynamic stroke size so we can change it with pensize
- [ ] Ability to create shapes and ill them with a solid color

--

Note: In Logo `color` sets both `fillcolor` and `pencolor`, this means we don't actually implement `color` properly yet

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách xác định JavaScript parser và các turtle/canvas entry points, sử dụng triển khai pensize hiện có làm tài liệu tham khảo. Tách các unchecked parser commands khỏi phần công việc về turtle shape và fill, sau đó xác minh rằng command được chọn thay đổi canvas như mô tả; issue chỉ hoàn tất khi hành vi tương ứng trong checklist hoạt động.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript
Lĩnh vực
frontend
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.