KR101097545B1 - Method For Providing Paduk Game - Google Patents

Method For Providing Paduk Game Download PDF

Info

Publication number
KR101097545B1
KR101097545B1 KR1020100013334A KR20100013334A KR101097545B1 KR 101097545 B1 KR101097545 B1 KR 101097545B1 KR 1020100013334 A KR1020100013334 A KR 1020100013334A KR 20100013334 A KR20100013334 A KR 20100013334A KR 101097545 B1 KR101097545 B1 KR 101097545B1
Authority
KR
South Korea
Prior art keywords
pattern
database
game
serial number
next number
Prior art date
Application number
KR1020100013334A
Other languages
Korean (ko)
Other versions
KR20110093347A (en
Inventor
박우전
Original Assignee
한남대학교 산학협력단
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 한남대학교 산학협력단 filed Critical 한남대학교 산학협력단
Priority to KR1020100013334A priority Critical patent/KR101097545B1/en
Publication of KR20110093347A publication Critical patent/KR20110093347A/en
Application granted granted Critical
Publication of KR101097545B1 publication Critical patent/KR101097545B1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F3/00Board games; Raffle games
    • A63F3/02Chess; Similar board games
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/02Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators
    • G06F15/025Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application
    • G06F15/0283Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application for data storage and retrieval
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Processing Or Creating Images (AREA)

Abstract

본 발명에 의한 다음 수 관계 데이터베이스를 이용한 다음 수 제안방법은 현재 수의 착점에 의한 반상패턴을 형성하는 제1 단계, 상기 현재 수에 의한 반상패턴 데이터베이스에 상기 반상패턴이 저장되어 있는지 검색하는 제2 단계, 상기 제2 단계의 검색결과, 반상패턴이 저장된 경우에는 상기 반상패턴 데이터베이스로부터 상기 반상패턴의 일련번호를 획득하는 제3 단계, 현재 수에 의한 다음 수 관계 데이터베이스에 상기 일련번호를 가진 튜플을 검색하는 제4 단계 및 상기 검색된 튜플로부터 다음 수 착점정보를 읽어 표시하는 제5 단계를 포함한다.
본 발명에 의한 다음 수의 제안방법을 실시하는 경우에는 반상패턴 데이터베이스 및 다음 수 관계 데이터베이스를 이용하여 주어진 상황에서 승률이 가장 높은 최적의 다음 수를 제안할 수 있다.
A next number suggestion method using a next number relation database according to the present invention includes a first step of forming a halftone pattern based on a current number of points and a second step of searching whether the halftone pattern is stored in the halftone pattern database by the current number. Step 3, when the search result of the second step, if the half-pattern pattern is stored, a third step of obtaining the serial number of the half-pattern pattern from the half-pattern pattern database, a tuple having the serial number in the next number relation database by the current number A fourth step of searching and a fifth step of reading and displaying next arrival point information from the searched tuple.
In the case of implementing the next number proposal method according to the present invention, an optimal next number having the highest odds in a given situation can be proposed using the reverse pattern database and the next number relation database.

Description

바둑게임 제공방법{Method For Providing Paduk Game}How to provide Go game {Method For Providing Paduk Game}

본 발명은 반상 패턴 데이터베이스와 다음 수 관계 데이터베이스를 이용하여 바둑에서의 다음 수를 제안하는 방법에 관한 것이다.The present invention relates to a method for proposing the next number in Go using a half-phase pattern database and a next number relation database.

바둑을 두는 경우에 사람은 다음에 두고 싶은 곳 몇 군데를 직관적으로 생각할 수 있으나, 컴퓨터 프로그램은 바둑판 위를 인간의 눈처럼 두루 살펴 자신의 경험 또는 지식과 결부시키는 능력이 없다.In the case of Go, one can intuitively think of a few places where he wants to be, but a computer program is not capable of looking over the board as human eyes and associating it with its own experience or knowledge.

또한, 바둑프로그램이나 바둑에 갓 입문한 초심자에게는 포석단계에 있어서 다음 수의 선택이 요하다. 특히 바둑 프로그램의 포석능력의 향상을 위해서는 프로선수들이 두었던 기보를 포석단계별 바둑판 위의 상황에서 승률 통계등을 체계적으로 저장하는 것이 중요하다.Also, beginners who just go to Go programs or Go will need to select the next number in the paving stage. In particular, it is important to systematically store odds statistics, etc. in the situation on the board by step by step, in order to improve the paving ability of the Go program.

도 1의 경우에, 종래의 기술은 바둑판 위에 놓인 흑돌과 백돌의 배치정보를 의미하는 반상패턴에서 흰돌 또는 흑돌이 차지하지 않는 공간을 '0', 흑돌이 차지한 공간을 '1'그리고 백돌이 차지한 공간을 '2'로 표시하여 바둑판상의 패턴을 표시할 수 있다는 것이다. In the case of FIG. 1, the conventional technique is '0' for the space not occupied by the white stone or black stone, '1' for the space occupied by the black stone, and the space occupied by the black stone in the inversion pattern indicating the arrangement information of the black stone and the white stone placed on the board. Can be displayed as a '2' to display a checkerboard pattern.

종래의 기술은 단순히 반상패턴을 3진수로 변형하여 표현하는 방법에 불과하며, 예를 들면 실제 대국의 포석단계에 있어서 다음 수를 착점하고자 하는 경우에 우선 착점이 필요한 곳과 그렇게 착점한 경우에 프로기사가 그 점에 착점한 경우의 승률을 표시하거나 승률에 따른 착점을 제안하는 방법 등 여러 대국의 통계자료를 분석하여 보다 효과적으로 포석을 진행할 수 있도록 하는 데에는 이르지 못하고 있다. The conventional technique is merely a method of transforming a half-pattern pattern into a ternary number. For example, in the case of a real country's paving stone phase, when the first number needs to be found, it is necessary to place the first and the first. It is not possible to analyze the statistical data of various powers such as displaying the winning rate when the knight points to the point or suggesting the landing point according to the winning rate so that the paving can be carried out more effectively.

따라서, 비단포석의 단계뿐만 아니라 수의 선후관계가 중요한 때에 있어서 수의 진행에 따른 반상패턴을 체계적으로 저장할 수 있는 데이터베이스와 최근의 수에 의하여 형성된 반상패턴으로부터 다음 수의 착점별 승패정보를 가지는 데이터베이스를 이용하여 각 경우별로 승률을 분석하여 효율적인 진행을 얻을 수 있도록 하는 것이 요망된다.Therefore, a database that can systematically store the pattern of the pattern according to the progress of the number when the number of posterior stones is important as well as the stage of the silk paving stone, and a database having the next number of winning and losing information from the pattern of patterns formed by the recent number. It is desirable to analyze the winning rate by each case to obtain efficient progress.

본 발명은 이러한 종래의 기술의 문제점을 해결하기 위한 것으로, 반상패턴 데이터베이스 및 다음 수 관계 데이터베이스를 이용하여 최적의 다음 수를 제안하는데 그 목적이 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the problems of the prior art, and an object thereof is to propose an optimal next number using a reverse pattern database and a next number relation database.

본 발명에 의한 다음 수 제안 방법은, 현재 수의 착점에 의한 반상패턴을 형성하는 제1 단계, 상기 현재 수에 의한 반상패턴 데이터베이스에 상기 반상패턴이 저장되어 있는지 검색하는 제2 단계, 상기 제2 단계의 검색결과, 반상패턴이 저장된 경우에는 상기 반상패턴 데이터베이스로부터 상기 반상패턴의 일련번호를 획득하는 제3 단계, 현재 수에 의한 다음 수 관계 데이터베이스에 상기 일련번호를 가진 튜플을 검색하는 제4 단계 및 상기 검색된 튜플로부터 다음 수 착점정보를 읽어 표시하는 제5 단계를 포함한다.
본 발명에 의한 다음 수 제안 방법은, 상기 제2 단계의 검색결과, 반상패턴이 저장되어 있지 않은 경우에는 종료하는 단계를 더 포함하는 것을 특징으로 한다.
본 발명에 의한 다음 수 제안 방법은, 상기 제5 단계에서, 상기 검색된 튜플로부터 흑승전적 및 백승전적을 읽어 표시하는 것을 더 포함하는 것을 특징으로 한다.
The next number suggestion method according to the present invention includes a first step of forming a halftone pattern based on a current number of points, a second step of searching whether the halftone pattern is stored in the halftone pattern database by the current number, and the second step. A third step of obtaining a serial number of the reverse pattern from the reverse pattern database when the reverse pattern is stored; and a fourth step of searching for a tuple having the serial number in a next number relation database based on a current number; And a fifth step of reading and displaying next arrival point information from the retrieved tuple.
The next number suggestion method according to the present invention is characterized in that it further comprises the step of terminating if the search result of the second step is not stored.
The next number suggestion method according to the present invention is further characterized in that, in the fifth step, reading and displaying the black victorious and the white victorious from the searched tuples.

본 발명에 의한 다음 수의 제안방법을 실시하는 경우에는 반상패턴 데이터베이스 및 다음 수 관계 데이터베이스를 이용하여 주어진 상황에서 승률이 가장 높은 최적의 다음 수를 제안할 수 있다.In the case of implementing the next number proposal method according to the present invention, an optimal next number having the highest odds in a given situation can be proposed using the reverse pattern database and the next number relation database.

도 1은 반상패턴을 3진수로 표현하기 위한 것을 예시하기 위한 도면.
도 2는 본 발명에 의한 반상패턴 데이터베이스 및 다음 수 관계 데이터베이스를 이용한 다음 수의 제안방법의 흐름도.
도 3은 본 발명에 의한 반상패턴 데이터베이스 및 다음 수 관계 데이터베이스를 이용하여 제안된 다음 수를 도시한 도면.
BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a diagram for illustrating the representation of a half-phase pattern in ternary number.
2 is a flowchart of a method for proposing the next number using the reverse pattern database and the next number relation database according to the present invention;
3 is a diagram showing the next proposed number using the reverse pattern database and the next number relation database according to the present invention.

이하, 본 발명의 바람직한 실시예를 첨부된 도면들을 참조하여 상세히 설명한다. 우선 각 도면의 구성요소들에 참조부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의하여야 한다. 또한, 본 발명을 설명함에 있어서, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐를 수 있다고 판단되는 경우에는 그 상세한 설명을 생략한다.
Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. First, in adding reference numerals to the components of each drawing, it should be noted that the same reference numerals are used as much as possible even if displayed on different drawings. In describing the present invention, when it is determined that the detailed description of the related well-known configuration or function may flow the gist of the present invention, the detailed description thereof will be omitted.

이하에서는 바둑은 500수 이내에 끝난다고 가정한다. 또한, 바둑판은 정사각형이고, 그 중심점인 천원(天元)을 기준으로 90도 회전하여 생기는 패턴도 역시 원래의 패턴과 동일한 게임 상황을 표현한다. 따라서, 임의의 반상패턴은 천원을 중심으로 이를 각각 90도, 180도, 270도 회전시킨 후의 패턴과 동등한 패턴이라고 할 수 있다. 이 4개의 동등한 패턴 중 돌의 배치형태에 따라 대표반상패턴을 계산하여 결정할 수 있다. 이하에서는 기보파일(棋譜)에 저장되어 있는 어느 하나의 패턴이 다른 기보파일에 저장되어 있는 패턴을 90도, 180도, 270도 회전시킨 후의 패턴과 동일한 경우에는 대표반상패턴만을 기준으로 하여 서술하도록 한다. 따라서, 이하에서 데이터베이스에 한 개의 튜플로 저장하는 반상패턴은 이와 같은 대표반상패턴을 의미한다.In the following, it is assumed that Go is finished within 500 numbers. In addition, the checkerboard is square, and the pattern generated by rotating 90 degrees with respect to its center point of thousand won also represents the same game situation as the original pattern. Therefore, the arbitrary half-pattern pattern can be said to be a pattern equivalent to the pattern after rotating it 90 degrees, 180 degrees, and 270 degrees centering on the thousand won, respectively. Based on the arrangement of the stones among the four equivalent patterns, the representative half-pattern pattern can be calculated and determined. Hereinafter, when any one pattern stored in the notation file is the same as the pattern after rotating the pattern stored in the other notation file by 90 degrees, 180 degrees, or 270 degrees, the description will be made based only on the representative reflection pattern. do. Therefore, the half phase pattern stored as one tuple in the database below means such a representative half phase pattern.

도 1이 어떠한 반상패턴의 대표반상패턴이라고 가정한다. 이를 행단위로 하여 3진법으로 표현하면 다음과 같다.It is assumed that Fig. 1 is a representative halftone pattern of a certain halftone pattern. If this is expressed in ternary form by row unit, it is as follows.

좌상귀가 존재하는 행을 제1행으로 하고 좌하귀가 존재하는 행을 제19행으로 정의한다. 그러면, 제1행은 흑돌-공간-흑돌-공간-백돌-공간 … 이므로 흑돌에 1, 백돌에 2, 공간에 0의 값을 주어 표현하면 1010201000000000000와 같다.A row in which the upper left ear exists is defined as the first row, and a row in which the lower left ear exists is defined as the 19th row. Then, the first row is black stone-space-black stone-space-white stone-space. Therefore, if you give the value of 1 in black stone, 2 in white stone, and 0 in space, it is equal to 1010201000000000000.

이와 같이 도 1의 반상패턴을 행별로 3진법으로 표시하면 아래의 표 1과 같다.As such, when the half-pattern pattern of FIG. 1 is displayed in a ternary manner for each row, it is shown in Table 1 below.


제1행

First row

1010201000000000000

1010201000000000000

제2행

2nd row

2111111200000111000

2111111200000111000







제7행

7th row

0000000000000001222

0000000000000001222

제8행

8th row

0000000000000001111

0000000000000001111







제19행

Row 19

0000000000000000000

0000000000000000000

또한, 최우측열을 기준으로 하여 가장 우측 열에 30, 그 바로 좌측의 열에 31 과 같이하여 가장 좌측의 열에 318의 값을 지정할 수 있으며, 상술한 바와 같이 반상패턴을 형성하는 하나의 행에 위치한 흑돌, 백돌 및 공간에 각각 1, 2, 0의 값을 주어 표현하는 것도 가능하다.Also, a value of 3 18 can be assigned to the leftmost column, such as 3 0 in the rightmost column and 3 1 in the immediately left column, based on the rightmost column. It is also possible to give the value of 1, 2, and 0 to the black stone, the white stone and the space located at, respectively.

표 1의 반상패턴을 구성하는 제1행 내지 제19항의 0, 1 또는 2의 값에 해당하는 열에 따른 3의 거듭제곱을 곱하여 연산된 결과를 10진법으로 표현하면 아래의 표 2와 같다.The result calculated by multiplying the power of 3 according to the column corresponding to the value of 0, 1 or 2 of the first row to the 19 constituting the reverse pattern of Table 1 is expressed in decimal notation as shown in Table 2 below.


제1행

First row

440564589

440564589

제2행

2nd row

968640147

968640147







제7행

7th row

53

53

제8행

8th row

40

40







제19행

Row 19

0

0

이러한 형태와 같이 행의 번호와 해당 행의 공간, 흑돌 및 백돌의 위치를 3진법으로 표현한 좌표를 이하 3진 좌표라 표현하기로 한다.As described above, the coordinates expressed by the ternary method of the row number, the space of the row, the positions of the black stones and the white stones will be referred to as ternary coordinates.

또한, 상술한 바와 같이 패턴을 표시하는 데에 있어 3진 좌표로 표현하는 방법 외에 반상의 흑돌 또는 백돌의 위치를 반상의 특정한 한 점을 기준으로 하여 2차원 x, y 좌표로 표시하는 것도 가능하며, 이를 도 2를 통하여 설명한다.In addition, as described above, in addition to the method of expressing the ternary coordinate in the display of the pattern, it is also possible to display the position of the black stone or the white stone in two-dimensional x and y coordinates based on a specific point of the half table. This will be described with reference to FIG. 2.

도 2의 흑돌(10)은 바둑판 우상부의 화점에 착점되어 있다. 이를 상술한 3진수로 표시하면 제4행, 27(=33)으로 표시할 수 있음은 상술한 바와 같다. 또한 좌상귀를 기준점(0,0)으로 삼아 (15,3)으로 표시할 수도 있다.The black stone 10 of FIG. 2 is attached to the fire store of the upper right part of the board. If it is expressed in the above-described ternary number, it can be displayed in the fourth row, 27 (= 3 3 ), as described above. It can also be expressed as (15,3) using the upper left ear as a reference point (0,0).

이하, 본 명세서에서는 대표반상패턴의 좌상귀 및 우상귀가 존재하는 행을 제1행으로 하고 좌하귀 및 우하귀가 존재하는 방향으로 증가하여 행의 번호를 센다. 또한, 좌상귀를 2차원 좌표의 기준점인 (0,0)으로 한다.
Hereinafter, in the present specification, the row in which the upper left and right ear of the representative upper half pattern exist is the first row, and the row number is increased by increasing in the direction in which the lower left and right lower ears exist. In addition, let the upper left ear be (0,0) which is a reference point of two-dimensional coordinates.

다만, 이는 본 발명을 설명 또는 예시하기 위함이며 본 발명의 기술적 사상을 한정하기 위함이 아니다. 또한, 본 발명이 속하는 기술분야에 통상의 지식을 가지는 자는 반상패턴을 표현함에 있어서 본원과 같이 행단위로 표현하는 것으로부터 용이하게 열단위로 표현하는 것이 가능하며, 행의 번호를 세는 방법 또한 용이하게 변형이 가능하다. 나아가, 2 차원 좌표의 기준점을 반상 및 반외의 한 점을 기준점으로 변경하는 것도 가능하다.
However, this is for the purpose of illustrating or illustrating the present invention and is not intended to limit the technical spirit of the present invention. In addition, a person having ordinary knowledge in the technical field to which the present invention belongs can easily express the column unit from the unit of the row as shown in the present invention, and the method of counting the number of rows is also easy. Modifications are possible. Furthermore, it is also possible to change the reference point of the two-dimensional coordinates to a reference point of one half and one half other.

우선, 첫 착점 후의 반상패턴 데이터베이스, 두 번째 착점 후의 반상패턴 데이터베이스, ..., 500번째 착점 후의 반상패턴 데이터베이스를 설계하고, 각각의 반상패턴 데이터베이스는 해당 패턴으로부터 대국이 진행되어 백승 횟수와 흑승 횟수를 위한 속성도 가지도록 설계한다.
First, we design a half-phase pattern database after the first landing, a half-phase pattern database after the second landing, ..., a half-phase pattern database after the 500th landing. It is also designed to have attributes for.

우선, 반상패턴 데이터베이스(obPi, on-board Pattern after i-th move)를 설계한다. i 번째 수에 의하여 형성된 반상패턴 데이터베이스의 속성과 자료형은 아래의 표 3과 같다.First, we design an on-board pattern after i-th move (obPi). The attributes and data types of the inverse pattern database formed by the i th number are shown in Table 3 below.


i 번째 착점정보

i-th point information

게임결과

Game Results



파일명



Filename



일련번호



Serial Number

lp1

lp1

lp2

lp2



lp19

lp19

흑승 전적

Black victory record

백승 전적

A hundred victory record

Number

Number

Number

Number



Number

Number

Number

Number

Number

Number

Char

Char

Number

Number

표 3에서, i 번째 착점정보를 구성하는 1p1 내지 lp19는 바둑판의 각 행을 나타낸다. 이러한 lp1 내지 lp19를 구성하는 Number는 각 줄의 패턴을 3진법으로 표현하여 저장한 것으로, 이러한 Number값은 3진수로 표현된 값을 10진수로 표현하기에 충분한 정도의 값을 의미한다. 게임결과를 구성하는 승전적은 해당 패턴으로 흑이 이긴 횟수이며 패전적은 마찬가지로 해당 패턴으로 백이 이긴 횟수를 나타낸다. In Table 3, 1p1 to lp19 constituting the i < th > point information indicate each row of the checkerboard. Numbers lp1 to lp19 express and store the pattern of each line by the ternary method. The number value means a value sufficient to express the value represented by the ternary number as a decimal number. The victorious constituent of the game result is the number of times the black won in the pattern, and the defeat is the number of times the bag won in the pattern.

또한, 파일명은 주어진 패턴이 맨 처음으로 등록될 때의 기보(棋譜)파일명으로 이를 나타내는 자료형인 Char는 파일명을 모두 표현하는데 충분한 정도의 크기를 가지는 문자열이다.In addition, the file name is an original file name when a given pattern is registered for the first time, and the data type Char is a character string large enough to represent all file names.

일련번호는 하나의 반상패턴에 대하여 유일(UNIQUE)한 하나의 값이 지정되는 것으로, 이 테이블에 몇 번째로 등록되었는지를 나타내는 값으로 유일한 정수값이다. 따라서, 일련번호값은 널(NULL) 값이 될 수 없다.The serial number is a unique value for one reverse pattern. The serial number indicates the number of times registered in this table. It is a unique integer value. Therefore, the serial number value cannot be a null value.

이러한 반상패턴 데이터베이스는 수의 진행에 따라 순차적으로 형성된다. 즉, 첫 착점에 의하여 형성된 반상패턴 데이터베이스, 두 번째 착점에 의하여 형성된 패턴에 대한 반상패턴 데이터베이스, …, 500번째 착점에 의하여 형성된 패턴에 대한 데이터베이스로 구축된다.The reverse pattern database is sequentially formed as the number progresses. Namely, a half-pattern pattern database formed by the first chakjeom, a half-phase pattern database of the patterns formed by the second chakjeom,. It is constructed as a database for the pattern formed by the 500th chakjeom.

N번째 착점 후의 패턴과 N+1 번째 착점 후의 패턴은 "다음 수"의 관계가 있다. 현재의 수에 의하여 형성된 반상패턴에 대한 다음 수의 착점 검색을 위하여 첫 수에서 두 번째 수, 두 번째 수에서 세 번째 수, ...,499번째 수에서 500번째 수까지의 다음 수 관계 데이터베이스(jnTk, join Table for k-th to (k+1)th move)를 설계한다. 다음 수 관계 데이터베이스의 속성과 자료형은 아래의 표 4와 같다. The pattern after the Nth landing and the pattern after the N + 1th landing have a relationship of "next number". The next number relation database from the first to the second number, the second to the third number, ..., the 499th to 500th numbers, for searching the next number of points for the inversion pattern formed by the current number. Design jnTk, join Table for k-th to (k + 1) th move). The attributes and data types of the following number relational database are shown in Table 4 below.


