Files
basic-computer-games/01_Acey_Ducey
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
..
2022-01-01 10:53:17 -08:00

Acey Ducey

As published in Basic Computer Games (1978) https://www.atariarchives.org/basicgames/showpage.php?page=2

Downloaded from Vintage Basic at http://www.vintage-basic.net/games.html

A Common Lisp port is here.