{"id":16148726,"url":"https://github.com/deevus/seng2050-assign2","last_synced_at":"2025-06-23T13:35:10.552Z","repository":{"id":20860208,"uuid":"24147019","full_name":"deevus/seng2050-assign2","owner":"deevus","description":null,"archived":false,"fork":false,"pushed_at":"2014-10-06T03:32:12.000Z","size":400,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T21:32:15.486Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deevus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-17T14:02:56.000Z","updated_at":"2014-09-17T14:03:25.000Z","dependencies_parsed_at":"2022-09-13T19:50:59.924Z","dependency_job_id":null,"html_url":"https://github.com/deevus/seng2050-assign2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deevus/seng2050-assign2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deevus%2Fseng2050-assign2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deevus%2Fseng2050-assign2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deevus%2Fseng2050-assign2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deevus%2Fseng2050-assign2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deevus","download_url":"https://codeload.github.com/deevus/seng2050-assign2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deevus%2Fseng2050-assign2/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261487391,"owners_count":23166079,"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":[],"created_at":"2024-10-10T00:34:42.268Z","updated_at":"2025-06-23T13:35:05.540Z","avatar_url":"https://github.com/deevus.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"SENG2050 Assignment 2\n=====================\n\nAuthor: Simon Hartcher\n----------------------\n\nEnvironment\n-----------\n\nUsing CATALINA_BASE:   /usr/local/Cellar/tomcat/7.0.54/libexec\nUsing CATALINA_HOME:   /usr/local/Cellar/tomcat/7.0.54/libexec\nUsing CATALINA_TMPDIR: /usr/local/Cellar/tomcat/7.0.54/libexec/temp\nUsing JRE_HOME:        /Library/Java/JavaVirtualMachines/jdk1.7.0_17.jdk/Contents/Home\nUsing CLASSPATH:       /usr/local/Cellar/tomcat/7.0.54/libexec/bin/bootstrap.jar:/usr/local/Cellar/tomcat/7.0.54/libexec/bin/tomcat-juli.jar\nServer version: Apache Tomcat/7.0.54\nServer built:   May 19 2014 10:26:15\nServer number:  7.0.54.0\nOS Name:        Mac OS X\nOS Version:     10.9.4\nArchitecture:   x86_64\nJVM Version:    1.7.0_17-b02\nJVM Vendor:     Oracle Corporation\n\nStructure\n---------\n\nWebsite entry is handled in the GameController servlet class where the session data is managed. The bulk of the work is done within the DealOrNoDeal bean that contains all of the game state.\n\nI haven't used any Javascript for this assignment, only JSP and JSTL.\n\nObjects\n-------\n\nBriefcase:\n\nThe bean class for each briefcase in the game. It is a very simple class with only getters and setters.\n\nDealOrNoDeal:\n\nThe game object bean that runs the game logic. All the game state is held within this class.\n\nGameController:\n\nThe java servlet that runs the entire solution. It is responsible for monitoring the state of the game and outputting the correct jsp. \n\nSession Tracking\n----------------\n\nSession tracking is implemented within the GameController servlet by checking a \"game\" session attribute. This makes the game attribute available to the jsp where the current game state can be rendered to the user.\n\nStudent Type\n------------\n\nUndergraduate\n\nURL\n---\n\nhttp://localhost:8080/c3185790_assignment2/ \nFor some reason I couldn't get the game to work without the ending /\n\n[![Build Status](https://travis-ci.org/deevus/seng2050-assign2.svg)](https://travis-ci.org/deevus/seng2050-assign2)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeevus%2Fseng2050-assign2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeevus%2Fseng2050-assign2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeevus%2Fseng2050-assign2/lists"}