직전 착점에 의하여 형성된 패턴의 일련번호

Serial number of the pattern formed by the last landing

최근 착점에 의하여 형성된 패턴의 일련번호

Serial number of the pattern formed by the recent point of contact

착점정보

Location Information

직전 착점에 의하여 형성된 패턴에서 최근 착점에 의하여 형성된 패턴으로 대국 진행시 게임결과

Game results when playing against a game with a pattern formed by a recent quest from a pattern formed by a previous quest



파일명




Filename



최근 착점에 의하여 형성된 패턴에서 대국 진행시 게임결과


Game results when playing against a game in a pattern formed by recent arrival
x 좌표x coordinate y 좌표y coordinate
흑승 전적

Black victory record

백승 전적

A hundred victory record

승 전적

Win
패 전적Loss

Number

Number

Number

Number

Number

Number

Number

Number

Number

Number

Number

Number

Char

Char

Number

Number

Number

Number

데이터베이스의 튜플을 구성하는 각각의 자료형인 Number 및 Char는 상술한 반상패턴 데이터베이스와 같다.Each of the data types Number and Char constituting the tuple of the database is the same as the above-described antiphase pattern database.

여기서, 직전 착점에 의하여 형성된 패턴의 일련번호는 직전 착점에 의하여 형성된 반상패턴 데이터베이스에서의 특정 튜플의 일련번호값을 나타내는 것으로 직전 착점에 의하여 형성된 반상패턴 데이터베이스에 저장된 해당 반상패턴의 일련번호 값을 참조하도록 설정하며, 최근 착점에 의하여 형성된 패턴의 일련번호는 최근 착점에 의하여 형성된 반상패턴 데이터베이스에서의 특정 튜플의 일련번호값을 나타내는 것으로 최근 착점에 의하여 형성된 반상패턴의 일련번호 값을 참조하도록 설정한다.Here, the serial number of the pattern formed by the last chakjeom represents the serial number value of a specific tuple in the halftone pattern database formed by the last chakjeom, and refers to the serial number value of the corresponding halftone pattern stored in the halftone pattern database formed by the last chakjeom. The serial number of the pattern formed by the recent chakjeom represents the serial number value of a specific tuple in the halftone pattern database formed by the recent chakjeom and is set to refer to the serial number value of the halftone pattern formed by the latest chakjeom.

착점정보를 구성하는 x 좌표 및 y 좌표는 최근 착점에 의하여 형성된 반상패턴 데이터베이스의 가장 최근 수에서 착점의 x좌표 및 y좌표를 나타낸다.
The x coordinate and the y coordinate constituting the spot information represent the x and y coordinates of the spot in the most recent number of the halftone pattern database formed by the recent spot.

또한, 직전 착점에 의하여 형성된 패턴에서 최근 착점에 의하여 형성된 패턴으로 대국 진행시 게임결과는 직전의 수에 의하여 형성된 패턴으로부터 최근 수를 두어 형성된 패턴으로 대국이 진행된 경우에서의 승패전적을 나타내나, 최근 착점에 의하여 형성된 패턴에서 대국 진행시 게임결과는 직전의 수에 의하여 형성된 반상패턴을 불문하고 현재의 수에 의하여 형성된 반상패턴에서 대국이 진행된 경우에서의 승패전적을 나타낸다.In addition, when the game progresses from the pattern formed by the last landing to the pattern formed by the recent landing, the game result indicates the result of winning or losing in the case where the game is played by the pattern formed by the recent number from the pattern formed by the last number. The game result when the match is played in the pattern formed by the chakjeom represents the result of winning or losing in the case where the match is played in the match pattern formed by the current number regardless of the half pattern formed by the last number.

