{"id":22347275,"url":"https://github.com/abdullah2020/pong-game-using-flex-sensor-paddles","last_synced_at":"2025-10-12T18:14:22.841Z","repository":{"id":50393733,"uuid":"518943778","full_name":"Abdullah2020/Pong-Game-using-Flex-sensor-Paddles","owner":"Abdullah2020","description":"This is my Electronic of Object for Internet of Things (IoT) project. The project focuses mainly on the design for both software and hardware interaction framework of Pong Game using Flex-sensor Paddles. The project Integrated Server/Client Interaction and Twitter API.","archived":false,"fork":false,"pushed_at":"2022-07-28T20:35:02.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-31T11:50:26.173Z","etag":null,"topics":["client-server","flexsensor","iot","paddle","pong-game","processing-sketch","twitter-api","voltage-divider-circuit"],"latest_commit_sha":null,"homepage":"","language":"Processing","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/Abdullah2020.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":"2022-07-28T17:51:16.000Z","updated_at":"2022-07-28T19:36:21.000Z","dependencies_parsed_at":"2022-08-27T19:50:23.749Z","dependency_job_id":null,"html_url":"https://github.com/Abdullah2020/Pong-Game-using-Flex-sensor-Paddles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abdullah2020%2FPong-Game-using-Flex-sensor-Paddles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abdullah2020%2FPong-Game-using-Flex-sensor-Paddles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abdullah2020%2FPong-Game-using-Flex-sensor-Paddles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abdullah2020%2FPong-Game-using-Flex-sensor-Paddles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Abdullah2020","download_url":"https://codeload.github.com/Abdullah2020/Pong-Game-using-Flex-sensor-Paddles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245641317,"owners_count":20648637,"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":["client-server","flexsensor","iot","paddle","pong-game","processing-sketch","twitter-api","voltage-divider-circuit"],"created_at":"2024-12-04T10:08:50.819Z","updated_at":"2025-10-12T18:14:17.798Z","avatar_url":"https://github.com/Abdullah2020.png","language":"Processing","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pong-Game-using-Flex-sensor-Paddles\nThis is my Electronic of Object for Internet of Things (IoT) project. The project focuses mainly on the design for both software and hardware interaction framework of Pong Game using Flex-sensor Paddles. The project Integrated Server/Client Interaction and Twitter API.\n\nContributors: \n\n- Abdullahi Isa AHMED \n- Arthur Wilhelm Strømme KRISTIANSEN\n- Mike GBADAMASSI\n\nComponents\n\nThe hardware and software components used for the implementation of the project are described below.\n\n  1-\tTiva LaunchPad: Used to link the software and hardware parts, specifically to take the output values of the circuit to read them with the code\n  \n  2-\tUSB cable: To connect Tiva to the computer\n  \n  3-\tBreadboard: Needed as support for electronic component assembly\n  \n  4-\tJumper wires: To attach principal components to each other\n  \n  5-\tResistor: Applies resistance to the current (56KΩ)\n  \n  6-\tFlex Sensor: Main component of the project which changes the output values according to the bent.\n  \n  7-\tEnergia Software: open-source electronics prototyping platform aimed at bringing wiring and Arduino framework.\n  \n  8-\tProcessing Software: Free integrated development environment built for electronics arts and visual design. It is based on the Java language but with a lot of simplifications which makes it more useful to do simple tasks.\n\n\nVoltage Divider circuit connected to flex sensor\n\n![image](https://user-images.githubusercontent.com/16369782/181631815-8765f979-ae62-4150-9431-aaf6bf3bf47a.png)\n\n\nPong Game interface built with processing\n\n![image](https://user-images.githubusercontent.com/16369782/181632373-184f3a2a-195f-457c-9e6d-7c5a90a67820.png)\n\n\nServer/Client Integration\n\nThe integration of the Client/Server communication was thoroughly tested and thus, figure below shows a successful game session from two different PCs, one acting as the client and the other acting as server were used to communicate via a local hotpot configuration and the result was automatically tweeted in our twitter platform every 10 successful scores by either of the players.\n\n![image](https://user-images.githubusercontent.com/16369782/181632107-c5ec16aa-1325-4a71-a1ad-0fc1623182d4.png)\n\n\nConclusion \n\nAt the end of this project, we got a functional Ping Pong Game which multiplayer mode that was available between two distant computers. Both players have his own screen and flex sensor (used as a controller) to play against each other. The most difficult part about this whole game was not the game himself but the integration of the flex sensor as a controller. We had the basic software and hardware understanding to create the game, but some materials were not working as expected which slow down the process. We added all requires functionality such as Twitter communication (being able to send a tweet) and tried a lot of network connection to see which one is more adapted for us. This project was interesting to develop as a team and allowed us to apply the knowledge gained into reality.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullah2020%2Fpong-game-using-flex-sensor-paddles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdullah2020%2Fpong-game-using-flex-sensor-paddles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullah2020%2Fpong-game-using-flex-sensor-paddles/lists"}