Giter VIP home page Giter VIP logo

omok's Introduction

벤처창업 웹프로그래밍 II 중간과제

오목

흑과 백이 겨뤄, 5개의 돌을 먼저 잇는 플레이어가 이기는 게임을 구현다.

참고 코드

추후 공개

기능 명세

  • 최초 맵의 크기(x, y)를 입력받는다. (10<= x,y <= 19). form 사용.
  • 입력 받은 값에 맞게 바둑판이 형성된다.
  • 셀을 클릭 시 흑돌과 백돌이 번갈아가면서 두어진다.
  • 흑 혹은 백이 승리 조건 달성 시, 결과창에 결과를 기록하고 게임을 종료한다.
  • 보드판 오른쪽은 지속된 시간을 보여준다.
  • 리스타트 버튼을 누를 시 맵의 크기는 유지한 상태로 게임이 재시작된다.

추가 기능

  • 초기 입력 시, 흑과 백 중 누가 먼저 둘 지 선택할 수 있다.
  • 이어지는 3,3을 완성시키는 착수를 금지한다.
  • 착수 후 같은 곳을 클릭 시 해당 착수가 취소된다.
  • 착수 취소를 1번째 착수까지 이어서 진행이 가능하다.

coding style guide

  • index.html, game.js, styles.css(선택) 로 프로젝트는 구성이 되어야 한다.
  • 주어진 index.html(특히 id값)은 원형 그대로 사용한다.
  • spaces indenting를 기본으로 한다.
  • 변수명은 camelCase 를 기본으로 한다.
  • 외부 플러그인이나 라이브러리는 사용하지 않는다.

체점기준

  • 100점이 만점 기준. 각 기준을 통과 못할 때마다 해당 기준에 적용된 점수 감점. 최저 20점.
  • 주어진 기능 명세가 각각 정상적으로 동작하는가.(치명적 오류 -8, 버그 존재 시 -3)
  • 스펙에 맞지않게 개발 될 시 각 -3점( ex - 맵 크기를 5로 입력하여도 게임이 동작)
  • 문법에러 시 각 -1점
  • 의미가 없는 변수거나, 변수명이 의미가 불분명하거나, 변수작명이 잘못될 경우 각 -1점
  • 변수 위치가 잘못될 경우 각 -2점( ex) 모든 변수를 global에 선언)
  • html tag를 잘못사용하였을 시 각 -1점
  • 잘못된 스타일링으로 인해 게임 동작이 힘들거나, 플레이가 방해가 될 경우 -3점
  • 제출형식이 잘못될 경우 -3점
  • 외부라이브러리 사용시 -5

기타

  • 제출은 etl 중간과제 게시글을 이용하여 제출. http://etl.snu.ac.kr/mod/assign/view.php?id=1921270
  • 파일은 압축하여 이름을 학번.hw1.zip으로 전송 (ex - 2007-11186.hw1, 2007-11186.hw1.zip)
  • 과제 제출일은 4월 24일 23:59:59까지.
  • 하루 늦어질 시(1초라도) 총점에서 10% 감점(합연산). 일주일 이상 지난 과제는 받지 않음
  • 치팅은 코드 유사도를 검사하는 프로그램을 사용하여 검사 + 직접 코드를 보고 검사. 적발 시 과제 점수 0점 부여.
  • 질문은 github issue를 통해 받음.

omok's People

Contributors

9geunu avatar realcom avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.