파일명는 해당 튜플이 맨 처음으로 등록될 때의 기보(棋譜)파일명을 나타내며, 최근 착점에 의하여 형성된 패턴에서 대국 진행시 게임결과는 최근 착점에 의하여 형성된 패턴에서 대국이 계속 진행된 경우에의 승패전적을 나타낸다.
The file name indicates the original file name when the tuple is registered for the first time, and the game result when the game is played in the pattern formed by the recent chakjeom indicates the win or loss when the game continues in the pattern formed by the latest chakjeom. .

이어서 대표반상패턴 데이터베이스 및 다음수 관계 데이터베이스를 이용하여 다음수를 제안하는 방법을 도 2를 통하여 설명한다.
바둑의 대국자가 현재 둔 수의 착점에 의한 반상패턴을 형성한다(S10).
이어서, 형성된 반상패턴이 현재 수에 의한 반상패턴 데이터베이스에 저장되어 있는지 검색한다(S20). 검색결과, 형성된 반상패턴이 현재 수에 의한 반상패턴 데이터베이스에 저장되어 있으면, 검색된 반상패턴의 일련번호를 획득한다(S30). 이는, 현재의 반상패턴으로부터 다음 한 수가 두어져 대국이 진행되는 경우에 현재 반상패턴의 일련번호를 이용하여 다음 수 관계 데이터베이스에 저장된 다음 수를 검색하기 위한 것이다.
다음으로, 검색된 현재의 수에 의하여 형성된 반상패턴의 일련번호와 대응되는 다음 수 관계 데이터 베이스의 직전 착점에 의하여 형성된 패턴의 일련번호 속성을 검색한다(S40).
이 때, 검색된 다음 수 관계 데이터베이스의 튜플로부터 다음 수의 착점정보를 얻을 수 있으며, 나아가, 해당 반상패턴으로부터 대국이 진행되는 경우에 흑이 승리한 전적 및 백이 승리한 전적등의 정보를 표시할 수 있다.(S50)
이러한 방법을 통하여, 도 3에서 흑이 107의 위치에 첫 수를 두고, 이어서 백이 108의 위치에 두번째 수를 둔 상황에서 세번째 수를 제안하는 방법을 보다 구체적으로 살펴본다.
우선, 두 번째 수까지의 착점에 의한 반상패턴을 형성한다.
Next, a method of suggesting the next number using the representative phase pattern database and the next number relation database will be described with reference to FIG. 2.
Go players form a reverse pattern based on the number of landings currently placed (S10).
Subsequently, it is searched whether the formed halftone pattern is stored in the halftone pattern database by the current number (S20). As a result of the search, if the formed halftone pattern is stored in the halftone pattern database according to the current number, a serial number of the found halftone pattern is obtained (S30). This is for retrieving the next number stored in the next number relation database using the serial number of the current half pattern when the next one is placed from the current half pattern.
Next, the serial number attribute of the pattern formed by the immediately preceding point of the next number relation database corresponding to the serial number of the reverse pattern formed by the retrieved current number is retrieved (S40).
At this time, the next number of landing information can be obtained from the tuple of the searched next number relation database, and furthermore, the information such as the victory of black and the victory of white when the match is played from the corresponding inversion pattern can be displayed. (S50)
Through this method, a method of proposing a third number in the situation where the black has the first number at the position 107 and the white has the second number at the position 108 is described in more detail.
First, a half-phase pattern by the point of contact up to the second number is formed.

