Skip to content

Latest commit

 

History

History
74 lines (62 loc) · 2.45 KB

File metadata and controls

74 lines (62 loc) · 2.45 KB

Todays Tasks

  • Add StatisticsRepository API to insert player stats + fetch by game_id
  • Expose repo functions through DatabaseManager
  • Update GameMode.endGame() to persist playerStatistics before cleanup
    • Needs to add to db, logging is done
  • Test: create a concrete GameMode (Versus/Taps/etc.)
  • Test: add players + call stat mutators (addPlayerShot, addShotMade, setPlayerWon)
  • Test: call endGame() and assert stats were persisted (row count > 0)
  • Test: read back stats and assert values match (won, shots_made, shots_missed, total)
  • Test: clean up by deleting game + its player stats
  • Gate tests with env vars so they run only when real Postgres is available

Past Tasks

  • wire up sign up
    • make client sign up
    • convert to post
    • convert tests to post
  • confirm token loading works
  • Make snippet into a function
        ByteBuf content = req.content();
        if (content == null || !content.isReadable()) {
            return;
        }

        String json = content.toString(StandardCharsets.UTF_8);
  • wire up sign in

    • make client sign in
    • convert to post
    • convert tests to post
  • Confirm post is coming in

  • Change Token validation with a body of incoming AuthInfo data

  • add auth info to server

  • read it in the body

  • convert existing query readings to the body

  • maybe change tests to take in the body as well

  • Get Court Voting System Down

    • Basic Voting System
    • Integrate into UI
    • Integrate into Game Logic
    • Strict logic, where no repeat votes allowed
    • on start game, make server confirm the court selected
  • Make Physics Configurable from Server

    • make ball physics Configurable
    • make shooting physics Configurable
  • Merge Giancarlo's Code

    • Fix Conflicts
  • Merge Niko's Code

    • Fix Conflicts
  • Confirm Everyone is in the lobby before starting the game

  • Add Sound Effects For clicking on buttons

  • Replace Hoops Court in starting page

  • Diagonal Moving

    • Work into current input system
    • server side prediction maybe
  • Dashing

    • See branch of old code
    • new input system for Dashing
    • integrate into worldSnapshot or playerState YES PlayerState probably
    • add visuals
  • Small game loop for Around the World, Switched to a different mode (Versus)

    • Versus Mode Working
  • Fix Niko Merge Conflicts