Commit Graph

12 Commits

Author SHA1 Message Date
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