Commit Graph

900 Commits

Author SHA1 Message Date
eries2
643f77e08f added a beter pretty print for each tower. helped my 7yo visualize what was going on 2022-01-02 10:50:22 -08:00
ericries
18a2e34c61 Update tower.py
easier debugging with fewer disks
2022-01-01 17:26:04 -08:00
ericries
4f50d95aff Delete tower.py 2022-01-01 17:08:10 -08:00
ericries
7f88e7dd68 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
6fc63f104e 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
a01f9d2420 Merge pull request #335 from doctorgraphics/patch-1
Update aceyducey.py
2022-01-01 15:52:35 -08:00
doctorgraphics
0a40c0df26 Update aceyducey.py
Correct misspelled word "assement" to "assessment"  on line 177
2022-01-01 15:20:20 -08:00
Jeff Atwood
1f17f8e9cb Merge pull request #334 from RunOfTheShipe/main
C# implementation of Bullseye
2022-01-01 15:13:24 -08:00
bmshipe
739cefc7ca C# implementation of Bullseye 2022-01-01 17:05:51 -06:00
Jeff Atwood
32b7735234 Update README.md 2022-01-01 13:20:35 -08:00
Jeff Atwood
0db6e2ddf2 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
6ae9edef7a 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
a935210e1c 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
1ba546b10e Merge pull request #330 from MoritzHamann/main
Python solution for 50: Horserace
2022-01-01 12:20:52 -08:00
Moritz Hamann
c9aaeb6d1b 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
b88c68f74e feat: Implement 93 23_Matches in Java 2022-01-01 20:26:10 +01:00
Jeff Atwood
8200f0f300 Merge pull request #327 from torbenmoeller/main
feat: Implement 78 Sine_Wave in Java
2022-01-01 11:08:27 -08:00
Jeff Atwood
d7c992a519 Merge pull request #329 from shalgrim/patch-1
fix typo
2022-01-01 11:00:32 -08:00
Jeff Atwood
36672f33c9 Merge pull request #328 from pczajkowski/main
20_Buzzword in C#
2022-01-01 10:58:27 -08:00
Scott Halgrim
921b86d0ca fix typo 2022-01-01 10:53:17 -08:00
Piotr Czajkowski
b44d4a513d Maybe staying too close to original wasn't so good 2022-01-01 17:12:13 +01:00
Piotr Czajkowski
4e6c10d95b Comment changed 2022-01-01 14:18:25 +01:00
Piotr Czajkowski
d36b281649 Better? 2022-01-01 14:14:31 +01:00
Torben Möller
86e456d8df feat: Implement 78 Sine_Wave in Java 2022-01-01 14:08:28 +01:00
Piotr Czajkowski
8049e42de5 Spelling 2022-01-01 13:39:03 +01:00
Piotr Czajkowski
c9600b057c Added more comments, some cosmetic changes 2022-01-01 13:28:38 +01:00
Piotr Czajkowski
3036295975 After modifying indexes modulo isn't needed, it appears 2022-01-01 13:17:35 +01:00
Piotr Czajkowski
f5b783c8bf Modified seed, added some comments 2022-01-01 13:16:01 +01:00
Piotr Czajkowski
803e551531 Better keyboard, cosmetics 2022-01-01 12:15:13 +01:00
Piotr Czajkowski
ae0a09de4f Starting sentence from capital letter 2022-01-01 12:05:19 +01:00
Piotr Czajkowski
9ab38e7925 Added GeneratePhrase 2022-01-01 11:59:28 +01:00
Piotr Czajkowski
8ef2fe5df4 Added Instructions 2022-01-01 11:17:05 +01:00
Piotr Czajkowski
febedb72bb Added header 2022-01-01 11:12:12 +01:00
Jeff Atwood
c297dff361 Update README.md 2021-12-31 22:46:16 -08:00
Jeff Atwood
43c81c005f Update README.md 2021-12-31 22:45:39 -08:00
Jeff Atwood
55f8a3d8c5 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
e69a42b6bc 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
6893491b16 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
fc74d4be55 Merge pull request #323 from drewjcooper/cs-90-tower
C# 90 tower
2021-11-27 19:23:02 -08:00
Jeff Atwood
85d9c6c2d8 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
a8a17b3873 update main function 2021-11-28 09:53:52 +09:00
Andrew Cooper
02dbc57725 Add game logic and fix resources 2021-11-27 22:53:17 +11:00
sonyi00
0cfbda5099 update main function 2021-11-27 18:21:43 +09:00
leecr1215
b30d7c220e feat: add fuctions 2021-11-27 16:22:01 +09:00
GwakMirae
0e9d46d6af make Digits.py for Python and add main() 2021-11-27 16:14:12 +09:00
Jeff Atwood
14a99cbdf4 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
5f664bc71d 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
0b3871136a Add TowerDisplay 2021-10-31 10:46:39 +11:00
Andrew Cooper
56b8e0e51e Add tower models 2021-10-30 23:52:13 +11:00
Andrew Cooper
04fe4027d9 Add imput routines 2021-10-30 23:07:50 +11:00