이어서, 이러한 반상패턴이 두번째 수에 의한 반상패턴 데이터베이스에 저장되어 있는지 검색한다. 이 때, 해당 반상패턴의 일련번호 값으로 1이 나온 결과를 가정하고, 두 번째 착점에 의하여 형성된 반상패턴 데이터베이스와 그 다음수의 관계에 있는 패턴을 말해주는 두 번째 착점과 세 번째 착점의 다음수 관계 데이터베이스가 표 5와 같다고 가정한다.
Then, it is searched whether such a halftone pattern is stored in a halftone pattern database by a second number. At this time, assuming the result of 1 as the serial number value of the anti-pattern pattern, the next number of the second and third chakjeom that tells the pattern of the relationship between the database of the anti-pattern pattern formed by the second chakjeom and the next number Assume that the relational database is shown in Table 5.

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete


직전 착점에 의하여 형성된 반상패턴의 일련번호

Serial number of the reverse pattern formed by the last landing

최근 착점에 의하여 형성된 반상패턴의 일련번호

Serial number of the anti-pattern pattern formed by recent defect

착점정보

Location Information

직전 착점에 의하여 형성된 패턴에서 최근 착점에 의하여 형성된 패턴으로 대국 진행시 게임결과

Game results when playing against a game with a pattern formed by a recent quest from a pattern formed by a previous quest

