{"id":28415526,"url":"https://github.com/katronquillo/athens","last_synced_at":"2026-04-28T23:31:52.406Z","repository":{"id":49029789,"uuid":"230173196","full_name":"katronquillo/Athens","owner":"katronquillo","description":"Simple trivia web application with multi-room and private/group chat functionality.","archived":false,"fork":false,"pushed_at":"2023-05-07T14:59:38.000Z","size":34,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-04T00:54:40.097Z","etag":null,"topics":["javascript","socket-io","trivia-game"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/katronquillo.png","metadata":{"files":{"readme":"README.txt","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-26T01:23:20.000Z","updated_at":"2020-01-01T05:02:14.000Z","dependencies_parsed_at":"2023-01-22T16:00:17.773Z","dependency_job_id":null,"html_url":"https://github.com/katronquillo/Athens","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/katronquillo/Athens","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katronquillo%2FAthens","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katronquillo%2FAthens/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katronquillo%2FAthens/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katronquillo%2FAthens/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/katronquillo","download_url":"https://codeload.github.com/katronquillo/Athens/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katronquillo%2FAthens/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261874523,"owners_count":23223130,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","socket-io","trivia-game"],"created_at":"2025-06-03T16:43:29.678Z","updated_at":"2026-04-28T23:31:47.386Z","avatar_url":"https://github.com/katronquillo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Author: M. Katrina Ronquillo\r\n# ATHENS\r\n\r\nSimple trivia web application with multi-room and private/group chat\r\nfunctionality.\r\n\r\nTOOLS: Javascript, HTML/CSS, Socket.io\r\n\r\n# DESIGN DECISIONS\r\n\r\n~ USERNAMES AND ROOMS ~\r\n\r\n- For the purposes of private messaging, usernames within game \r\nrooms must be unique. However it is possible for clients in \r\ndifferent game rooms to have the same username. \r\n\r\n- Upon connecting to the server, each socket is given a random,\r\ndefault username and is connected to the JoinPage room\r\n\r\n- Once client joins/creates game, their username changes to\r\nthe one provided by user input and they are disconnected from \r\nthe JoinPage room and enter the room for their specific game\r\n\r\n- Once client joins/creates game, they are also connected \r\nto a room unique to their username. This allows for private \r\nmessaging functionality. \r\n\r\n~ ANSWERING QUESTIONS ~\r\n\r\n- When a client answers a question, they are highlighted in the\r\ngame statistics by changing their colour to orange. \r\n\t- Colours of players are reset when game advances \r\n\r\n~ REQUEST MODULE ~\t\r\n\r\n- The request module is used to obtain 5 questions from OPEN TDB at\r\nthe start of every round.\r\n\r\n- Requests are made when a new game room has been initialized, or\r\nwhen a round has ended and there are players remaining for another round\r\n\r\n~ ROUND END ~\r\n\r\n- After winners are shown, a new round will start after 5 seconds. \r\n\t- Buffering period gives players time to leave the game \r\n\tbefore a new round, and allows players to view final winners/scores\r\n\r\n~ CHAT EXTENSION ~\r\n\r\n- Clients that are not currently in a game are not permitted to\r\nuse the chatbox. If attempted, an alert is shown.\r\n\r\n- Once connected to a game, clients can only chat with other\r\nclients in their game room. \r\n\r\n- Once connected to a game, client is introduced to the chat \r\nwith a welcome message from \"Trivia Page\" (representing the\r\nwebsite)\r\n\r\n- Private and Public messaging are shown in the same chat box,\r\nbut private messages are differentiated with \"PM from\" and \"PM to\"\r\nlabels \r\n\r\n~ ROOM EXTENSION ~\r\n\r\n- When a client creates a game, the server provides a unique \r\n16 character alphanumeric Game ID\r\n\t- Game ID is shown at the top of the box containing \r\n\tgame statistics\r\n\t- Game rooms are identified by their Game ID in server's\r\n\trooms object. This object keeps track of existing games and\r\n\ttheir game state\r\n\t\r\n- To enter a game, a client must provide an existing Game ID\r\nand a unique username for that specific game","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatronquillo%2Fathens","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkatronquillo%2Fathens","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatronquillo%2Fathens/lists"}