TIL(Today I Learned)

21.04.04 TIS (+ Weekly)

nauni 2021. 4. 4. 21:12

- Algorithm

Solved 2 problems for tmrr study. 😎

 

- Chess mission Refactoring

I implemented logic with previous domain logics but I felt that duplication of Position property should be removed. I removed Position property on Piece. At first, it was related with move methods. I tried to refactor with move methods. It was also related with calculation logic. I had to refactor every test codes which is related to piece. There is no more need of PieceSet as well. I removed PieceSet(Black and White) and moved the calculation logics to GameState. They had a bit strong defendencies so that it takes about 3~4 hours to manage them. Data duplication is much worse than the others. ✨ 

 

I need to implement test codes for calculation and GameState but they were for tmrr work. :)

 

 

Weekly Retrospection

[ Goals from last week ]

- 🏃‍♂️ Everyday workout challenge! Do some exercise everyday!

-> Did it! 😎 Clear chloe 3week challenge!

 

- ✍ Retrospection of March and one quarter of this year.

-> 👍

 

- 💻 Complete missions of level 1.

-> I sumbitted the PR but it is still on process.😉

 

[ Goals for next week ]

- 🏃‍♂️ Everyday workout challenge! Do some exercise everyday!

 

- 💻 Implements Algorithm study

1. Solve the algorithm problems that I could not clear before. (3 problems are waiting to be solved)

2. Make templates of algorithm concepts.

 

- ✍️Review level 1 of Woowa tech course

1. Clear chess mission.

2. Organize level 1 on GitHub.✨(Think about README organization. Focus on what I learned through course.)

 

- 👀View 생활코딩 DB