Comments (4)
another take:
game idea--
start with slow rotation
each successful lazer hit speeds up the servo
light 3 LEDs to represent 3 lives
each miss will take down a life (dramatic fade to black? - could be a pwm stretch goal)
button will "fire the laser"... but really on the backend it will check the photoresistor (kinda like duck hunt worked)
figure out a way to inform the user how many rounds they made it through when they lose their last life
from picoprojects.
if buzzers are in the plan then it could do a little hooray or sad buzzer upon a hit or miss
from picoprojects.
I love your "another take"... I think having it start slow and then pressing the button to "fire" the laser could be cool and then having a concept of "lives" indicated by lights could be cool...
And if we really wanted to, we could have the button turn the laser on. It would mean running the positive line of the laser to the pico and not just the power rail so we can use a GPIO pin to turn the laser on and off. If we did that, then the button press would turn the laser on for a short amount of time and also start the recording of light intensity on the photoresistor and after the laser went off record whether they lost a life or not.
from picoprojects.
game has progressed - closing this issue
from picoprojects.
Related Issues (20)
- Lab12 - Servo Horn Picture Makes Text Look Weird
- Lab12 - Challenge Extra Info HOT 1
- Lab12 - Spelling/Grammar
- LabThreading - Run On Sentence
- LabThreading - Grammar Pt2
- Lab13 - Diagram/Instructions Missing Info
- Add 3D models for final game to the repo HOT 1
- Create and Add Slides HOT 1
- Add parts kit list
- create breadboard diagrams for f01, f02, f03
- Add Buzzer to end of a lab HOT 1
- change wiring up to target in f01 instead
- Re-add checktarget() method to f01 and f03
- Add sleep to enable_laser and disable_laser in f01 and f02
- Mention laser works like LED at beginning of F01
- Add kill flag to f02
- Add note recommending others use this to teach others and that I'm available for questions/help
- Alternative Debounce
- Update joystick lab with raw values
- Lab 12 Scan Code HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from picoprojects.