파일명

Filename

최근 착점에 의하여 형성된 패턴에서 대국 진행시 게임결과

Game results when playing against a game in a pattern formed by recent arrival
x 좌표x coordinate y 좌표y coordinate 흑승 전적Black victory record 백승 전적A hundred victory record 승 전적Win 패 전적Loss
1

One

1

One

16

16

15

15

16

16

25

25

H00b

H00b

16

16

25

25

1

One

5

5

15

15

16

16

11

11

17

17

H06B

H06B

11

11

17

17

1

One

23

23

15

15

15

15

2

2

2

2

M66w

M66w

2

2

2

2





4

4

4

4

15

15

16

16

18

18

20

20

H04b

H04b

20

20

20

20

4

4

28

28

14

14

2

2

0

0

1

One

M85w

M85w

0

0

1

One

4

4

27

27

2

2

14

14

0

0

1

One

M83w

M83w

0

0

1

One




이 때는 두 번째 착점에 의하여 형성된 반상패턴 데이터베이스의 일련번호값으로 1을 가지는 패턴에서 다음의 수로 진행하는 경우에 해당한다.In this case, it corresponds to a case where a pattern having a 1 as a serial number value of a half-phase pattern database formed by a second point is advanced to the next number.

다음의 수를 제안하기 위하여 표 5의 다음수 관계 데이터베이스를 살펴보면 직전 착점에 의하여 형성된 반상패턴의 직전 착점에 의하여 형성된 반상패턴 데이터베이스 일련번호는 대국이 진행되어 현재까지 두어진 수에 의하여 형성된 패턴의 일련번호임을 알 수 있으며, 최근 착점에 의하여 형성된 반상패턴의 최근 착점에 의하여 형성된 반상패턴 데이터베이스 일련번호에는 현재의 패턴으로부터 진행된 게임의 그 다음수 착점정보 및 게임결과등이 저장되어 있다.In order to propose the next number, look at the next number relation database of Table 5, the half-pattern database serial number formed by the last chasm of the half-phase pattern formed by the last chakjeom is a series of patterns formed by the numbers that have been played so far. It can be seen that the number, and the half-pattern database serial number formed by the recent chakjeom formed by the recent chakjeom stored in the next number of chakjeom information of the game progressed from the current pattern and game results.

