Skip to content

Main Class Definitions

Roberto Martin Reyes edited this page Oct 20, 2018 · 1 revision

User

  • int user_id: to associate user data with data in other categories when necessary
  • String name: from Facebook to formally identify the user
  • String profile_pic_uri: from Facebook for further personalization
  • Stat player_stats[]: to show on user profile and calculate Leaderboard results
  • String course_list[] to show which courses this user plays games in
  • PlayerType type: enum to show whether the user is a professor/TA or student
  • boolean reported: to show whether the user has be reported by another user (for security/quality-control purposes)
Clone this wiki locally