{"id":22085255,"url":"https://github.com/gogolb/ee120b_custom_lab","last_synced_at":"2025-10-12T07:28:03.144Z","repository":{"id":46327664,"uuid":"102058352","full_name":"gogolB/EE120B_Custom_lab","owner":"gogolB","description":"EE120B Custom Lab (Simon Game implementation)","archived":false,"fork":false,"pushed_at":"2017-09-01T09:29:42.000Z","size":4542,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-12T07:28:02.092Z","etag":null,"topics":["atmega1284p","avr","cs","cs120b","ee","ee120b","game","simon","ucr"],"latest_commit_sha":null,"homepage":"","language":"C","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/gogolB.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":"2017-09-01T00:52:02.000Z","updated_at":"2022-07-18T19:28:16.000Z","dependencies_parsed_at":"2022-07-22T11:17:36.622Z","dependency_job_id":null,"html_url":"https://github.com/gogolB/EE120B_Custom_lab","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gogolB/EE120B_Custom_lab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gogolB%2FEE120B_Custom_lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gogolB%2FEE120B_Custom_lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gogolB%2FEE120B_Custom_lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gogolB%2FEE120B_Custom_lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gogolB","download_url":"https://codeload.github.com/gogolB/EE120B_Custom_lab/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gogolB%2FEE120B_Custom_lab/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010653,"owners_count":26084784,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["atmega1284p","avr","cs","cs120b","ee","ee120b","game","simon","ucr"],"created_at":"2024-12-01T01:12:53.111Z","updated_at":"2025-10-12T07:28:03.103Z","avatar_url":"https://github.com/gogolB.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EE120B Custom Lab\n\nIn this lab I created an copy of the Simon game(https://www.youtube.com/watch?v=4YhVyt4q5HI). This game was designed test the memory of the player. My implementation generates a random sequence using the XorShift algorithm adapted for 8 bit numbers. It then plays back this sequence by flashing an LED and playing a sound. Then it waits for the user to input the same sequence using the buttons. When the user pushes a button it also plays a sound. Once the player beats all 9 levels they win! However, any single mistake will cause the player to instantly lose.\n\nIn this lab I had to get very familiar with the capibilities of the ATmega1284P including its various onboard features such as the timers and the pwm. I also had to use several different banks of its I/O for everything from the input buttons to the LEDS to the LCD display. In this project I used pins A1-A4 as the LEDS control pins, pins B0-B4 as the button pins, each one hooked up to a different push button, and all of PORTC and pin D7 to control an LCD display. The LCD contrast is also controlled by a potentiometer. I also used a piezo buzzer to generate sound.\n\nA video of my game in action can be found here(https://drive.google.com/open?id=0B7pVYtHnjUqmRUl6MHkwOEhVQlU)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgogolb%2Fee120b_custom_lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgogolb%2Fee120b_custom_lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgogolb%2Fee120b_custom_lab/lists"}