Skip to content

ginidaniel/king-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interview Test

Considerations

  • SessionKey was generated randomly based on the Local time now.
  • Timeout was set as 1 second for testing reasons.
  • ScoreManager could have a data source and abstract the data structures there.
  • There are 2 data structures to store the scores:
    • A List that contains all the scores per level and user.
    • A Map which contains the highest scores por user per level. This structure would be quickly accessible when submiting millions of users scores.
  • Concurrency was concidered when submiting new scores and updating the highest scores data structure

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages