Skip to content

πŸ“Š A simple visualization tool that can be used like the checker program

Notifications You must be signed in to change notification settings

nsdongklee/checker-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

checker_visualizer

checker_visualizer λŠ” push_swap 과제의 μ‹€ν–‰ν”„λ‘œκ·Έλž¨ 쀑 checker 의 λ™μž‘ 및 μ‚¬μš©κ³Ό μœ μ‚¬ν•˜κ³ , λ°μ΄ν„°μ˜ μ‹œκ°ν™”λ₯Ό ν†΅ν•΄μ„œ μ΅œμ ν™”μ— μ°Έκ³ ν•˜λŠ” κ°„λ‹¨ν•œ 도ꡬ μž…λ‹ˆλ‹€.

Dependency

# 파이썬 νŒ¨ν‚€μ§€κ°€ μ—…κ·Έλ ˆμ΄λ“œ λ˜μ–΄μžˆμ§€ μ•Šλ‹€λ©΄ μ•„λž˜ λͺ…λ Ήμ–΄λ₯Ό μž…λ ₯
pip3 install --upgrade pip --user

# ν•„μš”ν•œ 라이브러리 μ„€μΉ˜
pip3 install matplotlib
pip3 install PyQt5

Usage

sh checker_visualizer.sh μ‹œμž‘μˆ«μž 끝숫자

μ˜ˆμ‹œ : sh checker_visualizer.sh 0 100

  • μ‰˜ 슀크립트λ₯Ό 싀행해도 되고 체컀처럼 μ‚¬μš©ν•΄λ„ λ©λ‹ˆλ‹€. λ‹€λ§Œ, λ‹¨λ…μœΌλ‘œ μ‹€ν–‰ν•˜κΈ° μœ„ν•΄μ„œλŠ” $ARG λ₯Ό λ°˜λ“œμ‹œ export ν•΄μ€˜μ•Ό ν•©λ‹ˆλ‹€.

  • push_swap 폴더 내에 git clone ~ ν•˜κ±°λ‚˜ μ‰˜ μŠ€ν¬λ¦½νŠΈμ—μ„œ μ‹€ν–‰νŒŒμΌ 경둜 변경을 ν•˜λ©΄ λ©λ‹ˆλ‹€.

  • ν”„λ‘œκ·Έλž¨ μ’…λ£Œ : ν‚€λ³΄λ“œμ˜ q λ²„νŠΌμ„ λˆ„λ₯΄λ©΄ 화면이 μ—†μ–΄μ§€λ©΄μ„œ μ’…λ£Œλ©λ‹ˆλ‹€.

  • ν”„λ‘œκ·Έλž¨ 쀑지 및 μž¬μ‹œμž‘ : ν”„λ‘œκ·Έλž¨ ν™”λ©΄ μœ„μ—μ„œ 마우슀 클릭을 ν•˜λ©΄ 쀑지 및 μž¬μ‹œμž‘ λ©λ‹ˆλ‹€.

  • μ£Όμ˜μ‚¬ν•­ : ν”„λ‘œκ·Έλž¨μ„ μΌœλ†“μ€ μƒνƒœμ—μ„œλŠ” 계속 루프가 λŒμ•„κ°€λŠ” μƒνƒœμž…λ‹ˆλ‹€.

ν”„λ‘œν† νƒ€μž… μ˜μƒ

About

πŸ“Š A simple visualization tool that can be used like the checker program

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published