Cheating at Countdown | Game Dev's Revenge

Поділитися
Вставка
  • Опубліковано 21 лис 2024

КОМЕНТАРІ • 185

  • @uselessgamedev
    @uselessgamedev  Рік тому +93

    Hey everyone I hope you enjoyed the video. I’m still figuring out how the format can be improved, especially the code portions (03:57 to 05:38) which I find a bit dull and “tutorial-y”.
    I’m open to suggestions and ideas to make them more engaging. Here’s my list of ideas so far:
    - Fart noises
    - ?

    • @someoneexistent3861
      @someoneexistent3861 Рік тому +5

      look up dani for inspiration lol

    • @alirezafarzaneh2539
      @alirezafarzaneh2539 Рік тому +7

      From what I've seen, it's done in two ways:
      1. The one you did, writing slowly and talking over it, telling what each part does.
      2. Sped up footage of code being written, which I think makes it more appealing to non-technical audience.
      But maybe somewhere in between would be better.
      Which you don't go over each line, but talk about the code in general and what each part does.
      I think, having an overview of what your approach to solving is going to be (pseudocode maybe), talking over that, then replacing it with your implementation would be nice.
      I hope I'm clear. If not, tell me.

    • @uselessgamedev
      @uselessgamedev  Рік тому +12

      Good point. I see Sebastian Lague displays the entire finished result and then films himself highlighting the line he's currently talking about. But I feel it's a lot to take in at once

    • @alirezafarzaneh2539
      @alirezafarzaneh2539 Рік тому

      @@uselessgamedev I don't know if this is the right place to ask, but I'm currently in the process of starting my own UA-cam channel. I'm truly inspired by the content you make and would greatly appreciate your guidance and advice. Could you please provide me with some assistance? It would mean a lot to me.
      If possible, could you kindly share any contact information or suggest a way for me to reach out to you directly? I have a few questions that I think you could help me with.
      Thanks in advance.

    • @someoneexistent3861
      @someoneexistent3861 Рік тому +4

      @@uselessgamedev sebastian lague might be a good inspiration as well actually, instead of explaining using the code you could explain using visuals and then show the code for those who are interested/have it displayed in a corner or sth

  • @CodeParade
    @CodeParade Рік тому +154

    You can improve the speed another 100x or so by encoding the letters into a bitmask and getting the entry from a hash lookup. Matt Parker did a video about that algorithm recently: ua-cam.com/video/c33AZBnRHks/v-deo.html To adapt it to this problem, you could just use more than 1 bit per letter for duplicate letters. Not that you need the speed or anything haha, but just another elegant algorithm.

    • @TeslaPixel
      @TeslaPixel Рік тому +4

      Assuming you mean to use the bitmask to hash into the optimal word for that mask, we may run into memory concerns.
      A letters game requires 3 vowels and 4 consonants, with the other 2 belonging to either set. This means there can be at most 5 vowels and 6 consonants in any given game. log2(5) = log2(6) = 3 (with rounding), so minimal bits required would be 3 per letter. 3 * 26 = 78 = 5 bytes per game representation with optimal (byte-aligned) packing. One could reduce this by yielding the wasted 2 bits by clever shifting but I doubt it would be worth it. Assuming C-style char arrays we would have 9 bytes for the optimal word (using null characters for words < 9 letters and repeated best words). Again this could be made more dense by using pointers to strings for optimal words, but this would still at an absolute minimum use 4 bytes on a x32 machine plus the cost of storing the strings somewhere. For a near-optimally stored hash pair we therefore have 9+5 = 14 bytes per game representation with its best word.
      I am unsure how the author of this video calculated the number of games but I reached a very different figure. As per the above rules, letters games can have 4, 5, or 6 consonants and 5, 4, or 3 vowels respectively. Using combination with repetitions (named multichoose) as (n + k - 1) choose k (for n = number of letters in consonants/vowels and k = number of consonants/vowels) for each of the 3 cases of letters game, we get a total of 13,116,026 different games. Do note that this figure is a bit larger than the 9,719,199 quoted on the countdown wiki, but they make references to letter frequencies and counts that I've not included in my calculations.
      Putting these 2 numbers together and assuming a perfectly packed hash table, we would have 13,116,026 * 14 bytes which is approximately 175MiB. While this is possible, it seems a bit large to load into ram just to keep the optimal games known! The trie solution avoids this large use of memory as the strings abcde and abcdd differ by only 1 node, both pointing to the abcd path.
      If you have a question or think I'm wrong, let me know, and thanks to the creator of the video!
      Edit: Whoops! Just realised it does not need to be this memory intensive at all, at the cost of some (but not even close to all!) of the speed.
      If we instead create a hash map of the above 5 bytes of letter usage to each valid word (NOT each valid game!) we will use far less memory of around 2MiB. Now when we want to find the word we check in decreasing length order the combinations of the letters. For each of the 512 (2^9) sub-combinations of the game letters we create the 5 byte identifier and check its existence in the hash map. With early stopping we are very unlikely to see more than 256 checks of the hash map. Granted this is of course 255 more than the 1 in the previous solution, but at an 80th of the memory cost, so I'd say it's a far better solution.

    • @lucyinchat
      @lucyinchat Рік тому +1

      That, or just rewriting this in plain C

  • @jl-c9175
    @jl-c9175 Рік тому +190

    im so sorry for your condition, being french

    • @uselessgamedev
      @uselessgamedev  Рік тому +123

      I inherited it from my parents. It seems there's nothing that can be done about it

    • @mrlucky974
      @mrlucky974 Рік тому +20

      @@uselessgamedev I have it too, this is really sad...

    • @LineOfThy
      @LineOfThy Рік тому +4

      @@uselessgamedev Well on the bright side, you legally own the moon

    • @darksunrise957
      @darksunrise957 Рік тому +11

      I hear it's chronic, and eventually terminal...

    • @segfaultdev
      @segfaultdev Рік тому +6

      @@mrlucky974 I've seen it worse, some of us are half french, half catalonian 🤮

  • @julienpoulton4924
    @julienpoulton4924 Рік тому +174

    This was really cool, you are definitely not a dollar store Sebastian Lague you're a high quality UGD! Good luck with your speech inpedement of "being French" 😂

  • @maikhildebrandt9921
    @maikhildebrandt9921 Рік тому +11

    Loved the abdicates inside joke

  • @tealbaron2808
    @tealbaron2808 Рік тому +14

    lol thought of the IT Crowd bit as tnettenba was being put on screen then looked up and was surprised

    • @uselessgamedev
      @uselessgamedev  Рік тому +10

      Nice, someone noticed
      The first draft of the script said "unless it already is a word!" but I removed it as to not confuse people who haven't seen the show

    • @sempersolus5511
      @sempersolus5511 Рік тому

      ​​@@uselessgamedev when I watched that episode, I came up with "BATTEN", but I don't know what happens in the event of a tie, because we don't get Countdown in my country.

    • @RogerClotet
      @RogerClotet Рік тому

      @@uselessgamedev I was definitely expecting that.

  • @Grimmtombobulus
    @Grimmtombobulus Рік тому +1

    Gotta love the IT Crowd reference at the start. "Umm it actually already is a word"

  • @nightfox6738
    @nightfox6738 Рік тому +1

    "You budget Sebastian Lague", I laughed so hard.
    In any case, I just wanted to mention theres a much better way to do the naive algorithm.
    This certainly won't be faster than the average solve for batch data with a precomputed tree, but for single games it will be much faster.
    function( letters, words, depth ):
    * Remember the longest word you've seen (longest)
    * For each available letter:
    * Get the sublist of your available words that match the letter at "depth"
    * If that list is empty, return an empty string
    * Perform a recursive call to this function with the available letters except for this one, the sublist of words, and depth + 1
    * If the result of the recursive call is longer than "longest" overwrite it

  • @wrightrj03yt
    @wrightrj03yt Рік тому +2

    Excellent IT Crowd reference

  • @asfi7623
    @asfi7623 Рік тому +10

    I don't know any other youtuber whose video ideas are this creative and interesting.

  • @aidantesselaar3736
    @aidantesselaar3736 Рік тому +1

    Missed an opportunities to make the word at the end 'subscribe'

  • @isfunart
    @isfunart Рік тому +2

    ayy i dont understand what i watch but i enjoy it

  • @licheris1158
    @licheris1158 Рік тому +2

    Love the subtle IT crowd reference

  • @thecurtlocker
    @thecurtlocker Рік тому +10

    All the references had me in stitches. Keep it up! Big fan of your work!

  • @lewismassie
    @lewismassie Рік тому +9

    This was really interesting, never knew about tries.
    Also I know for certain that you were watching the 8oo10c version because of 'abdicates'

    • @uselessgamedev
      @uselessgamedev  Рік тому +9

      I rewatched the episode while preparing this video, and this opening line "to be honest Jimmy, I don't think that's any of your business" is just gold

  • @amyshaw893
    @amyshaw893 Рік тому +6

    Nice references with tnetennba and abdicates XD

    • @uselessgamedev
      @uselessgamedev  Рік тому

      OMG someone found the second easter egg. Congrats! I see you're a man of culture as well

    • @amyshaw893
      @amyshaw893 Рік тому

      @@uselessgamedev haha, indeed, i do my best. i knew that the second scramble of letters had to be something, but it made more sense when you solved it for me :P or should i say, when your code solved it for me

  • @empty5013
    @empty5013 Рік тому +3

    never heard of a trie before and I've been doing comp sci for 7 years now! awesome video!

  • @mayatung
    @mayatung Рік тому +2

    at the start i was clawing at the walls hoping you would implement a trie and felt satisfied when you did :) also i really like your humor it adds a lot to the videos

  • @fatalfruit2662
    @fatalfruit2662 Рік тому +5

    Love 8 out of 9 cats does countdown and your content as well. What a combination I didn't know I needed!

  • @NeoPatamonX
    @NeoPatamonX Рік тому +6

    Your favorite data structure is also a Trie? Let's go!
    I'll never forget the interview I busted that out on, it felt really good

  • @bloom945
    @bloom945 Рік тому +3

    WTH I just learned about and implemented my own Trie structure 😮 if only this video was available then 😢

  • @michaelorlev9925
    @michaelorlev9925 Рік тому

    Loved the "Abdicates" reference in the end!! Great vid as usual! Good luck on countdown!!!

  • @ventanims
    @ventanims Рік тому +7

    Wow, that was really interesting to watch. Impressive work!

  • @DalB245
    @DalB245 Рік тому +7

    Are these explosions.mp4 at the start specially made?

    • @uselessgamedev
      @uselessgamedev  Рік тому +2

      I just thought it would be funny to have a "broken link" picture where people can absolutely imagine what the image is supposed to be

  • @Name_Dot_Text
    @Name_Dot_Text Рік тому

    awesome stuff on this channel, very rewatchable too

  • @vlim5601
    @vlim5601 Рік тому +1

    0:38
    Awfully convenient when the letters fall in place like that.

  • @garfunk71
    @garfunk71 Рік тому

    "you dollar store Sebastian Lague" omg I love you (from a fellow french citizen)

  • @Aethemix
    @Aethemix Рік тому

    Love the video, and the easter eggs for the 8/10 Cats does CD people. Abdicates FTW

  • @ThePixelatedCoder
    @ThePixelatedCoder Рік тому +1

    hello its me again great vid by the way just wondering what video editor do you use im thinking of posting a ASCII video that uses compute shader to get it which should get a nice and high framerate thanks Gc edit - i mean shader graph then turn it into compute maybe in a diffrent vid

  • @lemonlordminecraft
    @lemonlordminecraft Рік тому

    I like how you edited your logo onto your jumper

  • @gavin5410
    @gavin5410 Рік тому

    Man i love this channel, I'm so glad it blew up recently

  • @fidofetch
    @fidofetch Рік тому

    Fantastic, really love the solution for the input, and your beeps and boops.

    • @uselessgamedev
      @uselessgamedev  Рік тому +2

      Thanks! Since Moebius every SFX is hand made. Or rather mouth made I should say

  • @mcnulty3081
    @mcnulty3081 Рік тому

    Love the IT Crowd reference in there - Bravo!

  • @EldeNova
    @EldeNova Рік тому

    I love the Abdicates easter egg!

  • @Atushon
    @Atushon Рік тому

    knew right away this was going to be a video about tries

  • @benjoe1993
    @benjoe1993 Рік тому +2

    I'm very sorry but the best Countdown player is and always will be Maurice Moss.
    But it's very impressive and fun what you did there :D

  • @HugoAttal
    @HugoAttal Рік тому +4

    Super interesting video! I have a few suggestions considering (even more) optimization.
    What about sorting all the words by letter (since order is not important)? This way you can stop the tree search prematurely.
    For example "FRENCH" would be stored as "CEFHNR". This would also mean a smaller tree with less nodes.
    You should of course store the real word in the leaf to retrieve it.
    (En tout cas super vidéo, comme d'hab, j'avais même pas remarqué que t'étais français avant que tu le mentionnes !)

    • @uselessgamedev
      @uselessgamedev  Рік тому +1

      Hmmm that's a very good idea. It would probably ~double the size in ram but it might improve speed!

    • @LacrosseFever18
      @LacrosseFever18 Рік тому +3

      I was thinking that as well, and you would only need one valid word per set of letters (like spacer and scrape would both be aceprs) so there is even less to store

    • @TeslaPixel
      @TeslaPixel Рік тому

      @@uselessgamedev How would the memory double? I think it could actually even reduce the size as anagrams would no longer be duplicated.

    • @bitbyt3r
      @bitbyt3r Рік тому +2

      I just threw that together in Python and got 98ms to build the lookup table after which it took 14us per game.

  • @MaakaSakuranbo
    @MaakaSakuranbo Рік тому +1

    "is quite slow" - literally a fourth of a second

  • @crystalpanda9083
    @crystalpanda9083 Рік тому +4

    I am so early omg! This is so cool
    An awesome video, thank you for sharing it! And i hope your frenchness gets better soon 🙏

    • @uselessgamedev
      @uselessgamedev  Рік тому +3

      I constantly crave croissants :( alas the doctors say there's nothing to do.
      I keep going "oui oui hon hon oui mon petit chéri"

  • @kalelsoffspring
    @kalelsoffspring Рік тому

    I've used this data structure before for a couple things but never knew its name, very cool video

  • @PCgameandgamer
    @PCgameandgamer Рік тому +1

    I honestly liked the code portion of the video, I would personally rather see it, too many youtubers skip it

  • @ZTF666
    @ZTF666 Рік тому

    the second you mentioned the 8oo10c version i subbed !

  • @starduck2
    @starduck2 Рік тому

    You are the genius that makes all my useless uses for technology come to life! I love 8 out of 10 cats version and I'm 28!

  • @MedicMainDave
    @MedicMainDave Рік тому

    You're the best english speaking french-man I've ever heard ;)

    • @uselessgamedev
      @uselessgamedev  Рік тому

      Gracias

    • @MedicMainDave
      @MedicMainDave Рік тому

      @@uselessgamedev Bittechön
      And I know what I'm talking about, I live on the french border

  • @gamey1346
    @gamey1346 Рік тому +1

    Another awesome video! Sorry for your condition, being french should be hard.

  • @sh4rx486
    @sh4rx486 Рік тому +1

    That’s a nice Tnetennba

  • @designator7402
    @designator7402 Рік тому +2

    "For those of you who are under 60"
    I feel offended and at the same time you're entirely correct.

    • @uselessgamedev
      @uselessgamedev  Рік тому

      I'm about half that age myself, but preparing this video I watched some countdown on Channel4 and the ads they run are "at home gp health check for the elderly" so clearly the target audience is quite old haha

    • @designator7402
      @designator7402 Рік тому

      @@uselessgamedev thankfully we have 8oo10cdc for us slightly younger folk.

  • @morgan0
    @morgan0 Рік тому

    i wonder if any word culling could be performed by making a list of numbers for each word that has a bit for each character and sets whether it’s on, either way that’s where my mind went first, hadn’t thought of a trie but it seems like a great option for this.

    • @morgan0
      @morgan0 Рік тому

      actually an optimization could be figuring out which letter should go first in the checks to have a higher chance of finding words, instead of in order or random

  • @willowpets
    @willowpets Рік тому

    That’s amazing that you made the actual device lmaoo. I have a question - could you make this even faster if you could skip the array copy by using an integer to mark each letter in the array as used or remaining, where the nth bit corresponds to the nth letter? I don’t know the speed of an array copy vs passing an integer so idk if it actually would improve performance, but the array copy set off the 🚨 in my brain. Thanks for making great videos!

    • @uselessgamedev
      @uselessgamedev  Рік тому +1

      Thank you for your message :) I guess your suggestion makes sense, I was wondering as well while coding, I was thinking to myself that I should somehow pool the arrays or something because memory allocation is always the worst thing to do. It would probably not be a game changer, but I think your approach would be faster indeed

  • @JosephCatrambone
    @JosephCatrambone Рік тому

    Did you sort the letters of the word before inserting them? It will help prune duplicates and should reduce the depth of the trie. Coat and taco for example would both map to the path 'acot'. You'd have to keep the words in the last leaf instead of a flag for done, though.

    • @uselessgamedev
      @uselessgamedev  Рік тому

      I didn't but it would certainly improve speed (at the cost of ram because you'd indeed need to store every word twice)

  • @ralphwiggum1203
    @ralphwiggum1203 Рік тому +5

    most underrated youtuber

  • @fallency4
    @fallency4 Рік тому

    Very cool, always a pleasure to watch your video

  • @thatdarlo
    @thatdarlo Рік тому

    That's a nice Tenetennba.

  • @absobel
    @absobel Рік тому

    Ah c'est de là que ça vient des chiffres et des lettres !

    • @uselessgamedev
      @uselessgamedev  Рік тому +1

      L'inverse ! Le jeu français a été copié au royaume-uni (et en Australie). Mais je crois que le concept a mieux marché au UK

  • @user-ws8bb8ii4n
    @user-ws8bb8ii4n Рік тому

    love your channel! keep up the good work!

  • @DrNabeel20
    @DrNabeel20 Рік тому +1

    Great video!

  • @oddysee3030
    @oddysee3030 Рік тому +1

    Great video!
    ...for a frenchman

  • @taurasandaras4699
    @taurasandaras4699 Рік тому

    I would have just made a separate list of words for each number of letters for example a list of just 1 letter words, a list of just 2 letter words, etc then look trough them and see if you can make a 9 letter word, 8 letter word, 7 letter word, etc but your way of doing it seems much better

  • @codeway4374
    @codeway4374 Рік тому +1

    Omg l’écriture
    Yes you wrote definitely better than me (we call my writing hieroglyphs )

  • @RedP1ggyBank
    @RedP1ggyBank Рік тому

    This is awesome!! Wouldn't two rings be enough though? Since morse code is based on how long the signal is held for. Would that be harder to implement?

    • @uselessgamedev
      @uselessgamedev  Рік тому +1

      Wouldn't be a lot harder to implement but certainly a lot harder to use: without any visual/sound feedback to confirm whether you've entered a dot or a dash, it's hard to know you didn't make a mistake

    • @gamespender8605
      @gamespender8605 Рік тому

      alternatively, you could have haptic feedback using a small vibration motor to tell you what you inputted and what the output word is, in Morse

    • @RedP1ggyBank
      @RedP1ggyBank Рік тому

      Ahh that makes sense. I didn't consider that you don't really get good feedback. Any sound it makes would make it more obvious you're cheating anyway

  • @alirezafarzaneh2539
    @alirezafarzaneh2539 Рік тому

    I love your style of content! Keep it up!

  • @neozoid7009
    @neozoid7009 Рік тому +1

    Some cool stuffs

  • @BlueOctopusDev
    @BlueOctopusDev Рік тому +2

    nice !!

  • @desperatehouseflies
    @desperatehouseflies Рік тому +1

    Great vid!

  • @TheRealLoopDev
    @TheRealLoopDev Рік тому

    Wait, is the black hoodie a reference to giorno giovanna's outfit? (Since giorno's outfit change color from purple/pink to black like your hoodie)

    • @uselessgamedev
      @uselessgamedev  Рік тому

      I don't know who that is, so... no haha
      Red hoodie is the titular series, Useless Game Dev
      Black hoodie is Game Dev's Revenge
      And then there may or may not be other colors/series in the future 🤫

  • @ryanworth4502
    @ryanworth4502 Рік тому +1

    Nice touch with the tnetennba. Moss's 9 letter word!

  • @ZantierTasa
    @ZantierTasa Рік тому

    I think this can be made a lot faster by sorting the letters in the dictionary words, as well as the clue. i.e. store "abdicates" as "aabcdeist".

  • @oniinhuman376
    @oniinhuman376 Рік тому

    Thank you for the amazing video. Impressive.

  • @MAATsBud
    @MAATsBud Рік тому

    1:54 programmers when their 99GB code doesn't run in -1ms

  • @billybollockhead5628
    @billybollockhead5628 Рік тому

    Tnetennba .. okay, that got a laugh

  • @therealjtgill
    @therealjtgill Рік тому

    I am ashamed at how quickly I would order a hoodie with your avatar embroidered on it

    • @uselessgamedev
      @uselessgamedev  Рік тому

      We're not quite there yet but it is an eventuality 😉

  • @tuxlu1761
    @tuxlu1761 Рік тому +1

    Tought it was about cheating with timers in video games, could have put a little reference to "Des chiffres et des lettres" in the thumbnail for your fellow french afflicted viewers 😅

  • @aiayou
    @aiayou Рік тому +1

    Yes.

  • @cunibon4395
    @cunibon4395 Рік тому

    Dollar store Sebastian Lague xD
    You too can gladly coexist. I enjoy all the videos I can get

  • @omayoperations8423
    @omayoperations8423 Рік тому

    I come from the discord. I like optimization.
    I'd say you write far better than an 8 year old. At least from personal experience.

  • @suzypayne2333
    @suzypayne2333 Рік тому

    Awesome video!

  • @ozzi9816
    @ozzi9816 Рік тому

    Very cool video! I feel like you could optimize this even further by removing all words from your dictionary that are less than, say, 7 or 8 letters long. I’ve never seen this show so I have no idea, but I feel like the makers of the puzzle always intend it to have a 9 letter solution. If they don’t you can just put 7 or 8 letter words in as a security measure. Then you have the program search downwards from 9 letter words (so if it doesn’t find any 9 letter words go to 8, then 7). No idea if it’s compatible with trie, but I feel like that would make your dataset much smaller and make it even faster.

    • @uselessgamedev
      @uselessgamedev  Рік тому +1

      It is indeed random, the candidates draw the letters themselves, so sometimes the word specialist on set doesn't find a 9 letter word.
      Your suggestion is correct though, for the "naive" approach it does speed things up (although as I said not by much)
      For the trie it makes barely a difference, which I guess is expected since you still have to traverse the trie to find leaf words

    • @ozzi9816
      @ozzi9816 Рік тому

      @@uselessgamedev gotcha. I guess the biggest benefit would be a smaller dataset means the trie initializes faster?

    • @uselessgamedev
      @uselessgamedev  Рік тому

      @@ozzi9816 I guess.
      The trie really is useful when reusing it multiple times. Like looking up phone numbers for instance

  • @willlacey7621
    @willlacey7621 Рік тому

    This would be hilarious to try out on a friend group 😂

  • @billybollockhead5628
    @billybollockhead5628 Рік тому

    Couldn’t you do a very quick early out of each branch? I.e. if you had no A’s, you could ignore the A branch straight away? Worst case scenario, only 9 branches to check?
    Put each branch into an high level array, and then only check each based on a quick array lookup based on each letter. If that makes sense?
    Now I want to take your code and optimize it for this.. lol.. but I have work to do…

    • @uselessgamedev
      @uselessgamedev  Рік тому

      Yes the trie exploration does it by design. With other dfs/bfs approaches you definitely could (and should) prune branches as soon as you can but it'd still be a lot slower

  • @Celestinal-lc5fy
    @Celestinal-lc5fy Рік тому

    Trop fan de ce canard bleu

  • @EARFQ
    @EARFQ Рік тому

    Anyone notice the 9 letter word at 0:38?

  • @Taugeshtu
    @Taugeshtu Рік тому

    > raving on about how optimization is important for code that needs to deploy on a rPi
    > porting the code into javascript
    Yep, that's a work of a platypus :D

    • @uselessgamedev
      @uselessgamedev  Рік тому +1

      Hah. I knew I was going to get that comment haha
      Truth is JavaScript is the only language I know at a reasonable level, but yeah I bet it would be even faster un rust or go or whatever is hip these days

  • @JoeyMarleyShow
    @JoeyMarleyShow Рік тому

    Really cool. But use 3 wires for the morse code? I mean, it was designed with single contact in mind, you'd need a little practice but the result would be even more discreet.

    • @uselessgamedev
      @uselessgamedev  Рік тому

      Indeed, especially since I'm not really a "lots of rings" guy. However with the absence of feedback (can't have the usual beep beeeeep sound) I deemed it safer to know exactly if I was using a dash or a dot.
      Could take inspiration from the world of chess with a vibrating device I guess

  • @crazyknexkid
    @crazyknexkid Рік тому +2

    Isn't TNETENNBA already a word? 🤔🤣

  • @LulledLion
    @LulledLion Рік тому +1

    I would try to sort every dictionary word's by the letters, then sort those "words". Sort scrambled input. search n choose k of input letters; starting from choosing 9 out of 9. max 511 combnations to lookup. and best score comes up first.

  • @domicseh
    @domicseh Рік тому

    What did you use to visualise the trie?

    • @uselessgamedev
      @uselessgamedev  Рік тому +1

      Graphviz, specifically, dot.
      It's a graph description language and it's very easy to write code that generates it.
      If you type "graphviz online" you'll get website to play with it in your browser

  • @somefishhere
    @somefishhere Рік тому

    I like this

  • @rcnhsuailsnyfiue2
    @rcnhsuailsnyfiue2 Рік тому

    That’s a nice tnetennba

  • @GldnClaw
    @GldnClaw Рік тому

    Consider your avatar matching that classic beard you have.

    • @uselessgamedev
      @uselessgamedev  Рік тому

      Yeah the beard wasn't supposed to be visible, it usually isn't that long. But a bearded version of the avatar, I say why not

  • @elephaux5671
    @elephaux5671 Рік тому

    Dentroyer. Very clever 🙄😂

  • @principleshipcoleoid8095
    @principleshipcoleoid8095 Рік тому

    I wonder if Rust trie is a good idea.

  • @ohfelix_
    @ohfelix_ Рік тому

    Vidéo très intéressante! Je n’aurais pas deviné que tu étais français… quelle condition horrible 😨

  • @MrChomZ
    @MrChomZ Рік тому

    Hello, that's a nice tnetennba :)

  • @kvbc5425
    @kvbc5425 Рік тому

    yes

  • @bimalpandey9736
    @bimalpandey9736 Рік тому +1

    There are going to be a lot of french jokes in this comment section.

  • @spicetea4060
    @spicetea4060 Рік тому

    Neato

  • @chimitrash2966
    @chimitrash2966 Рік тому

    You french 🥖?
    Damm, hope you get better 🙏😢
    /J

  • @gljames24
    @gljames24 Рік тому

    But why Javascript?

    • @uselessgamedev
      @uselessgamedev  Рік тому

      It's the only language I know enough beside C# to implement this. Certainly suboptimal but still faster than learning rust or go or cpp

  • @niil047
    @niil047 Рік тому +2

    yippeeee

  • @ectoplasm12345
    @ectoplasm12345 Рік тому +1

    ABDICATES