Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking Issue: V1 #1

Closed
61 of 89 tasks
MierenManz opened this issue Sep 21, 2021 · 0 comments
Closed
61 of 89 tasks

Tracking Issue: V1 #1

MierenManz opened this issue Sep 21, 2021 · 0 comments
Assignees
Labels
v1 v1 Issue

Comments

@MierenManz
Copy link
Collaborator

MierenManz commented Sep 21, 2021

Tracking of progress for myself

Client

HTML/CSS

  • Main Menu
    • Write Join button
    • Write Create button
    • Write Name input
  • Game
    • Write leave button
    • Write timer till lobby stops
    • Write chat bar

Frontend TS

  • Write DOM Manipulation code

    • Write playername system
    • Write Chat input system
    • Write Error input system
  • GameState

    • addCard (only private deck)
    • removeCard (dead cards)
    • modifyCard (only public deck)
    • moveCard (move from private to public deck)
  • Write Lobby code

    • Write match creation system
    • Write match join system
  • Write websocket IO system

    • Write output handler for player
    • Write input handler for player

UI

  • Write lobby table with player
  • Match board
    • Write card-deck
    • Write card-element
      • Health
      • Name
      • Ability
      • Image
    • Write player UI
      • Hand of cards
      • Write Mana bar
      • Write Health bar
      • Write ability button (standard dom)
      • Write attack button (standard dom)
      • Write draw button (standard dom)
    • Enemy UI
      • Hand of cards (only the back)
      • Write Health bar

Server

Player

  • Write onX API
    • onError
    • onOpen
    • onClose
    • onMessage
  • Write destructor API cleanUp
  • Output system sendEvent (send event to client)

Game

  • Write stopping functionality
  • Write cancelling match functionality
  • Write match timeout
  • messageHandler
  • IO System
    • sendGlobalEvent System (only players)

Database

  • Write basic queries for matches table (show win loss etc.)

Closing codes

  • OK
  • Player left game
  • Player left game (error)
  • Player won (unused right now)
  • Player lost (unused right now)
  • Match cancelled
  • Match lobby was closed by server (unused right now)

Game state

  • Add card to played deck
  • Remove card from played deck
  • Modify card from played deck

Game Logic

  • Verify payloads
  • Attack card
  • Attack opponent
  • Draw card
  • Lose/Win game
  • Use ability

Replay

  • Save match data
    • Save replay of events
    • Save replay of chat (optionally)
  • Replay Format
  • Replay Viewer

Logger

  • Log method
  • Debug method
  • Info method
  • Error method
  • Critical Error method
  • Auto-create log-files
  • Log to file
  • Parseable format for debugging later

Cache

  • File cache
    • Regular files
    • SWC transpiling of TS files
  • CardCache
  • Jason cache for validation

Future Ideas (not v1)

  • User pages
  • Create Account
  • Dark mode
  • Spectator mode (easily cheatable for now...)
@MierenManz MierenManz pinned this issue Sep 27, 2021
@MierenManz MierenManz self-assigned this Nov 22, 2021
@MierenManz MierenManz added the v1 v1 Issue label Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v1 v1 Issue
Projects
None yet
Development

No branches or pull requests

1 participant