Code Monkey home page Code Monkey logo

shinkgs's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

shinkgs's Issues

Download game SGF

Regular game example:

Type: ranked
Timestamp: 2017-04-01T14:25:45.371Z
Revision: none
White: Dom
Black: Amore
URL: http://files.gokgs.com/games/2017/4/1/Dom-Amore.sgf

Review example:

Type: review
Timestamp: 2017-04-01T14:29:28.814Z
Revision: 6
White: Dom
Black: Amore
URL: http://files.gokgs.com/games/2017/4/1/Dom-7.sgf

Might need to clarify with KGS team that only white name is needed for the following types:

'demonstration'
'review'
'rengo_review'

References:

https://groups.google.com/forum/#!searchin/kgs-client-coding/download%7Csort:relevance/kgs-client-coding/7uxh5Ku_E-Y/qqZ5_oamDgAJ
http://www.gokgs.com/gameArchives.jsp?user=Dom&year=2017&month=4

Announcement

KGS client mailing list, /r/baduk, Twitter, FB, KGS chat

Game playing

  • Move
  • Pass
  • Resign
  • Send Undo
  • Accept/decline undo
  • Basic scoring
  • Add time - 1 minute, 5 minutes
  • Don't send move if stone already present
  • Placeholder on click until server confirms
  • Stone hover
  • Safe mobile option? Double tap, or confirm?
  • Confirm resign
  • Prevent illegal moves (ko, suicide)
  • Nicer scoring mode - show score, done feedback
  • Switch to game review; button to review
  • "Are you sure you want to leave this game?" [leave] [don't leave] [resign]
  • Alert when opponent leaves
  • Badge on Play tab (and in window title) for "playing" (green) / unseen move (red)

Things to ask wms

  • Mobile user flag
  • Guest login
  • Register account
  • Cross-origin for API? See curl -H "Origin: https://example.com" -H "Access-Control-Request-Method: POST" -X OPTIONS --verbose https://www.gokgs.com/json/access
  • HTTPS for avatar images
  • "Internal error. Check webapp logs." sometime when game ends, sometimes when playing
  • JOIN_REQUEST and JOIN_GAME_BY_ID don't return anything for an Invalid game id. Makes it difficult to give an error for opening stale game id or stale URL
  • Is there a way to determine which game a challenge becomes if you are not subscribed to its channel?
  • SET_PASSWORD doc is wrong: field is "user" not "name"
  • GAME_UNDO_REQUEST response: role: "KRole[black]"
  • Pagination for archives
  • Most efficient way to get list of resumable games? Subscribe to own archive channel?

Sound effects

  • Message received
  • Challenge received
  • Move played (own game only?)
  • Challenge accepted
  • Overtime (beeps and/or countdown)

Challenge negotiation

See https://groups.google.com/forum/#!topic/kgs-client-coding/14x3ReFoMQk

Upstream messages:

  • JOIN_REQUEST
  • CHALLENGE_SUBMIT
  • CHALLENGE_PROPOSAL - change default (owner only)
  • CHALLENGE_RETRY - like undo submit for owner only
  • CHALLENGE_ACCEPT
  • CHALLENGE_DECLINE
  • CHALLENGE_CREATE
  • CHAT?

Downstream messages:

  • CHALLENGE_JOIN
  • CHALLENGE_DECLINE - other player declined
  • CHALLENGE_PROPOSAL - proposal sent for consideration; sent for everyone not just you and creator
  • CHALLENGE_FINAL - game starting
  • CHALLENGE_SUBMIT - someone else submitted
  • CHALLENGE_CANT_PLAY_RANKED
  • CHALLENGE_CREATED
  • CHALLENGE_NOT_CREATED
  • CHAT

Game.actions:

  • CHALLENGE_CREATE - ?
  • CHALLENGE_SETUP
  • CHALLENGE_WAIT
  • CHALLENGE_ACCEPT
  • CHALLENGE_SUBMITTED

Other items:

  • Use usersByName to render UserName in player list
  • Show room
  • Challenge creators from rooms you don't belong to: name is [unknown], missing from usersByName
  • Temporary: cancel if proposal doesn't match
  • Handicap/komi editable when color selected, not otherwise
  • Make sure proposal matches before auto-accepting
  • Take unranked/guest status into account (changes game type)
  • Nice design for (readonly) challenge dialog
  • Proposal equality: if nigiri, colors don't matter
  • Detect if default komi differs from initial proposal (6.5 vs 7.5)
  • Show board size in modal
  • Nice design for editable challenge dialog
  • Ability to navigate away from play section while challenge is open
  • Switching own rank on/off does not reflect change in challenge matchInfo
  • Highlight differences when changes made to an existing proposal
  • Navigate through received proposals with prev/next
  • Notification badge/sound when challenge received
  • Sound when challenge received
  • When receiving challenge, only highlight changes against expected "even" proposal, not initialProposal
  • when accepting challenge, briefly shows "negotiating" mode before starting game
  • As rank changes when you play, proposal not reflecting latest rank - currentUser not being updated?
  • Remember settings used to create proposal in preferences
  • Prevent setting ranked + private
  • Chat area; show users waiting ("observers"?)
  • When game opens to watch, make sure we leave any previous game we were watching
  • "The game owner accepted someone else's challenge"
  • Consider sub-nav under Play so you can browse challenges while you have one open; or allow for multiple open challenges?

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.