Commit Graph

  • 1fcda277e2 fixed coords generation Uğur Küpeli 2022-05-04 12:04:43 +03:00
  • 6525db5e67 44_Hangman ruby: randomize seed and use the shuffled array for puzzle order. BrBill 2022-05-03 18:46:57 -07:00
  • 9a582ed0d9 Merge pull request #732 from AnthonyMichaelTDM/fixes_for_Mastermind Jeff Atwood 2022-05-03 18:31:06 -07:00
  • fb8996a72d init Uğur Küpeli 2022-05-04 03:21:28 +03:00
  • 6ec5208a33 Simplify some branching and remove labels Andrew Cooper 2022-05-04 08:24:59 +10:00
  • d7be02e3a1 Merge pull request #734 from ugurkupeli/96_Word/rust Jeff Atwood 2022-05-03 12:43:33 -07:00
  • 50dc424291 rust port of nicomachus Uğur Küpeli 2022-05-03 15:59:29 +03:00
  • af910ac126 rust port of craps Uğur Küpeli 2022-05-03 14:53:29 +03:00
  • 856da24488 fixed win state condition Uğur Küpeli 2022-05-03 10:28:20 +03:00
  • 056312f359 rust version of word Uğur Küpeli 2022-05-03 10:12:18 +03:00
  • 577698e2a2 Simplify expressions and function calls Andrew Cooper 2022-05-02 08:34:56 +10:00
  • 12e6bc0b98 Merge branch 'coding-horror:main' into fixes_for_Mastermind Anthony Rubick 2022-05-01 11:25:22 -07:00
  • e513b77ac5 Merge pull request #731 from jnellis/main Jeff Atwood 2022-05-01 10:20:35 -07:00
  • 9cb7c31fb1 bug fixes and logic changes AnthonyMichaelTDM 2022-04-30 17:35:17 -07:00
  • 4636e6543d created new project w/ refactored Mastermind port AnthonyMichaelTDM 2022-04-30 17:20:36 -07:00
  • 54b2366076 create new project for a refactored mastermind AnthonyMichaelTDM 2022-04-30 14:32:45 -07:00
  • 350ea1dda5 Merge remote-tracking branch 'origin/main' Joe Nellis 2022-04-30 01:38:18 -07:00
  • d431dce0ab Merge branch 'coding-horror:main' into main Joseph Nellis 2022-04-30 01:37:40 -07:00
  • dcf816f00e Merge remote-tracking branch 'origin/main' Joe Nellis 2022-04-30 01:33:41 -07:00
  • 84fce13f35 Refactoring player turn and computer turn to separate methods. Computer turn logic previously ignored counting turns. Computer turn previously gave up the round if the user enters "inconsistent information" about the computers guess when it should have restarted the computers turn. Refactoring to remove usage of 'flag' variables to control program flow. Joe Nellis 2022-04-30 00:42:24 -07:00
  • f74367fa59 Refactoring player turn and computer turn to separate methods. Computer turn logic previously ignored counting turns. Computer turn previously gave up the round if the user enters "inconsistent information" about the computers guess when it should have restarted the computers turn. Refactoring to remove usage of 'flag' variables to control program flow. Joe Nellis 2022-04-30 00:42:24 -07:00
  • 8bc2b33a58 Refactoring to distinguish setup of the game from the actual game. Changing globals to uppercase to signal constancy while assigning them via return from #setup_game. The two remaining mutable globals are for score keeping. Maintain commenting style of multistring inside method body. Joe Nellis 2022-04-29 22:20:22 -07:00
  • cca3f941d2 More cleanup refactoring, losing unused variables, shadowed globals, unnecessary spaces, and long lines, and debug prints. Joe Nellis 2022-04-29 17:34:31 -07:00
  • 4308713ec2 Refactoring of the #get_possibility and #make_human_readable methods into one method, #possibility_to_color_code, that just converts a solution permutation (out of the possible permutations) straight into a string code of letters. Joe Nellis 2022-04-29 17:10:10 -07:00
  • 44983bb25f More off by 1 errors of the same type as the previous commit for the computer guessing the secret code. All errors are involved in the algortihm that converts an empty list to a guess. Joe Nellis 2022-04-29 13:54:53 -07:00
  • f745dad4b2 Rust: update comparison logic to follow README.md AnthonyMichaelTDM 2022-04-29 11:18:17 -07:00
  • 806ce22d53 add porting notes about potential bug Jeff Atwood 2022-04-28 11:40:32 -07:00
  • 85e7860aa1 Simplify some functions Andrew Cooper 2022-04-28 08:36:49 +10:00
  • 91b3513df6 Make text mixed case Andrew Cooper 2022-04-27 08:05:27 +10:00
  • 1139eb9cd9 Transliterate BASIC code Andrew Cooper 2022-04-27 03:17:22 +10:00
  • bacad32a61 Off by one error in for/range. Previously if the computer chose a secret code of zero (all blacks) it would skip initialization entirely and the player would not be able to finish the puzzle. Alternatively, if the computer chose the highest secret code (e.g. all Red in a three color puzzle), the actual secret code would be initialized to one less (RRW). Joe Nellis 2022-04-24 17:39:03 -07:00
  • 9ce5c9bb23 Merge pull request #728 from AnthonyMichaelTDM/rust-port-32_Diamond Jeff Atwood 2022-04-22 15:13:37 -07:00
  • 69e9c1438e bit of modification to match description of readme AnthonyMichaelTDM 2022-04-22 13:27:06 -07:00
  • 733513c156 finished 32_diamond AnthonyMichaelTDM 2022-04-22 13:02:52 -07:00
  • 62a4d0b5f1 Setup game skeleton Andrew Cooper 2022-04-19 07:47:20 +10:00
  • 3ace319d9d Merge pull request #726 from AnthonyMichaelTDM/rust-port-18_bullseye Jeff Atwood 2022-04-18 14:22:12 -07:00
  • 86913e57da Merge pull request #727 from coding-horror/python-hockey Jeff Atwood 2022-04-18 14:21:06 -07:00
  • 0d5fffefe6 Remove code duplication Martin Thoma 2022-04-18 22:34:23 +02:00
  • f8fa6fec78 still not working hmmm AnthonyMichaelTDM 2022-04-18 13:28:25 -07:00
  • 123e13f171 Random hint Martin Thoma 2022-04-18 22:27:28 +02:00
  • 423f2718f1 Hockey (Python): Implemented Martin Thoma 2022-04-18 22:25:38 +02:00
  • bfbc4b743f progress on 32_diamond AnthonyMichaelTDM 2022-04-18 13:24:41 -07:00
  • 47dd843f40 18_blackjack done AnthonyMichaelTDM 2022-04-18 12:16:27 -07:00
  • 75c63ff17d 32_diamond AnthonyMichaelTDM 2022-04-18 12:13:06 -07:00
  • 1eb0c46868 Merge pull request #724 from drewjcooper/csharp-13-bounce Jeff Atwood 2022-04-18 11:40:12 -07:00
  • 2aafc0f85f Merge pull request #725 from coding-horror/todo-script Jeff Atwood 2022-04-18 11:39:02 -07:00
  • 269815bd2e ENH: Link games Martin Thoma 2022-04-17 18:37:50 +02:00
  • b975ac94a9 MAINT: Update TODO.md Martin Thoma 2022-04-17 18:25:37 +02:00
  • 89dba2e3f8 Add conversion notes to Readme Andrew Cooper 2022-04-17 19:47:43 +10:00
  • ab48a16f7f Add some comments and game loop Andrew Cooper 2022-04-17 19:47:22 +10:00
  • c9cd477022 Encapsulate calculations and graph logic Andrew Cooper 2022-04-17 19:33:02 +10:00
  • 70b2c92556 Merge pull request #723 from drewjcooper/csharp-25-chief Jeff Atwood 2022-04-16 13:22:15 -07:00
  • e2599bc38b Intiial implementation Andrew Cooper 2022-04-16 22:34:35 +10:00
  • c4c67e15a2 Add resources Andrew Cooper 2022-04-16 22:34:08 +10:00
  • 8dd1180d87 Correct formatting of numbers in output Andrew Cooper 2022-04-16 17:24:32 +10:00
  • 5fbf0dc37f Encapsulate formulae Andrew Cooper 2022-04-16 17:00:06 +10:00
  • ba06a03ef8 Merge pull request #722 from drewjcooper/csharp-07-basketball Jeff Atwood 2022-04-15 09:15:47 -07:00
  • 6927c5ad14 Add game logic Andrew Cooper 2022-04-15 22:48:59 +10:00
  • 25dc10bf3f Add resources Andrew Cooper 2022-04-15 22:17:33 +10:00
  • 229084c492 Add game class Andrew Cooper 2022-04-15 21:43:24 +10:00
  • 01492a697f Enable nullable ref types in common library Andrew Cooper 2022-04-15 21:30:16 +10:00
  • b2f987c059 Merge branch 'coding-horror:main' into csharp-07-basketball Andrew Cooper 2022-04-15 21:01:02 +10:00
  • 15271037a3 Merge pull request #718 from jnellis/main Jeff Atwood 2022-04-13 21:59:09 -07:00
  • d26a57278d Merge pull request #717 from Jay-0331/main Jeff Atwood 2022-04-13 21:54:19 -07:00
  • f3e778b40b Merge pull request #719 from coding-horror/700-terminal-fixes Jeff Atwood 2022-04-13 21:51:01 -07:00
  • 4241caf054 Merge pull request #720 from coding-horror/707-reduce-css-cpu-usage Jeff Atwood 2022-04-13 21:50:37 -07:00
  • 4d4aea42fc fix(#707): removed css animation for performance Alexander Wunschik 2022-04-13 22:59:20 +02:00
  • 1f02b11c74 fix(#700): fix terminal emulator on mobile Alexander Wunschik 2022-04-13 22:16:46 +02:00
  • 882117758d Bagels in Lua. Joe Nellis 2022-04-13 02:57:15 -07:00
  • d0c46689e1 Removed All HTML in Rust Folder jay-0331 2022-04-13 14:21:35 +05:30
  • c6d018acef Fix 0 shot for new defense Andrew Cooper 2022-04-12 17:51:18 +10:00
  • f4fa4f230b Fix action resolution Andrew Cooper 2022-04-12 17:47:24 +10:00
  • ac9a5bf9d9 Rust Translation for Dice jay-0331 2022-04-11 13:24:16 +05:30
  • c45fb59747 Simplify play continuation logic Andrew Cooper 2022-04-10 16:40:08 +10:00
  • fd159ac582 Some cleanup Andrew Cooper 2022-04-10 16:09:49 +10:00
  • 0e1ef8fc46 Cleanup Game creation and main loop Andrew Cooper 2022-04-10 16:09:39 +10:00
  • 11ee731832 Encapsulate shot number and name Andrew Cooper 2022-04-10 13:10:46 +10:00
  • 1ce5f7b3a7 Resolve play resolution helper methods Andrew Cooper 2022-04-06 23:07:35 +10:00
  • 99b52e6861 Move full time messages to game loop Andrew Cooper 2022-04-06 20:55:46 +10:00
  • b8da97a7a3 Break out classes for resolving plays Andrew Cooper 2022-04-05 17:51:13 +10:00
  • aaaadc04ea Add probabilistic branching helper Andrew Cooper 2022-04-05 05:06:17 +10:00
  • 029e27cd2c Fix game loop Andrew Cooper 2022-03-31 21:19:08 +11:00
  • 1ba6dd48aa Split out play resolution Andrew Cooper 2022-03-30 16:50:48 +11:00
  • 741b135d99 Simplify messaging Andrew Cooper 2022-03-30 11:04:38 +11:00
  • 74698c41c4 Add Scoreboard abstraction Andrew Cooper 2022-03-30 10:30:44 +11:00
  • 9106c2e13c Transliterate game logic Andrew Cooper 2022-03-25 08:14:29 +11:00
  • 235e6484de MAINT: Update TODO.md Martin Thoma 2022-04-10 21:06:20 +02:00
  • 42bf89621d Merge pull request #716 from coding-horror/py-football Jeff Atwood 2022-04-10 11:30:28 -07:00
  • c10f55b418 Football (Python): Added Martin Thoma 2022-04-10 11:41:52 +02:00
  • 362a4266d0 Merge pull request #714 from jnellis/mastermind-unfix Jeff Atwood 2022-04-09 11:36:48 -05:00
  • 68b1ae0668 Merge pull request #710 from arjieng/name Jeff Atwood 2022-04-09 00:38:50 -05:00
  • a47a81e1e2 Merge pull request #711 from arjieng/93-23-matches Jeff Atwood 2022-04-09 00:38:31 -05:00
  • 8d884abac7 Merge pull request #709 from serranojl/ruby-hello Jeff Atwood 2022-04-09 00:34:14 -05:00
  • 7f5fdd16fd Merge pull request #704 from arjieng/main Jeff Atwood 2022-04-09 00:25:00 -05:00
  • 5ff1717a53 Unfixes the fix introduced in a previous commit regarding how the computer deduces the answer. ReadMe updated with a thorough explanation of the deduction process. Joe Nellis 2022-04-08 21:59:14 -07:00
  • e33eb758d9 Merge pull request #708 from serranojl/main Jeff Atwood 2022-04-08 23:22:55 -05:00
  • ae987a6f47 Merge pull request #713 from jnellis/main Jeff Atwood 2022-04-08 20:06:22 -05:00
  • 603efe0d7d Merge branch 'coding-horror:main' into main Joseph Nellis 2022-04-08 14:06:56 -07:00
  • b30fa59880 Mastermind port in java. Joe Nellis 2022-04-08 14:05:39 -07:00
  • d50f726f89 rust version for 54_Letter (#712) Jay 2022-04-08 18:51:39 +05:30