Commit graph

  • 17587190a5 refactor: idiomatic best-practices main wi11-holdsworth 2025-10-08 15:54:14 +11:00
  • 1a5e9a715f Merge branch 'testing' of github.com:wi11-holdsworth/comp30002-project-2 into testing testing wi11-holdsworth 2025-10-08 15:25:44 +11:00
  • 5103cb7f0e docs: add average num guesses per initial guess for all targets wi11-holdsworth 2025-10-08 15:11:09 +11:00
  • 5bd5fb0a25 build: add command time to justfile wi11-holdsworth 2025-10-07 19:39:22 +11:00
  • 1f28cc7cda test: create testing functions for average number of guesses over all possible targets wi11-holdsworth 2025-10-07 19:39:10 +11:00
  • e16c6bbf7d refactor: remove unused restriction in allChords generation wi11-holdsworth 2025-10-08 15:25:33 +11:00
  • b8f85fbbcf feat: change the initialguess based on average metrics derived from the testing branch wi11-holdsworth 2025-10-08 15:11:34 +11:00
  • bfdcfde6c9 build: add command time to justfile wi11-holdsworth 2025-10-07 19:39:22 +11:00
  • 28532a3b3a test: create testing functions for average number of guesses over all possible targets wi11-holdsworth 2025-10-07 19:39:10 +11:00
  • 46ece35fde feat: slightly better first guess, more spread out, still vibes based wi11-holdsworth 2025-10-07 19:35:26 +11:00
  • 9cf2fd5960 refactor: remove unneeded bound on allChords, already bound via < wi11-holdsworth 2025-10-07 19:35:06 +11:00
  • 6bdd553610 refactor: use pointwise definition for pairwiseMatches as a more idiomatic solution wi11-holdsworth 2025-10-07 19:34:37 +11:00
  • 1d3b9b913d style: shrink lines >80 characters wi11-holdsworth 2025-10-07 19:34:11 +11:00
  • 0ce98af868 refactor: fully qualify Set module for clarity wi11-holdsworth 2025-10-07 19:33:28 +11:00
  • 136ba9d1d5 fix: use average instead of max as evaluation function as it gives a slightly more efficient algorithm wi11-holdsworth 2025-10-07 19:32:42 +11:00
  • 8f07d1a83c feat: reduce the size of the search space by acknowledging that there are <=10 distinct feedbacks vs 1330 targets wi11-holdsworth 2025-10-07 13:37:27 +11:00
  • 91a65cdb60 feat: initial minimax implementation (quite slow!) wi11-holdsworth 2025-10-03 12:58:05 +10:00
  • ede394ac39 feat: use a "vibes-based" best first guess, to be replaced with a more optimal guess later wi11-holdsworth 2025-10-02 11:33:38 +10:00
  • 5969470a70 feat: implement nextGuess with a more complex strategy wi11-holdsworth 2025-10-02 11:33:13 +10:00
  • bca6ee723d docs: comment helper functions wi11-holdsworth 2025-10-01 14:34:35 +10:00
  • 1d86b09e0f refactor: move matches function up to top of block to improve readability and inline functions in allChords for clarity wi11-holdsworth 2025-10-01 14:34:27 +10:00
  • de3a7abafe refactor: inline functions in feedback for clarity wi11-holdsworth 2025-10-01 14:32:39 +10:00
  • 96b7053c5d docs: comment data structures wi11-holdsworth 2025-10-01 14:32:16 +10:00
  • 0b87d62ba0 refactor: reorder data structures for better readability wi11-holdsworth 2025-10-01 14:24:16 +10:00
  • df8bd3290f docs: format section comments nicely wi11-holdsworth 2025-10-01 14:22:55 +10:00
  • 3a11e7132f docs: add longer explanation assuming user is not familiar with the project wi11-holdsworth 2025-10-01 14:21:55 +10:00
  • 80314a3a01 docs: add oneliner comment wi11-holdsworth 2025-10-01 14:21:13 +10:00
  • 1ed43872c4 docs: add signature comment wi11-holdsworth 2025-10-01 14:20:43 +10:00
  • 21afd9c218 docs: add nextGuess optimisation hints to readme wi11-holdsworth 2025-10-01 14:20:03 +10:00
  • efc8ac3116 fix: nextguess was not implemented to account for duplicate notes/octaves wi11-holdsworth 2025-10-01 12:51:55 +10:00
  • e9710a5bf8 refactor: improve flow of file by ordering functions better wi11-holdsworth 2025-09-25 11:52:37 +10:00
  • e26b60a9ed feat: implement nextGuess with a basic strategy: guess every possible chord wi11-holdsworth 2025-09-25 11:49:25 +10:00
  • 4618e32d77 feat: generate all possible chords and initialise gameState as all chords wi11-holdsworth 2025-09-25 11:49:00 +10:00
  • d8dbc1c86c feat: implement initialGuess wi11-holdsworth 2025-09-25 11:15:42 +10:00
  • 7b98957f63 build: build artifacts not being placed in build directory wi11-holdsworth 2025-09-25 11:15:21 +10:00
  • 4ecd8803af fix: prompt was not visible outside interactive mode, flush stdout so it's visible wi11-holdsworth 2025-09-25 11:15:07 +10:00
  • c8079cb914 feat: implement gamestate type wi11-holdsworth 2025-09-24 14:54:29 +10:00
  • d3aa836a8f feat: implement feedback wi11-holdsworth 2025-09-24 14:54:13 +10:00
  • 00e2dae6c1 feat: implement toPitch wi11-holdsworth 2025-09-24 14:53:50 +10:00
  • 9419d0d25b feat: improve pitch datatype with sub-types for notes and octaves wi11-holdsworth 2025-09-24 14:53:42 +10:00
  • 6f600ff149 refactor: mark guess functions for implementation wi11-holdsworth 2025-09-24 14:52:23 +10:00
  • 3654485f23 style: format code wi11-holdsworth 2025-09-24 12:17:28 +10:00
  • f49eba9676 build: create just file for building and running wi11-holdsworth 2025-09-24 12:17:15 +10:00
  • c3c7851320 build: flake template from the-nix-way wi11-holdsworth 2025-09-24 12:17:01 +10:00
  • 6ece1fe6bc build: initial commit Will 2025-09-24 11:47:58 +10:00