• 0 Posts
  • 30 Comments
Joined 9 months ago
cake
Cake day: May 29th, 2025

help-circle
  • Hi. The game doesn’t work for me on mobile sadly so I can’t offer any specific suggestions but in general I suggest you have two options…

    The basic approach is to write some rules/ heuristics for your AI player (e.g. start with move X, if player does X then do Y, if condition X then do Y). You can probably distil some basics from your own strategy.

    An advanced approach is to train a model using e.g. reinforcement learning to figure out it’s own policy of which actions to take given the game state. You can use a library like stable baselines for this. You may be lucky though to train your agents by pitching them against one another or you might have to teach them e.g. with the rules-based agent or by having them learn from human-vs-human games.









  • Reinforcement learning involves a reward signal (e.g. a score in a game) which I don’t think is present here.

    Diffusion models, as you’ve also mentioned, seem a better metaphor. These try to generate a structured image (e.g. matching a prompt) from noise. Perhaps your visual cortex is just trying to make sense of random sensory input while your eyes are closed.

    It’s also interesting to think about dreaming in terms of the more general set of representation learning techniques. As I understand it you’re trying to process the day’s experiences and reflect on past memories - sifting through and deciding what to retain and what to forget - essentially mental filing.

    You may be interested in Deep dream. This is a program that runs an e.g. convolutional neural network in reverse. Instead of adjusting it’s belief about whether an image should be classified as a dog or not it adjusts a given input image so that it looks more and more like a dog. The results are pretty psychedelic!