57

Real university assignment:

"Write an AI to win this 2player game, restrictions: you cannot save to a file and every turn is a new run of the program."

And then people ask me why do i keep saying university is useless.

Comments
  • 5
    This sounds nothing like my university, but unfortunate to hear you've had bad experiences!
  • 2
    @coolq honestly i enjoy most of the classes but sometimes we get these dimwit teachers who i dont think have written a single line of code in their lives
  • 1
    @BindView
    That sounds bad, have you told your University about this? Although then again... It is easier for you if they know nothing...
  • 2
    Sounds like a python problem😅
  • 1
  • 1
    @BindView write an Ai... It's hardwired into my brain that Ai -> python
  • 1
    @meretan my eyes 😵
  • 5
    @meretan oh yes i forgot that tge vest possible way to write an ai is a slow, runtime interpreted language, my bad
  • 2
    @BindView for machine learning (ai) proposes, Python is extremely widespred🤔
  • 4
    @meretan widespread is because every maths major is a dumb piece of shit and cant learn c++

    Good is because it runs well and doesnt fuCKING BLOCK IO
  • 2
    @BindView don't forget all the premade libraries that exist for python. 😃
  • 2
    @meretan ya aint really putting up much of a conversation
  • 1
    @BindView im at university so my time is limited 😅
  • 1
    Take a child for example

    How is a child whose memory is completely erased every day supposed to learn something.

    I really hope that I will get competent teachers at university
  • 0
    @SoulSkrix ye i minimaxed with an aplha beta cut
  • 3
    Can't save to a file?
    Save to Redis.
  • 0
    Self modifying code perhaps? You run the program, it isn't loading data, so that should be OK, right?
  • 4
    I fail to see the problem.

    If course you can save to a file while developing or while training your Neural net.

    It just means that your program should not keep past states. And instead just play based on what it sees in that moment.

    Basically they want you to code a smart series of if else that calculate each move.
  • 1
    Yeah, in this case you are just writing a bit to play the game. It doesn't need to learn, it just needs to have enough logic in there to make it play the game.
  • 0
    They just want a minimax, is that too much for you? :P
  • 1
    @rangler i just want to not use a minimax in the last year where we are supposed to study higher concepts
  • 0
    @BindView oh, that sucks. I thought you were in second year because of the limitation :P
  • 0
    If you have time to spare why not show the teacher how a stupid assignment can be solved nicely? What about a ram storage as a server, your program save his state in the storage at each run it fetch his state to do better. You are not saving to a file, each run is a new run. Uh? Doable?
  • 3
    @donnico little do they know you can actually save to jvm memory addresses if the gc doesnt get reinitialized

    So i called the enemy player, looked at its output and countered it :)
  • 2
    @BindView Yeah, because writing AIs which run on the GPU anyways from scratch in C is worth the 30x bigger time investment...
  • -1
    @theCalcaholic i bet your penis is tiny
  • 1
    @BindView Sure. 🙄
Add Comment