Commit Graph

17 Commits

Author SHA1 Message Date
baka0815 6977afdef0 AceyDucey/pascal: Move Randomize()
Randomize() should be called only once and as soon as possible.
2022-01-03 18:24:09 +01:00
Jeff Atwood 6f3d4bd78b Merge pull request #375 from LukasMurdock/update-readme
Update game readme
2022-01-03 07:20:28 -08:00
Jeff Atwood 6414d82709 Merge pull request #377 from aviyam/main
Fixes
2022-01-03 07:18:46 -08:00
aviyam 5e8b3b2ad2 Fixed 2 issues:
1. Behavior of game play. New cards should be dealt every round.
2. As a result of 1, check that we have at least 3 cards for next round.
2022-01-03 12:42:36 +02:00
LukasMurdock 7e3304c907 add 1-16
16:Bug
“If you elect to see all the pictures, this program has the ability of consuming well over six feet of terminal paper per run. We can only suggest recycling the paper by using the other side.”
2022-01-02 19:06:19 -05:00
Bastiaan Veelo e8ec059b49 Fix minor typo in Basic source of Acey-Ducey.
As compared to the printed version.
2022-01-03 00:28:24 +01:00
Anachostic b2f04257cc VB.NET version of Acey-Ducey 2022-01-02 14:00:05 -05:00
Jeff Atwood d02938cd91 Merge pull request #351 from torifat/fix-acey-ducey-ruby-bug
Fix duplicate card bug
2022-01-02 09:58:50 -08:00
Rifat Nabi ad170ac3c2 Fix duplicate card bug 2022-01-03 03:26:45 +11:00
aviyam daea544c5f AceyDucey in python, OO implementation.
More verbose then original game with a 'what would have happened' addition.
2022-01-02 17:14:56 +02:00
Jeff Atwood f622d7545c Merge pull request #337 from LukasMurdock/edits
Further change Acey Ducey JavaScript
2022-01-01 19:35:40 -08:00
LukasMurdock 5c994e9562 typos 2022-01-01 20:45:19 -05:00
LukasMurdock c2dc4c8b38 update acey_ducey 2022-01-01 20:09:24 -05:00
doctorgraphics 6935e24ae3 Update aceyducey.py
Correct misspelled word "assement" to "assessment"  on line 177
2022-01-01 15:20:20 -08:00
Domenic Denicola 88b964b9ae Improve Acey Ducey JavaScript port
Notable changes:

* Use informative variable names instead of q, a, b, m, and c
* Use a lookup table instead of chained ifs for face cards
* Refactor I/O helpers into a separate file
* Refactor random card logic into its own function
* Support any case for "yes" input
* Add a few comments to non-obvious parts of the game logic
* Insert "HERE IS THE CARD WE DREW:" into the output since just printing the card was pretty confusing
* Make indentation uniform
* Make bracing style uniform
* Use conventional JavaScript camelCasing
* Use top-level await in a module instead of a main() function
* Clean up the HTML shell page for modern best practices (including a mobile-friendly viewport)
2022-01-01 16:04:33 -05:00
Scott Halgrim f0f5c38c02 fix typo 2022-01-01 10:53:17 -08:00
Chris Reuter d26dbf036a Removed spaces from top-level directory names.
Spaces tend to cause annoyances in a Unix-style shell environment.
This change fixes that.
2021-11-21 18:30:21 -05:00