- Omok/상규
["Omok"]
- Omok/유상욱
int omok_array[19][19]={0,};
void omok_display();
int omok_check(int, int);
omok_display();
if ( omok_array[question_x][question_y] != 0)
omok_array[question_x][question_y] = b_and_w%2+1;
omok_display();
if (omok_check(question_x, question_y) == 2)
else if (omok_check(question_x, question_y) == 1)
void omok_display()
cout << omok_array[i][j];
int omok_check(int x, int y)
int i,check_x=0,check_y=0,check_cl=0,check_cr=0,che=0,temp=omok_array[x][y];
if ( omok_array[x-i][y] == temp)
if ( omok_array[x-(i+1)][y] != temp )
if ( omok_array[x][y-i] == temp)
if ( omok_array[x][y-(i+1)] != temp )
if ( omok_array[x-i][y-i] == temp)
if ( omok_array[x-(i+1)][y-(i+1)] != temp )
if ( omok_array[x-i][y+i] == temp)
- Omok/재니
bool checkOmok(){
while (!bd.checkOmok()){
["Omok"]
- naneunji
* ["Omok"]
- 데블스캠프2002
1. ["Omok"] - 이건 문제라기 보다는 간단한 실습~ - 상협
- 데블스캠프2002/진행상황
* 실습 - Personal Web Server 설치 & 간단한 ASP 실습. 윈도우즈 프로그래밍 관련 실습. 도스용 ["Omok"] 프로그래밍
- 오목/재니형준원
== OmokView.h ==
// OmokView.h : interface of the COmokView class
#if !defined(AFX_OMOKVIEW_H__95EACAA5_FAEA_4766_A6B3_6C6245050A8B__INCLUDED_)
#define AFX_OMOKVIEW_H__95EACAA5_FAEA_4766_A6B3_6C6245050A8B__INCLUDED_
class COmokView : public CView
int omokBoard[19][19];
COmokView();
DECLARE_DYNCREATE(COmokView)
COmokDoc* GetDocument();
//{{AFX_VIRTUAL(COmokView)
bool CheckOmok();
virtual ~COmokView();
//{{AFX_MSG(COmokView)
#ifndef _DEBUG // debug version in OmokView.cpp
inline COmokDoc* COmokView::GetDocument()
{ return (COmokDoc*)m_pDocument; }
#endif // !defined(AFX_OMOKVIEW_H__95EACAA5_FAEA_4766_A6B3_6C6245050A8B__INCLUDED_)
== OmokView.cpp ==
// omokView.cpp : implementation of the COmokView class
#include "omok.h"
Found 7 matching pages out of 7540 total pages
You can also click here to search title.