-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Game: Higher or Lower #259
Game: Higher or Lower #259
Conversation
8115417
to
b147ac0
Compare
Played with it a bit this morning — this is fun! Holding off on merging tho because I do think that your alternate choice might indeed be more legible. As it stands it is a little bit confusing that the value Open to your feedback, happy to merge whenever you respond one way or the other! |
Thanks for taking a look, and also for creating such a great platform! The alternative card faces only really occurred to me as I was writing up the instructions, and I think you're probably right they seem to require a touch less brainpower to figure out. Appreciate the second opinion! I'll update the code either later today or tomorrow and re-merge in |
static uint8_t completed_board_count = 0; | ||
|
||
static uint8_t generate_random_number(uint8_t num_values) { | ||
// Emulator: use rand. Hardware: use arc4random. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the difference?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I largely cribbed what some other faces did, but my understanding that is the emulator doesn't support the arc4random
function, which I believe is a less predictable RNG.
Adds a watch face that implements a game where the player must guess if the next card will be higher or lower than the last cards that have been revealed. Reviewed-by: Matheus Afonso Martins Moreira <[email protected]> Tested-on-hardware-by: Chris <[email protected]> GitHub-Pull-Request: #259
Adds a watch face that implements a game where the player must guess if the next card will be higher or lower than the last cards that have been revealed. Reviewed-by: Matheus Afonso Martins Moreira <[email protected]> Tested-on-hardware-by: Chris <[email protected]> GitHub-Pull-Request: #259
Adds a watch face that implements a game where the player must guess if the next card will be higher or lower than the last cards that have been revealed. Reviewed-by: Matheus Afonso Martins Moreira <[email protected]> Tested-on-hardware-by: Chris <[email protected]> GitHub-Pull-Request: #259
This PR has been merged into |
A take at an implementation of the "Higher or Lower" or "Play Your Cards Right" game. I've tested it on the emulator, and currently have it running on my Sensor Watch; I'm not entirely convinced it's fun, but it seems to be working as intended =D
Dumping description from the header file below:
Higher-Lower game face
======================
A game face based on the "higher-lower" card game where the objective is to correctly guess if the next card will
be higher or lower than the last revealed cards.
Game Flow
ALARM
orLIGHT
will start the game and proceed to the "Guessing" screenHigher
by pressing theLIGHT
button, andLower
by pressing theALARM
buttonwill be started, with the last revealed card carried over
ALARM
orLIGHT
will transition to the "Score" screenALARM
orLIGHT
will transition to the "Score" screenALARM
orLIGHT
while on the "Score" screen will transition to back to the "Title" screenScoring
Misc
The face tries to remain true to the spirit of using "cards"; to cope with the display limitations I've arrived at
the following mapping of card values to screen display, but am open to better suggestions:
The following may more legible choice:
Future Ideas