Skip to content

nelson54/javaminion

Repository files navigation

Meh

Build Status Sputnik

Refactor plans:

  • game
    • game.cards
    • game.commands
    • game.players
    • game.service
  • match
  • user

Todo

  • Migrate to new webpack
  • Migrate to typescript
  • Migrate to Angular 7
  • Redesign card modal (possibly based on tooltip).
  • Move cards from to css {background-image}.
  • Remove zoom button from cards and
  • Don't buy cards immediately, zoom and show text.
  • Resign (UI, server code is finished).
  • Don't allow players to watch games while IN_PROGRESS.
  • Show opponents discard pile (use list inside of tooltip).

System commands

  • Move from deck to hand/discard/trash/kingdom
  • Move from discard to hand/deck/trash/kingdom
  • Move from kingdom to hand/deck/discard/trash
  • Discard

Front-end

  • Show opponents decks after game
  • Allow to replay up until a point
  • Move card animations
  • Clean up animations
  • Draw hand animations
  • Show trash

Error messages

  • Add Angular service for showing error messages
  • Login Failed
  • Sign Up
  • Incorrect Phase
  • Insufficient Funds
  • Insufficient Buys
  • Already played
  • Not Implemented
  • Unable to create game exception

Backlog

Done

  • Prevent from playing cards not currently owned.
  • Tie Breaks.
  • Separate running AI code from matchService.
  • Show number of cards in opponents hand.
  • Adding HTTPS with certbot.
  • Remodel is cancellable but goes into a broken state.
  • Removing keys.
  • Add Random card set
  • Allow spectating
  • Adding Elo
  • Join game
  • Shuffle turn order
  • Create game page
  • Display open games
  • Join AI game
  • Show Completed games
  • JWT Authentication
  • End Games
  • Store winners in database
  • Show score for finished games
  • End turn if no additional actions in pool or cards in hand after playing ComplexActionCard
  • Update and save PM2 configuration every time a build is done
  • Prevent from rebuilding database every time
  • Test leaving and coming back to games
  • Add domain name
  • Add game log to show which card Bureaucrat puts on deck
  • Adding finish timestamp
  • Fixed ELO from being recalculated whenever you view a completed game page
  • Setup configurable logback.xml
  • Remodel is cancellable but goes into a broken state.
  • Removing keys.

Adding Basic user stats

  • Wins
  • Losses
  • Rank
  • Card Preferences

Cards

  • Library Untested

  • Adventurer Untested

  • Bureaucrat Testing

  • Cellar Testing

  • Chapel Testing

  • Moat Testing

  • Chancellor Testing

  • Woodcutter Testing

  • Village Testing

  • Workshop Testing

  • Gardens Testing

  • Militia Testing

  • Moneylender Testing

  • Feast Testing

  • Spy Testing

  • Thief Testing

  • Remodel Testing

  • Smithy Testing

  • Throne Room Testing

  • Council Room Testing

  • Festival Testing

  • Laboratory Testing

  • Market Testing

  • Mine Testing

  • Witch Testing