{"id":21076819,"url":"https://github.com/ronibandini/routerattack","last_synced_at":"2025-05-16T08:30:24.843Z","repository":{"id":51226896,"uuid":"272226733","full_name":"ronibandini/routerattack","owner":"ronibandini","description":"ESP8266 Arduino micro game using nearby WIFI routers as enemies ","archived":false,"fork":false,"pushed_at":"2024-09-13T10:10:55.000Z","size":12,"stargazers_count":16,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T22:11:12.708Z","etag":null,"topics":["esp8266","oled","wifi-network"],"latest_commit_sha":null,"homepage":"https://hackaday.io/project/172448-router-attack","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/ronibandini.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-14T15:12:48.000Z","updated_at":"2025-03-29T22:50:58.000Z","dependencies_parsed_at":"2024-11-19T19:43:13.571Z","dependency_job_id":"b9dd85e0-f33e-4f22-852e-05a4744e1335","html_url":"https://github.com/ronibandini/routerattack","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/ronibandini%2Frouterattack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronibandini%2Frouterattack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronibandini%2Frouterattack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronibandini%2Frouterattack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ronibandini","download_url":"https://codeload.github.com/ronibandini/routerattack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254495991,"owners_count":22080631,"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":["esp8266","oled","wifi-network"],"created_at":"2024-11-19T19:33:31.568Z","updated_at":"2025-05-16T08:30:24.551Z","avatar_url":"https://github.com/ronibandini.png","language":"C++","readme":"# routerattack\nESP8266 Arduino micro game using nearby WIFI routers as enemies - demo video at https://youtu.be/M7V6PAmy-XY\n\nIn a drawer I’ve found a Heltec WiFi Kit 8, which is a small ESP8266 with integrated 128x32 Oled screen and I’ve started to think what to do with it for the Tech at home contest.\n\nI’ve came out with the idea of a small WiFi game named Router Attack, where nearby routers will populate the enemies. Each enemy is placed in a sort of grid with coordinates obtained from RSSI and Channel. Router encryption type is used as the tolerance to the fire. Example: if the router is open, it will be easier to take it down, even if your coordinates are not precise. If you are using AES-TKIP you will need accuracy to aim. \n\nSo, the game starts when you select a Router SSID from the list. Then a graphic shows the approximate location. Based on that graph you have to enter coordinates. After that, a shooting animation shows target versus fire, total attempts and score. A final screen shows a kind of router sheet information with SSID, Channel, RSSI and Encryption.\n\nI’ve added a battery from an old cell phone which last forever and I’ve designed a small case front to fit an Altoids can.  \n\nThe idea is pretty simple but when you play it, it turns out kind of fun. \n\n# Circuits\n\nOled screen is already integrated so, you only have to connect a button to GND and D6, a potentiometer to GND, 3v and A0, and a Buzzer to GND and D7. \n\nIf you are going yo use a battery, you can directly plugin to the on board battery charger. Since I don´t have the required battery connector, I’ve decided to use an external TP charger and connect regular pins.\n\n# Distance calculation\n\nThe formula used to calculate the distance between fire coordinates and target is the following:\n\nz=sqrt( (currentRSSI-selectedRSSI)*(currentRSSI-selectedRSSI)+ (currentChannel-selectedChannel)*(currentChannel-selectedChannel) );  \n\n# Case \n\nFor the case, a regular Altoids can will work. Here you can download the 3d printed case front.\n\n# Contact \n📫 For code customizations or interesting Arduino and Raspberry Pi projects you can reach me at \nhttps://www.instagram.com/ronibandini/\nhttps://x.com/RoniBandini\n\nhttps://www.thingiverse.com/thing:4460079\n\n# Where to go from here?           \n\nEEProm storage of score and targets, statistics of routers by encryption type. You can even create a WiFi chart analyze tool with the same coding that the game has. \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fronibandini%2Frouterattack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fronibandini%2Frouterattack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fronibandini%2Frouterattack/lists"}