btsherratt,
@btsherratt@mastodon.gamedev.place avatar

So I tried writing this AI with two differing approaches to playing the game:

🧠 The first one tried to evaluate the board and compare moves to each other, playing more how a human might do.

♟️ The second was a super simple weighted board, increasing/decreasing values for each space depending on what was next to them and then just choosing the space with the highest weight.

The second (much simpler) version works a lot better and doesn't get stuck anywhere near as much as the first. 😂

btsherratt,
@btsherratt@mastodon.gamedev.place avatar

In all seriousness, I've now left it playing by itself for 1-2 hours and it's not managed to get itself into a situation where it's stuck and that's all I ever wanted in a video game AI... 🤩

wrench,
@wrench@wandering.shop avatar

@btsherratt How much humans use simple heuristics like that when playing is very underrated!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • mdbf
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • InstantRegret
  • tacticalgear
  • provamag3
  • ethstaker
  • cisconetworking
  • modclub
  • tester
  • GTA5RPClips
  • cubers
  • everett
  • normalnudes
  • megavids
  • Leos
  • anitta
  • JUstTest
  • lostlight
  • All magazines