Marc Evanstein / music․py

Marc Evanstein / music․py

Channel of the composer/creative coder Marc Evanstein. I publish videos on composing music in Python, compositions I've created, and various experiments at the intersection of music and code.

Foürier Elise (full)

Foürier Elise (full)

When Python Meets Ableton

When Python Meets Ableton

Пікірлер

  • @callyral
    @callyral2 сағат бұрын

    Uh I played tic-tac-toe against myself and got the thumbnail

  • @thekivster
    @thekivster8 сағат бұрын

    The KZread shorts song sounds so much like Gentle Giant. Do you know them?

  • @bogdanpolekhin5199
    @bogdanpolekhin519911 сағат бұрын

    I am here to push this to the algorithm

  • @MauritiusMoments
    @MauritiusMoments12 сағат бұрын

    Would you take a commission or can we pay for a specific piece? My favorite work is a violin concerto and would love for the whole work to be in this format to visually see when I listen to it. How much would this cost?

  • @marcevanstein
    @marcevanstein10 сағат бұрын

    Hmm... I hadn't really considered this! What violin concerto are you talking about?

  • @Down.D.Stairs.
    @Down.D.Stairs.12 сағат бұрын

    omg yes i remember when i was like 7 i realized this and tried so hard to explain it to people but no one understood me and thought i was just being dumb but i stopped my count at 64 because i stated avoiding the middle just to be stubborn and prove nothing

  • @euanthompson
    @euanthompson13 сағат бұрын

    Was the mistake that the only way X can lose is to make a mistake, because playing top right is a stupid move and always loses you the game, when it is obvious that playing on the left means you draw.

  • @hawkbirdtree3660
    @hawkbirdtree366014 сағат бұрын

    “You’re a musician? What instrument do you play?” Python…

  • @shanefilan7226
    @shanefilan722617 сағат бұрын

    That's not actually all the possible games when you play center first. if your opponent plays in the corner, the best move surprisingly is to play the opposite corner. I can't believe you rule that out. This video is trash. Hope you count it again😑

  • @shanefilan7226
    @shanefilan722617 сағат бұрын

    It's surprising that you mess up a game that you called stupid

  • @atmansham
    @atmansham17 сағат бұрын

    1:53 “Since this is a music channel” Yeaaaa

  • @Pepesmall
    @Pepesmall19 сағат бұрын

    I remember someone showed me the cross strategy and from that point i realized it was possible to never lose by forcing your opponent's next move. It's a similar strategy to what Data does in the Star Trek episode "Peak Performance," where he can't beat a biological player when they are both playing to win, but gets him to rage quit by forcing a board state where winning is impossible, by playing moves that can only lead to a draw.

  • @seventythirst6027
    @seventythirst602720 сағат бұрын

    pretty sure the mistake is that the strongest move is not the middle square, its a corner square

  • @BsktImp
    @BsktImp20 сағат бұрын

    Interesting that you screen record to capture your animations. If I do that approach, instead of using pygame to output each frame which are then combined in a video editor, the quality is always disappointing.

  • @GammaFn.
    @GammaFn.19 сағат бұрын

    That highly depends on your recording software and how it's configured. I think Marc is using Gnome, and likely uses (Pipewire and) OBS for recording.

  • @marcevanstein
    @marcevanstein10 сағат бұрын

    Yeah, it's gnome and OBS. But also, I simplified a little: When I can I screen record because it does the audio and visual all at once. But there are times that I save frames instead, like when the drawing is slow and intricate.

  • @BsktImp
    @BsktImp9 сағат бұрын

    @@marcevanstein What settings would you typically use for screen recording (resolution, fps, bitrate, codec etc?)

  • @FlawlessCat3008
    @FlawlessCat300820 сағат бұрын

    im sorry but if youre good at tic tac toe,you should put the corner as your first move

  • @sammysuited
    @sammysuited21 сағат бұрын

    this is while because i use to always start in the corner when i was a kid. looking back on it i thought i was j dumb lol

  • @raffimolero64
    @raffimolero6421 сағат бұрын

    Spiral youtube shorts: Jaden Williams 30 Second Time Traveller.

  • @yubear420
    @yubear42023 сағат бұрын

    Trippy

  • @DouggieDinosaur
    @DouggieDinosaur23 сағат бұрын

    I love this video! I use JavaScript to play notes (MP3 files) and it sounds terrible 😅

  • @shaneofgames3825
    @shaneofgames382522 сағат бұрын

    Haha

  • @domergamer2257
    @domergamer2257Күн бұрын

    I am a huge fan Marc! ❤🎉

  • @kingrocky7519
    @kingrocky7519Күн бұрын

    Thank you, now I get to be that friend who knows wat more about Tic Tac Toe than any other reasonable person.

  • @acetaminophen8820
    @acetaminophen8820Күн бұрын

    if i'm running this on a live server (i use vscode), is there any way i can get the sheet music to show up on the same page rather than producing a pdf in another tab?

  • @Teape_a
    @Teape_aКүн бұрын

    Wait what?

  • @LivvieLynn
    @LivvieLynnКүн бұрын

    There is only 1 correct way to play tic tac toe. Don't.

  • @johanalden4637
    @johanalden4637Күн бұрын

    I KNEW IT!

  • @_blackmesa
    @_blackmesaКүн бұрын

    I woke up today not knowing anything about this, and ended up subscribing.. also, I NEED that python code. where do I get it?

  • @jeanpitre5789
    @jeanpitre5789Күн бұрын

    Tic-tac-toe is a solved game. That's to say that 2 decently proficient players will always end in a draw. So in a way, there is only ONE game of Tic-tac-toe, and the moves taken to get there are practically irrelevant.

  • @sunlight919
    @sunlight919Күн бұрын

    Somehow I don’t see anyone mentioning that when X plays center and O plays corner, X can still create a fork by playing in the opposite corner. It doesn’t appear like a good move at first because X isn’t threatening a win, but if O plays in any of the 4 edges, X can create a fork by playing in a corner. It also doesn’t initially appear like O has any benefit playing in one of the 2 available corners instead of the 2 adjacent edges because both can easily be counteracted and neither set up any other potential 3 in a rows. Example: O X X O OX X O OX X X (You get the rest) Ironically, O playing in one of the edges non-adjacent to its first corner is arguably better than the adjacent edges because the fork is less obvious to X. If X plays in the corner next to the O, then X won’t have a fork and O can tie the game.

  • @ghoqyew
    @ghoqyewКүн бұрын

    Winning Ways for Your Mathematical Plays contains a complete analysis of Tic-Tac-Toe, and from their analysis, here's an interesting strategy for X: Make a move at the center. If they respond with an edge move, you can win easily. If they respond with a corner move, then move in the opposite corner. Now you can create a fork unless they move in a corner.

  • @laundmo
    @laundmoКүн бұрын

    now do it with Ultimate Tic Tac Toe

  • @Gayasshomokid
    @GayasshomokidКүн бұрын

    this guy: 🤓 👆

  • @bradensorensen966
    @bradensorensen966Күн бұрын

    Duh

  • @DailyBookInsights
    @DailyBookInsightsКүн бұрын

    Ofcourse its going to be one game. Its symmetrical and has a simple rule.

  • @willadams5758
    @willadams57582 күн бұрын

    Only a fool takes the center square instead of a corner. It's easier to get an early fork and force a win

  • @LeeAnnC
    @LeeAnnC2 күн бұрын

    if anyone enjoyed this video and wants to see something like this but for chess, checkout "I Ran a Chess Programming Tournament, Here's How it Went!" by Sebastian Lague. It's a really good video detailing the many ways to create chess heuristics with a size limit, and he had them compete against each other to see the best algorithm. I highly recommend.

  • @michielvincent3988
    @michielvincent39882 күн бұрын

    They said he could be anything he wanted, so he became a tictactoetactician. ...that'll teach 'em, I guess.

  • @morejpeg
    @morejpeg2 күн бұрын

    I watched this four times, it's so good!

  • @Arkoostic
    @Arkoostic2 күн бұрын

    Fuck center plays, where are my corner boys at? Edit: just saw he confirmed it as the best play so…

  • @QueueWithACapitalQ
    @QueueWithACapitalQ2 күн бұрын

    The only winning move is not to play the game.

  • @0Ausgegrben
    @0Ausgegrben2 күн бұрын

    Only on multiplayer to avoid winning And making sure dad straight it a tie Every single time For the jokes

  • @Cactly
    @Cactly2 күн бұрын

    now do this with chess

  • @BigDickMcFlick
    @BigDickMcFlick2 күн бұрын

    The best game of Tic-Tac-Toe Is the game where you don't play Tic-Tac-Toe.

  • @maxwu2216
    @maxwu22162 күн бұрын

    Part 3: Maybe there are 0 games of Tic-Tac-Toe

  • @LorenzoBecker-qc9st
    @LorenzoBecker-qc9st2 күн бұрын

    3:40 Drake?!

  • @becausewin
    @becausewin2 күн бұрын

    in what fucking universe does x go first...?

  • @B1ackWolf
    @B1ackWolf2 күн бұрын

    ... in this one? Are you telling me you start with o?! You psychopath

  • @jha_shubham
    @jha_shubham2 күн бұрын

    there is only 2 games of tik tak. how?? X always play in center and it up to O to drow or loose by choosing where to play corner or middle. if its middle it will be a loss or if its a corner then it's drow. so only 2 games

  • @Nightshade-Aurora
    @Nightshade-Aurora2 күн бұрын

    There's a game called Otrio that's a 2D representation of 3D tic tac toe. It's played with 4 players.

  • @Robloxer113
    @Robloxer1132 күн бұрын

    Pretty cool video, though I knew that placing first move on corners is the best move. After some thinking and trying some games(without doing coding), I discovered that: 1) If your opponent is smart as you, you will always get tie 2) If you're smart and your opponent is mid, you will win and get tie sometimes. 3) If you're smart and your opponent is low, then you prob win. One of the best ways that I've found so far: 1 Game(You both smart): 1 Move: Place on corner 2 Move: opponent 3 Move: Place on opposite corner or protect from that move Next: Defense to get tie. 2 Game(Opponent: mid, you: smart): x-x -0- Here you can see, you won 0-x First and second moves were used to get multiple win paths. Other moves can get you to tie or lose Not the best explanation, but I tried my best to put all into 1 comment

  • @smugdodofart27
    @smugdodofart272 күн бұрын

    This might be the first video to lead me to a short, I love how you broke down the music and your process in an understandable way!

  • @Bloody882
    @Bloody8822 күн бұрын

    You can play it as many times as you want, if both think along and don't make a mistake it will always be a draw

  • @studiotake4
    @studiotake42 күн бұрын

    this was my childhood theory

  • @adityasoni9754
    @adityasoni97542 күн бұрын

    6:36 after this moment i realized this video was not proving me that there are 14 different games of tic tac toe but it was trying to tell me that tic tac toe is a fu*k*** stupid game