Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]

Author Topic: Roguelike with real AI?  (Read 3292 times)

§k

  • Bay Watcher
    • View Profile
Re: Roguelike with real AI?
« Reply #15 on: March 29, 2019, 05:36:31 am »

Quote
Cockroaches appear to use just two pieces of information to decide where to go, namely how dark it is and how many other cockroaches there are. A study used specially-scented roach-sized robots that appear to the roaches as real to demonstrate that once there are enough insects in a place to form a critical mass, the roaches accepted the collective decision on where to hide, even if this was an unusually light place.[39]

How they show intelligence with seemingly simple rules is very interesting.

I followed the python roguelike guide when I started to make my first game last month. I wonder if there is any easy to understand machine learning guide, or is it really rocket science that needs at least a college or online course?
Logged
All of them are wearing copper and Iron masks saying "in a time before time somebody attacked somebody"

Show undead posts since last visit.

Cathar

  • Bay Watcher
  • Competent Engraver
    • View Profile
    • My shit
Re: Roguelike with real AI?
« Reply #16 on: March 29, 2019, 05:52:48 am »


What would be the cost of letting a monster machine-learn some basic roguelike tricks from scratch, say, kiting, pillar dancing, retreating to corridor when being surrounded?

Well, I don't know, I just follow the professional starcraft scene (from afar) and Alphastar was a big event, especially because they anihilated the human players they were pitted against. 5-0 against two pro players.

I assume what you want to do would be harder than programming alphastar tho. Alphastar plays against itself ; protoss vs protoss in a symetrical map. Both players have access to the same ressources, which means you can train agents against each others.

If you want to train an agent to play against something that functions according to different rules (eg an rts agent vs a rpg player) you can only train the agent against human players, and not against itself. Human input becomes a necessary step in its training process, you can't just make a thousand tournaments every hours like they did for Alphastar.

Dorsidwarf

  • Bay Watcher
  • [INTERSTELLAR]
    • View Profile
Re: Roguelike with real AI?
« Reply #17 on: March 29, 2019, 06:56:57 am »

That kobold game is masterfully infuriating and not in the slightest bit fun. Really puts you in the headspace of the character too
Logged
Quote from: Rodney Ootkins
Everything is going to be alright

§k

  • Bay Watcher
    • View Profile
Re: Roguelike with real AI?
« Reply #18 on: March 29, 2019, 07:23:37 am »


I assume what you want to do would be harder than programming alphastar tho. Alphastar plays against itself ; protoss vs protoss in a symetrical map. Both players have access to the same ressources, which means you can train agents against each others.


I want to let the player be at the same power level as the majority of monsters. And I don't actually want the monsters to beat human, just want them to be moderately smart and somewhat unpredictable.

I hope that the scale would be reasonable for hobbyist developing.
Logged
All of them are wearing copper and Iron masks saying "in a time before time somebody attacked somebody"

Show undead posts since last visit.

§k

  • Bay Watcher
    • View Profile
Re: Roguelike with real AI?
« Reply #19 on: March 29, 2019, 07:30:09 am »

That kobold game is masterfully infuriating and not in the slightest bit fun. Really puts you in the headspace of the character too

At least it's fun for a while...

After finding out that I couldn't possibly defeat that legion of kobold in their tavern, I made a suicidal charge and ate their apples and sausages and crushed their squeaking baby kobolds, hahah...
Logged
All of them are wearing copper and Iron masks saying "in a time before time somebody attacked somebody"

Show undead posts since last visit.

Egan_BW

  • Bay Watcher
    • View Profile
Re: Roguelike with real AI?
« Reply #20 on: April 01, 2019, 11:12:28 am »

If you want to train an agent to play against something that functions according to different rules (eg an rts agent vs a rpg player) you can only train the agent against human players, and not against itself. Human input becomes a necessary step in its training process, you can't just make a thousand tournaments every hours like they did for Alphastar.

I see no reason why you couldn't make a separate "player-character" AI in addition to your "monster" AI and have them train on each other. It would take more work to set up, but wouldn't train any slower than an AI that trains against another version of itself.

As a side effect, you now have AIs able to take on either role, meaning that the human player can take either role as well.

The main problem I see with applying this kind of AI to games is really the fact that you probably want to have several of them running at once on a single computer, which is going to be just someone's PC, not some kind of supercomputer. It's going to be hard on the CPU.
Logged
I would starve tomorrow if I could eat the world today.

Starver

  • Bay Watcher
    • View Profile
Re: Roguelike with real AI?
« Reply #21 on: April 01, 2019, 05:40:03 pm »

with select 'roaches given player-like abilities to use and exhibit,
(Exactly how well you could do that might vary. Train your' PC AIs to be the best they can against the NPCs, simultaneously, of course, but hope you don't end up with an Pink vs Orange AI arms race where you're trying to get a Red vs Blue one, with totally unNPC and unPC-like behaviours. Though that might just produce your breakthrough game-concept that takes the world by storm, like infinitely varied Candy Crush levels in a world previously looking for Grand Theft Auto scensrios.)
« Last Edit: April 01, 2019, 05:44:57 pm by Starver »
Logged
Pages: 1 [2]