Skip to content

Latest commit

 

History

History
38 lines (36 loc) · 1.66 KB

TODO.md

File metadata and controls

38 lines (36 loc) · 1.66 KB

TODO (client)

  • add more options in setup screen:
    • configure server address (server_url)
    • (rename players (Player.name -- keep playerID numeric strings from 0..3))
    • (choose size of bag, limitBag)
  • add authentication for players
  • GUI:
    • add button to put all placed pieces back to hand to discard move
    • enable right-click to drag field when piece is hovering
    • improve display of scores and number of pieces left in bag
    • improve alignment of buttons in bottom right corner of screen
    • (display player names)
    • improve camera positions (viewHomeCenter, viewCameraCenter)
    • add "?" on pieces on hand of opponents (instead of leaving blank) (drawShape for Shape.Hidden)
    • add levitating arrow pointing at current player (could replace current sphere)
    • add visual effect for 6-in-a-row bonus
    • add sound effects
    • improve animations (cf. Animation in several places)
  • features

Technical remarks

  • public/index.html holds the setup screen, src/index.ts is the entry point for the code
  • 2-D grid needed for isValidMove and isEmpty
  • 1-D list of pieces needed for updating meshes
  • translating materials back is important so that they are drawn correctly in HUD

TODO (server)

  • add matchID to debug output
  • clean up debug output
  • handle "port already in use" more gracefully