Skip to content

chanceencounter/DND

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Final semester project

DND

Major Function pieces of the project

  1. UI
  2. Player (Client) * Show them the important information about their character and events
  3. DM (Server) * Show important information about all characters at a glance, allow triggering actions easily
  4. Backend (Business Logic)
  5. Player (Client) * Probably want to have as simple clients as much as possible
  6. DM (Server) * Should handle validating actions and applying effects
  7. Shared components * Decide on logging library (recommend SLF4J)
  8. Infrastructure
  • Basic pojo library (recommend Immutables.io)
  1. Networking
  • Support handshake (connect and authenticate/register as player)
  • Support broadcast (ability to send same data to multiple clients)
  • Support direct message (ability to send data to specific client)
  • Define information payload types (start small, make it extensible)

Tasks

  1. Set up git repo and push current code there
  2. Get basic pojo library (https://immutables.github.io/) set up and working
  • Add maven artifact to deps
  • Create simple example
  • Verify that maven is including generated sources properly
  1. Get SLF4J maven artifact imported
  2. ~~Create enum of data types and associated immutables pojo’s to transmit data between client and server. ~~
  3. Get serialization and deserialization working for sending pojo’s over the wire.

Other Tasks

After submitting the semester project clean up code with the following:

  1. Sanitize inputs
  2. Write unit tests
  • Refactor code to make it more conducive to testing

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages