Giter Site home page Giter Site logo

nsnestloveletter's People

Contributors

nnnyyy avatar hogenius avatar genius180 avatar kokaku84 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar James Cloos avatar  avatar  avatar  avatar

Forkers

uvbs

nsnestloveletter's Issues

발견된 문제 정리

  1. 방장이 나간 후에 새 방장이 임명된다. 그 후에 새 방장이 나가면 다른 사람들도 다 같이 튕기는 이슈
  2. 게임 도중에 한명이 나가면 다른 유저들은 먹통이 되는 이슈

DB에 기록하면 좋은 것들 정리( 아이디어 있으면 다 쓰삼 )

승리 횟수
패배 횟수
게임 중 절단 횟수
경비병 사용 총 횟수
경비병 명중 횟수
경비병에게 지목당한 횟수
험담가 사용 총 횟수
험담가 승리 횟수
험담가에게 지목당한 횟수
왕비가 있을 때, 영웅이나 마법사가 함께 있어본 횟수
한라운드도 못 이겨본 횟수

수정할 게임 패킷 구조 정리

패킷 재구성

방어 아이콘 제거

카드 사용 완료 후
다음 턴이 누군지 알려줄 때 초기화 할 것

  • 방어 아이콘
  • 그 턴 플레이어를 제외한 나머지의 마이턴 표시 제거
    OnStatus
    현재턴 : GameIndex
    (나일 경우는) 무엇을 뽑았나 : CardIndex

UseCard1
누구 : GameIndex
무엇 : CardIndex ( without 1 )

OnCard1Ret
누가 : GameIndex
누구에게 : GameIndex
무엇이라고 : CardIndex
성공했는가? : bool
(성공했다면) 상대방 사망, 카드 공개

UseCard2
누구 : GameIndex

OnCard2Ret
누가 : GameIndex
누구에게 : GameIndex
(요청 당사자일 경우)무엇이다. : CardIndex

UseCard3
누구 : GameIndex

OnCard3Ret
누가 : GameIndex
누구에게 : GameIndex
결과 : GameIndex - 승 , -1 : 무승부
(결과가 무승부가 아니라면) 패배자 카드 : CardIndex , 패배자 사망, 카드 공개

UserCard4

OnCard4Ret
누가 : GameIndex
누가 의 방어구 표시

UseCard5
누가 : GameIndex
누구에게 : GameIndex

OnCard5Ret
누구에게 : GameIndex
공주카드 드롭 사망 여부 : bool
(누구에게 의 당사자고 드롭 카드로 사망하지 않았다면) 무슨 카드 얻었나 : CardIndex

UseCard6
누구에게 : GameIndex

OnCard6Ret
누가 : GameIndex
누구에게 : GameIndex
(내가 타겟유저면) 내가 가진 카드 상대방에게 전달, 그리고 가져올 카드 : CardIndex
(내가 소스유저면) 내가 가진 카드 상대방에게 전달, 그리고 가져올 카드 : CardIndex

UseCard7
누가 : GameIndex

OnCard7Ret
누가 : GameIndex

남은 작업

서버 쪽 남은 작업

  • 끊겼을 때 릴레이 처리
  • 하트비트 쏘기 작업
  • 캐릭터 데이터 플러싱 스레드 작성

고민 중인 작업

  • io 작업 멀티스레딩

모바일 테스트에서 발견한 버그들

  • 모바일에서 로그인 상태로 장시간 있으면 네트워크가 서로 절단되나 서버 소켓에는 전달되지 않는 이슈
    ( 그래서 좀비 유저가 서버에 남아 있고, 그래서 다시 로그인이 안됨 ) -> AliveCheck 필요

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.