https://github.com/thzinc/2024-supercon-game
Game for the 2024 Hackaday Supercon 8 badge
https://github.com/thzinc/2024-supercon-game
Last synced: 3 months ago
JSON representation
Game for the 2024 Hackaday Supercon 8 badge
- Host: GitHub
- URL: https://github.com/thzinc/2024-supercon-game
- Owner: thzinc
- License: mit
- Created: 2024-11-03T09:11:02.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-03T22:40:00.000Z (7 months ago)
- Last Synced: 2025-02-14T23:57:27.380Z (4 months ago)
- Language: Python
- Size: 30.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Game for the 2024 Hackaday Supercon 8 badge
Competitive game to play online with others. Fire projectiles into the center and avoid projectiles fired at you!
## Quickstart
1. Copy the contents of [`badge`](./badge/) to the Pico.
2. Update [`constants.py`](./badge/constants.py) as is relevant
- Set the `WIFI_SSID` and `WIFI_PASSWORD` to connect to your wifi network
- (Optional) If you want to use a different MQTT broker, set `MQTT_HOST` as you see fit
- Set the `GAME_ID` to something that you and your friends will use (play nice if you're using a public MQTT broker)
- Set the `DEVICE_ID` to something unique to you (play nice if you're using a public MQTT broker)
3. Reset the badge
- While booting, the center LED will be blue indicating it's trying to connect to wifi
- When the game is about to start, the center LED will be green
- Buttons
- A - Move counter clockwise
- B - Fire
- C - Move clockwise
- If you are hit by a projectile, press button B to resurrect yourself## Building
## Code of Conduct
We are committed to fostering an open and welcoming environment. Please read our [code of conduct](CODE_OF_CONDUCT.md) before participating in or contributing to this project.
## Contributing
We welcome contributions and collaboration on this project. Please read our [contributor's guide](CONTRIBUTING.md) to understand how best to work with us.
## License and Authors
[) Daniel James](https://thzinc.com)
[](https://github.com/thzinc/2024-supercon-iot-petal-matrix/blob/master/LICENSE)
[](https://github.com/thzinc/2024-supercon-iot-petal-matrix/graphs/contributors)This software is made available by Daniel James under the MIT license.