Commit Graph

1338 Commits

Author SHA1 Message Date
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
Torben Möller
5439ece531 feat: Implement 78 Sine_Wave in Java 2022-01-01 14:08:28 +01:00
Piotr Czajkowski
e23e9f6a9a Spelling 2022-01-01 13:39:03 +01:00
Piotr Czajkowski
aceddf559e Added more comments, some cosmetic changes 2022-01-01 13:28:38 +01:00
Piotr Czajkowski
cf65935615 After modifying indexes modulo isn't needed, it appears 2022-01-01 13:17:35 +01:00
Piotr Czajkowski
a1fd52ebfd Modified seed, added some comments 2022-01-01 13:16:01 +01:00
Piotr Czajkowski
e9cc632c7b Better keyboard, cosmetics 2022-01-01 12:15:13 +01:00
Piotr Czajkowski
62645703d1 Starting sentence from capital letter 2022-01-01 12:05:19 +01:00
Piotr Czajkowski
ff67d7705a Added GeneratePhrase 2022-01-01 11:59:28 +01:00
Piotr Czajkowski
2a6dc209c8 Added Instructions 2022-01-01 11:17:05 +01:00
Piotr Czajkowski
7318b0b5d5 Added header 2022-01-01 11:12:12 +01:00
Jeff Atwood
f886f9b7ae Update README.md 2021-12-31 22:46:16 -08:00
Jeff Atwood
62e20eb135 Update README.md 2021-12-31 22:45:39 -08:00
Jeff Atwood
34039077ad Merge pull request #325 from suetanvil-misc/checkers-ruby-jump-bug
Bug fix for Ruby version of Checkers
2021-11-29 10:48:13 -08:00
Chris Reuter
40becf6e66 Bug fix for Ruby version of Checkers
We were using the result of Board.make_move!() to determine whether
the current player could jump again.  This worked by accident but was
not part of the specified interface.

I've changed the code to ignore the return value and instead query the
move object itself.
2021-11-29 13:37:56 -05:00
Jeff Atwood
3c7a14c8ef Merge pull request #324 from OpenSource-Contribute-Team-4/combat
Ported 28_Combat to Python
2021-11-28 00:15:13 -08:00
Jeff Atwood
10d7df0714 Merge pull request #323 from drewjcooper/cs-90-tower
C# 90 tower
2021-11-27 19:23:02 -08:00
Jeff Atwood
9a77a5ba5c Merge pull request #322 from OpenSource-Contribute-Team-4/digits_python
34_Digits with Python
2021-11-27 19:14:35 -08:00
Yejin Song
271c72b235 update main function 2021-11-28 09:53:52 +09:00
Andrew Cooper
9d7a904e68 Add game logic and fix resources 2021-11-27 22:53:17 +11:00
sonyi00
02eac5b514 update main function 2021-11-27 18:21:43 +09:00
leecr1215
c1380486d2 feat: add fuctions 2021-11-27 16:22:01 +09:00
GwakMirae
36e49026e6 make Digits.py for Python and add main() 2021-11-27 16:14:12 +09:00
Jeff Atwood
7e72916374 Merge pull request #321 from suetanvil-misc/project-despace-dirnames
Removed spaces from top-level directory names.
2021-11-21 16:24:42 -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
Andrew Cooper
26374f143c Add TowerDisplay 2021-10-31 10:46:39 +11:00
Andrew Cooper
882f51057d Add tower models 2021-10-30 23:52:13 +11:00
Andrew Cooper
db11f064e9 Add imput routines 2021-10-30 23:07:50 +11:00
Andrew Cooper
ee8322dcaf Add string resources 2021-10-30 22:33:49 +11:00
Andrew Cooper
6b194366fb Add project sturcture 2021-10-30 22:32:22 +11:00
Jeff Atwood
df2e7426eb Merge pull request #319 from drewjcooper/csharp-87-3d-plot
Add C# implementation of 87 3-D Plot
2021-10-19 14:45:40 -07:00
Andrew Cooper
6d923cce9c Add C# implementation of 87 3-D Plot 2021-10-19 22:10:17 +11:00
Jeff Atwood
945bf9fd86 Merge pull request #316 from kt--/main
Ported furtrader.bas to Python3
2021-10-12 11:26:52 -07:00
Jeff Atwood
b9c5c1361c Merge pull request #317 from drewjcooper/csharp-58-love
Implement 58 Love in C#
2021-10-12 11:24:10 -07:00
kingsley
edc46aa65f Added some translation notes 2021-10-12 09:05:04 +11:00
kingsley
be308c8368 New and shiny! 2021-10-12 09:04:46 +11:00