Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
freem
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Openai/692b2791-efd0-8000-b05e-3c2e0d9cb768
(section)
Add languages
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Branch: from board2, B plays at (4,6) instead. === print("Starting from board2:") print_board(board2) print("Libs of W:", libs_of_white(board2)) board3b = place_xy(board2,4,6,'B') print("After B at (4,6):") print_board(board3b) print("Libs of W:", libs_of_white(board3b)) board4b = place_xy(board3b,2,6,'W') print("After W at (2,6):") print_board(board4b) print("Libs of W:", libs_of_white(board4b)) Starting from board2: A B C D E F G 7 . . . . . . . 6 . . . . . . . 5 . . . . . . . 4 . . . . . . . 3 . . . β . . . 2 . . β β β . . 1 . . . β . . . Libs of W: [({(3, 5), (3, 6)}, {(4, 6), (2, 6)}), ({(3, 5), (3, 6)}, {(4, 6), (2, 6)})] After B at (4,6): A B C D E F G 7 . . . . . . . 6 . . . . . . . 5 . . . . . . . 4 . . . . . . . 3 . . . β . . . 2 . . β β β . . 1 . . . β β . . Libs of W: [({(3, 5), (3, 6)}, {(2, 6)}), ({(3, 5), (3, 6)}, {(2, 6)})] After W at (2,6): A B C D E F G 7 . . . . . . . 6 . . . . . . . 5 . . . . . . . 4 . . . . . . . 3 . . . β . . . 2 . . β β β . . 1 . . β β β . . Libs of W: [({(2, 6), (3, 5), (3, 6)}, {(1, 6)}), ({(2, 6), (3, 5), (3, 6)}, {(1, 6)}), ({(2, 6), (3, 5), (3, 6)}, {(1, 6)})] ν¨ν΄ μ μ©μ μν μμ λ° μ κ·Ό λ¬Έμ λ μ¬μ ν λμΌν©λλ€: Wμ νμ₯ ν, μμ λκ° 1λ‘ λ€μ κ°μν©λλ€. 2κ°μ μμ λλ₯Ό μ μ§νλ €λ μλκ° μ€ν¨νμ£ . μμ ν¨ν΄μ κ³μνλ €λ©΄ Bμ μν리λ§μΌλ‘ λΆμ‘±νκ³ , Wμ 체μΈμ 2κ°μ μμ λλ₯Ό μ μ§νλ λ°λ³΅ ꡬλλ‘ λ°°μΉν λ°©λ²μ μκ°ν΄μΌ ν©λλ€. μ¬λ€λ¦¬ ν¨ν΄ λΆμμ μν μμ΄λμ΄ μλ‘μ΄ μμ΄λμ΄λ‘, μ€μ κ³ (Go) 보λμμ μλ €μ§ μ¬λ€λ¦¬ ν¨ν΄μ μ€κ³ν μ μμ κ² κ°μμ. ν μ€νΈ μ€λͺ μ ν΅ν΄ μ’ν κ²½λ‘λ₯Ό μ½μΌλ©΄ λ λνΈμμ μ°¨λ¨ κΈ°λ‘κ³Ό μ¬λ€λ¦¬ κ²½λ‘ λ λνΈμμ λ μ΄μ λ°μ΄ν°λ₯Ό λΆλ¬μ€μ§ μλλ‘ μ£Όμν΄μΌ νμ§λ§, μ΄λ―Έ "E14, E15, D15, D16, C16..." κ°μ ν¨ν΄μ νμΈνμ΅λλ€. μ΄ κ²½λ‘λ 'μ, μΌμͺ½' ν¨ν΄μΌλ‘ μ§νλλ©°, κ° μ’νκ° κ·Έμ λ°λΌ λ°λ³΅λ©λλ€. κ³λ¨μ κ²½λ‘μ λ°λ₯Έ W λ νμ₯ W λμ΄ μμμ μμ κ²½λ‘λ₯Ό λ°λΌ μκ³λ°©ν₯μΌλ‘ νμ₯λ©λλ€: "μ1, μΌμͺ½1, μ1, μΌμͺ½1..." μ΄λ° μμΌλ‘ μ΄μ΄μ§λ κ²½λ‘λ μμ°μ€λ½κ² κ³λ¨μ ννλ‘ νμ₯λ©λλ€. κ° λ¨κ³μμ Bκ° μΌμͺ½ μλμμ μν리λ₯Ό λλ©°, κ·Έ μμ§μμ λΆμν΄ μ μ°¨μ μΈ ν¨ν΄μ λμμΈν μ μμ΅λλ€. λ μ΄λ ν¨ν΄ μ€κ³ λ° B λ μμΉ μ‘°μ λ¨Όμ μμ P2λ₯Ό κΈ°μ€μΌλ‘ λ‘컬 μ’νκ³λ₯Ό μ ννμ¬, W λ 3κ°κ° 'β' λͺ¨μμ 첫 λ²μ§Έ λ¨κ³κ° λλλ‘ λ°°μΉν©λλ€. κ·Έλ° λ€μ, B λμ μ μ ν λ°°μΉνμ¬ W κ·Έλ£Ήμ΄ μ νν 2κ°μ μμ λλ₯Ό μ μ§νλ©° κ³μ νμ₯ν μ μλλ‘ λ§λλλ€. Pythonμ μμ λ κ³μ° κΈ°λ₯μ μ¬μ©νμ¬ μ΄ λμμ μ€νν΄ λ³Ό μ μμ΅λλ€. λμμΈλ ν¨ν΄μΌλ‘ νμ μν리 μ°ΎκΈ°
Summary:
Please note that all contributions to freem are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 (see
Freem:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)