Commit Graph

923 Commits

Author SHA1 Message Date
Jeff Atwood
8c5441a1af Merge pull request #348 from aviyam/main
AceyDucey in python, OO implementation.
2022-01-02 09:56:17 -08:00
Jeff Atwood
c086ed5519 Merge pull request #344 from brox/main
Added Python 3 version of 29, craps.
2022-01-02 09:54:49 -08:00
Jeff Atwood
d7e6b2bb36 Merge pull request #345 from pczajkowski/main
22_Change in C#
2022-01-02 09:54:21 -08:00
Jeff Atwood
443c7ecbb5 Merge pull request #347 from mattbloke99/main
Train game with tests
2022-01-02 09:53:59 -08: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
mattbloke99
83458c428e Train game with tests 2022-01-02 14:21:30 +00:00
Piotr Czajkowski
b27ee11d00 Input closer to original 2022-01-02 14:50:51 +01:00
Piotr Czajkowski
64682e704c Spelling 2022-01-02 14:36:33 +01:00
Piotr Czajkowski
35f515c9f5 Merge branch 'coding-horror:main' into main 2022-01-02 14:31:22 +01:00
Piotr Czajkowski
534fa866bd Added some descriptions 2022-01-02 14:29:11 +01:00
Piotr Czajkowski
835adc571c Format 2022-01-02 14:22:37 +01:00
Piotr Czajkowski
d530794947 Added PrintChange 2022-01-02 14:08:49 +01:00
Piotr Czajkowski
6c0b0da270 Added GetInput 2022-01-02 13:29:27 +01:00
Piotr Czajkowski
65a86f7d6d Added Header 2022-01-02 13:04:39 +01:00
Thomas Brox Røst
c3e1f309b9 Added Python 3 version of 29, craps. 2022-01-02 12:20:27 +01:00
Jeff Atwood
70684435fe Merge pull request #341 from havoclad/main
Add perl version of 22_Change
2022-01-01 21:51:20 -08:00
Jeff Atwood
706796bc88 Merge pull request #340 from patimen/main
HiLow
2022-01-01 21:50:54 -08:00
Pat Ludwig
07aab1b491 Add perl version of Change
Used my own "perlified" logic instead of the original.
Added proper handling of plurals, other than that the
text should be identical
2022-01-01 23:33:18 -06:00
John Long
6b9cbfaa06 Merge branch 'coding-horror:main' into main 2022-01-01 21:22:46 -08:00
John Long
39ba8f21a6 Kotlin version of HiLow 2022-01-01 21:21:39 -08:00
Jeff Atwood
51f337c359 Merge pull request #339 from patimen/main
Add Kotlin for Tic-Tac-Toe
2022-01-01 20:53:01 -08:00
John Long
355ac8ec8e Add Kotlin for Tic-Tac-Toe 2022-01-01 20:45:20 -08:00
Jeff Atwood
e7061d27f1 Merge pull request #338 from mkuehn/main
Fix spelling and grammar.
2022-01-01 19:41:54 -08:00
Jeff Atwood
82a40f8c74 Merge pull request #336 from ericries/main
Python implementation of Tower
2022-01-01 19:35:59 -08:00
Jeff Atwood
f622d7545c Merge pull request #337 from LukasMurdock/edits
Further change Acey Ducey JavaScript
2022-01-01 19:35:40 -08:00
Matthew Kuehn
f0327b7615 Fix spelling and grammar. 2022-01-01 20:02:28 -06:00
LukasMurdock
5c994e9562 typos 2022-01-01 20:45:19 -05:00
ericries
437b4c2920 Update tower.py
easier debugging with fewer disks
2022-01-01 17:26:04 -08:00
LukasMurdock
c2dc4c8b38 update acey_ducey 2022-01-01 20:09:24 -05:00
ericries
fb7b7ffe0e Delete tower.py 2022-01-01 17:08:10 -08:00
ericries
5e2647682f Add files via upload
Simple python implementation. Apologies for any errors, I only had a minute to whip this up
2022-01-01 17:05:56 -08:00
ericries
d6f9b8c68a Add files via upload
simple Python implementation of Tower - apologies for any errors, I only had a minute to dash this off
2022-01-01 17:04:12 -08:00
Jeff Atwood
7fd839912b Merge pull request #335 from doctorgraphics/patch-1
Update aceyducey.py
2022-01-01 15:52:35 -08:00
doctorgraphics
6935e24ae3 Update aceyducey.py
Correct misspelled word "assement" to "assessment"  on line 177
2022-01-01 15:20:20 -08:00
Jeff Atwood
c5bca55149 Merge pull request #334 from RunOfTheShipe/main
C# implementation of Bullseye
2022-01-01 15:13:24 -08:00
bmshipe
5e0f7cf9ad C# implementation of Bullseye 2022-01-01 17:05:51 -06:00
Jeff Atwood
73e3b4be2d Update README.md 2022-01-01 13:20:35 -08:00
Jeff Atwood
4afb47cbd4 Merge pull request #332 from domenic/acey-ducey-js-improvements
Improve Acey Ducey JavaScript port
2022-01-01 13:09:45 -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
Jeff Atwood
c80a46ccc7 Merge pull request #331 from torbenmoeller/feat/93-23_matches-java
feat: Implement 93 23_Matches in Java
2022-01-01 12:21:28 -08:00
Jeff Atwood
590470657b Merge pull request #330 from MoritzHamann/main
Python solution for 50: Horserace
2022-01-01 12:20:52 -08:00
Moritz Hamann
14b66215e4 Python solution for 50: Horserace
Avoided any dictionary types, since those are not available in the
original BASIC version. This makes it slightly less idiomatic.
Tried my best to keep it as close to the original as possible.

Also horses are enumerated from 0, rather than from 1 as in the
original implementation (if needed this can easily be adjusted).
2022-01-01 19:28:35 +00:00
Torben Möller
32e6b885ce feat: Implement 93 23_Matches in Java 2022-01-01 20:26:10 +01:00
Jeff Atwood
50186e4cf2 Merge pull request #327 from torbenmoeller/main
feat: Implement 78 Sine_Wave in Java
2022-01-01 11:08:27 -08:00
Jeff Atwood
80504f24de Merge pull request #329 from shalgrim/patch-1
fix typo
2022-01-01 11:00:32 -08:00
Jeff Atwood
6d79c55229 Merge pull request #328 from pczajkowski/main
20_Buzzword in C#
2022-01-01 10:58:27 -08:00
Scott Halgrim
f0f5c38c02 fix typo 2022-01-01 10:53:17 -08:00
Piotr Czajkowski
520efaa20a Maybe staying too close to original wasn't so good 2022-01-01 17:12:13 +01:00
Piotr Czajkowski
8cf778cb87 Comment changed 2022-01-01 14:18:25 +01:00
Piotr Czajkowski
b1242d081c Better? 2022-01-01 14:14:31 +01:00