따라서 최근 2수까지 진행된 패턴의 일련번호는 1이고, 다음 수에 의하여 형성된 반상패턴 데이터베이스 일련번호로 1, 5 또는 23을 가지는 패턴으로 진행한 경우가 첫째 내지 셋째 튜플로 다음수 관계 데이터베이스에 저장되어 있다.Therefore, the serial number of the pattern that has been performed up to the last two numbers is 1, and the case of the pattern having the 1, 5 or 23 as the reverse pattern database serial number formed by the next number is stored in the next number relationship database as the first to third tuples. have.

이러한 일련번호로 1, 5, 23을 가지는 패턴을 저장한 각각의 튜플이 저장하는 착점정보를 도 3으로 도시한다.FIG. 3 shows the point information stored in each tuple storing a pattern having 1, 5, and 23 as the serial number.

도 3에서 흑이 세 번째 수로 일련번호 1을 가지는 위치인(16, 15)(111)에 두었을 때의 데이터베이스에 저장된 승률은 16/(16+15) 이고, 일련번호 5를 가지는 위치인 (15, 16)(113)에 두면 승률은 11/(11+17)이고, 일련번호 23을 가지는 위치인(15, 15)(112)에 흑돌을 두면 승률은 2/(2+2)임을 알 수 있다.In FIG. 3, the odds stored in the database when the black is placed at (16, 15) and 111, which are positions having the serial number 1 as the third number, are 16 / (16 + 15), and the position having the serial number 5 is ( 15, 16) (113), the odds are 11 / (11 + 17), and black stone at (15, 15) 112, the position having the serial number 23, shows that the odds are 2 / (2 + 2). Can be.

이를 통하여 대국중인 기사에게 다음 수의 착점위치를 그 착점위치에 따른 승률을 표시하여 제안하는 것이 가능하다. 나아가, 본 데이터베이스를 바둑 대국 프로그램에 응용하는 경우에도 상대방이 둔 수에 대하여 가장 높은 승률을 가지는 다음의 수의 착점을 찾아내어 대국을 진행시킬 수 있을 것이다.Through this, it is possible to propose the next number of landing positions to the knights in the game by displaying the winning percentage according to the landing positions. Furthermore, even if this database is applied to the game of Go game, it is possible to proceed with the game by finding the next number of points having the highest odds of winning the opponent.

따라서, 최근수와 그에 따른 반상패턴 데이터베이스 및 다음수 관계 데이터베이스를 통하여 데이터베이스에 저장된 다음 수를 제안할 수 있으며, 다음 수가 복수 개가 존재할 경우에는 승률을 표시하여 다음의 수를 제안하는 것도 가능하다.Therefore, the next number stored in the database can be proposed through the recent number, the reverse pattern database, and the next number relation database. When a plurality of next numbers exist, it is also possible to propose the next number by displaying a win rate.

나아가, 현재의 수로부터 다음 수를 제안할 때, 현재 착점에 의하여 형성된 패턴에서 제안된 다음 수의 착점에 의하여 형성된 패턴으로 대국 진행시 게임결과에 따른 승률을 표시하거나, 제안된 다음 수의 착점에 의하여 형성된 패턴에서 대국 진행시 게임결과에 따른 승률을 표시할 수 있다.
In addition, when the next number is proposed from the current number, the pattern formed by the next number of points suggested by the current run point indicates the winning rate according to the game result when the game is played, In the pattern formed by the game, the odds according to the game result can be displayed.

지금까지 본 발명의 바람직한 실시예에 대하여 설명하였으나, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명의 본질적인 특성을 벗어나지 않는 범위 내에서 변형된 형태로 구현할 수 있을 것이다. 그러므로 여기서 설명한 본 발명의 실시예는 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 하고, 본 발명의 범위는 상술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함되는 것으로 해석되어야 한다.While the preferred embodiments of the present invention have been described so far, those skilled in the art may implement the present invention in a modified form without departing from the essential characteristics of the present invention. Therefore, the embodiments of the present invention described herein are to be considered in descriptive sense only and not for purposes of limitation, and the scope of the present invention is shown in the appended claims rather than the foregoing description, and all differences within the equivalent scope of the present invention Should be interpreted as being included in.

S01 내지 S03: 본 발명에 의한 반상패턴 데이터베이스 및 다음 수 관계 데이터베이스를 이용한 다음 수를 제안하는 방법의 각 단계를 나타낸다.
107, 108 : 두 번째 수까지 두어진 상태의 흑돌과 백돌의 착점위치.
111 내지 113 : 반상패턴 데이터베이스 및 다음 수 관계 데이터베이스를 이용하여 제안된 다음 수.
S01 to S03 show each step of the method for proposing the next number using the reverse pattern database and the next number relation database according to the present invention.
107, 108: Junction position of black stone and white stone in the state of placing to the second number.
111-113: The next number suggested using the reverse pattern database and the next number relationship database.

Claims (3)

제1 대국자가 제1 착점한 정보를 저장하는 제1 데이터베이스와 상기 제1 착점 이후에 진행한 제2 착점에 대한 정보를 튜플로서 저장하는 제2 데이터베이스를 포함하는 바둑게임 제공 시스템의 바둑게임 제공 방법에 있어서,
제2 대국자의 제3 착점이 상기 제1 데이터베이스에 저장되어 있는지를 상기 바둑게임 제공 시스템이 검색하는 제1 단계;
상기 제3 착점이 상기 제1 데이터베이스에 저장되어 있으면, 상기 바둑게임 제공 시스템이 상기 제1 데이터베이스로부터 상기 제1 착점에 대한 일련번호를 획득하는 제2 단계;
상기 제1 착점에 대한 일련번호를 바탕으로, 상기 바둑게임 제공 시스템이 상기 제2 데이터베이스로부터 상기 일련번호를 가진 튜플을 검색하는 제3 단계;
검색된 상기 튜플로부터 상기 바둑게임 제공 시스템이 상기 제2 착점을 상기 제2 대국자에게 제공하는 제4 단계;
를 포함하는 바둑게임 제공 방법.
Go game providing method of the Go game providing system comprising a first database for storing the information that the first player is the first landing point and a second database for storing information about the second landing that proceeded after the first landing as a tuple. To
A first step of the go game providing system searching whether a third landing point of a second player is stored in the first database;
A second step of, if the third landing point is stored in the first database, the game game providing system obtaining a serial number for the first landing point from the first database;
A third step of the go game providing system searching for a tuple having the serial number from the second database based on the serial number for the first chakjeom;
A fourth step of providing, by the go game, the searched tuple game system, the second landing point to the second player;
Go game providing method comprising a.
제1항에 있어서,
상기 제1 단계의 검색결과, 상기 제3 착점이 상기 제1 데이터베이스에 저장되어 있지 않은 경우, 상기 바둑게임 제공 시스템은 상기 제2 대국자의 새로운 착점을 기다리는 단계를 더 포함하는 바둑게임 제공방법.
The method of claim 1,
If the third landing point is not stored in the first database, the Go game providing system further comprises waiting for a new landing point of the second player.
제1항에 있어서,
상기 제4 단계에서 상기 튜플로부터 흑승전적 및 백승전적을 읽어 표시하는 것을 포함하는 바둑게임 제공방법.
The method of claim 1,
In the fourth step, a game of Go game comprising the reading and displaying the black victory and the victory victory from the tuple.
KR1020100013334A 2010-02-12 2010-02-12 Method For Providing Paduk Game KR101097545B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100013334A KR101097545B1 (en) 2010-02-12 2010-02-12 Method For Providing Paduk Game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100013334A KR101097545B1 (en) 2010-02-12 2010-02-12 Method For Providing Paduk Game

Publications (2)

Publication Number Publication Date
KR20110093347A KR20110093347A (en) 2011-08-18
KR101097545B1 true KR101097545B1 (en) 2011-12-22

Family

ID=44930060

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100013334A KR101097545B1 (en) 2010-02-12 2010-02-12 Method For Providing Paduk Game

Country Status (1)

Country Link
KR (1) KR101097545B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101828286B1 (en) * 2014-10-27 2018-02-13 허철구 Advising system for contesting games and method thereof

Also Published As

Publication number Publication date
KR20110093347A (en) 2011-08-18

Similar Documents

Publication Publication Date Title
JP5841276B1 (en) GAME CONTROL METHOD, COMPUTER AND CONTROL PROGRAM
Guala et al. Bejeweled, Candy Crush and other match-three games are (NP-) hard
US20150321088A1 (en) Target based actionable characteristic
US20140323227A1 (en) Server device, user device, method for controlling server device, recording medium, and system
JP6093845B2 (en) GAME CONTROL METHOD, COMPUTER AND CONTROL PROGRAM
US20220088491A1 (en) Non-transitory computer-readable medium, information processing system, and method
KR20150129265A (en) Method and server for providing artificial intelligence for baduk service
Kloetzer et al. The monte-carlo approach in amazons
KR101097545B1 (en) Method For Providing Paduk Game
US20160243436A1 (en) Tile matching game
KR101136413B1 (en) On Board Pattern Database and Relation Database of Next Move
TW202118545A (en) Method for providing battle royale game in which game area and number of participants are determined dynamically and the server using the same
KR20160062584A (en) Processor and method for operating puzzle game
JP7256324B1 (en) game program
KR101113995B1 (en) Method For Providing Paduk Game
JP2019217216A (en) Game program, method, and information processing device
US20210129020A1 (en) Game apparatus, control method, and control program
KR100459826B1 (en) a retrieval system of baduk records and a method of the same
JP2016209664A (en) Game control method, computer, and control program
JP2016190015A (en) Game control method, computer, and control program
AU2016256765A1 (en) Novelty gaming techniques
JP6085651B2 (en) Reward grant program, reward grant method, and server device
US8419517B2 (en) Method of playing a game and computerized system for playing the game
US20180280792A1 (en) Methods and user devices for computer implemented games
Chang et al. Analysis and efficient solutions for 2× 4 Chinese dark chess

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20141128

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20171208

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee