The chess bot on Delta Air Lines will destroy you (2024) [video]
133 points
4 hours ago
| 15 comments
| youtube.com
| HN
woopwoop
3 hours ago
[-]
Last time I flew Delta they no longer had this bot, which made me sad. One of my favorite parts of flying was getting absolutely crushed into a tiny cube by the airplane seat's easy chess bot, and then again by the airplane seat itself when the person in front of me reclines their seat.
reply
mrandish
1 hour ago
[-]
> then again by the airplane seat itself when the person in front of me reclines their seat.

This reminds me of the time I had my laptop open on the tilt-down tray and the very large man in the seat in front just repositioned his girth (not even reclining the seat) but it flexed the seat back enough that my laptop screen was momentarily caught between the tray below and recessed lip above and was almost crushed.

reply
sejje
1 hour ago
[-]
Gorilla glass vs gorilla
reply
neal_jones
47 minutes ago
[-]
Opened a laptop on my last flight and this was my immediate and persistent fear
reply
bink
1 hour ago
[-]
I swear this happens to me almost every time I fly.
reply
jack_pp
1 hour ago
[-]
now you know to check who's sitting in front of you. rookie mistake
reply
johnyzee
2 hours ago
[-]
The only winning move is not to play.
reply
lapetitejort
2 hours ago
[-]
How about a nice trip on a train?
reply
shermantanktop
2 hours ago
[-]
Depends. How’s the Amtrak chess bot?
reply
bink
1 hour ago
[-]
Underfunded and constantly side-tracked by cargo bots.
reply
dyauspitr
2 hours ago
[-]
I don’t have 5 days to travel across the country.
reply
farialima
1 hour ago
[-]
- it’s 3 days not 5 (e.g leaving NYC Wednesday morning arriving SF Saturday evening)

- the internet connection is excellent (even in most tunnels) so you can work, have video meetings, etc, not to mention play chess online

reply
squeaky-clean
1 hour ago
[-]
That's 4 days traveling. Wednesday Thursday Friday Saturday. Arriving in the evening doesn't mean you didn't spend that day traveling.
reply
esseph
5 minutes ago
[-]
[delayed]
reply
dyauspitr
1 hour ago
[-]
Let’s be realistic. I love long distance train journeys, but mainly for recreation. Being on a train for 3-5 days is pretty exhausting no matter how comfortable. I’ve done the 30 day Amtrak pass before and it was fantastic but I wouldn’t be looking forward to that if it was a work trip where I want to fly in and then get back to my family as fast as possible. There’s no way that can compare to a 5-6 hour flight+2 hours at the airport.
reply
CursedSilicon
37 minutes ago
[-]
I was rather disappointed by the internet connection on the Cascades line (going Seattle --> Portland and back). As far as I could tell, they use T-Mobile for backhaul. Who are headquartered in Seattle. Yet the connection barely seemed to work for about half of the journey
reply
mattnewton
1 hour ago
[-]
This wouldn’t bother me as much but it’s really like 5-7 days depending on freight use of the lines and they can’t tell you ahead of time what it’s going to be somehow?
reply
dostick
1 hour ago
[-]
Why not trei a holiday in Sweden this yër? See the loveli lakes.
reply
nimih
1 hour ago
[-]
Skill issue, imo.
reply
nimski
3 hours ago
[-]
bravo
reply
markgall
3 hours ago
[-]
Is this really true? I played a few games with it in August. It's not very good.

It's one of those old programs where 95% of the moves are pretty strong. But if you just do nothing and sit back it will occasionally make a random blunder and then you grind it out. I figured it's how they were able to weaken a chess engine back in the day; can't adjust the overall strength, so add random blunders.

I'm only about 2000 on lichess but I beat it pretty much every time, especially once I realized there is no reason to try anything sharp.

reply
strstr
3 hours ago
[-]
My suspicion is that the bot was a fairly standard chess bot, but the difficulties were set based on computation time. As airplane computers got better, it turned into a beast.

As a result, if you tried this on older planes, it might have been “easier”

reply
monster_truck
12 minutes ago
[-]
One of my first paid iOS dev jobs was porting a Go game from iPad to iPhone, don't even think the 4 was out yet. It also used computation time based difficulties. By the time I was done writing it, I knew a few tricks I could eke a win out with on 19x19.

When the iPhone 5S came out, I tried it on a whim to check the UI scaling etc... the beginner difficulty on a 9x9 board deleted me. It was grabbing something like 64x more samples per go, the lowest difficulty on the 5S (instant responses) never lost a single game vs the highest difficulty 3GS (15 second turns)

iPhones had a lot of moments like that. Silly bullshit like "what if every pixel was a cell in a collection view" would go from "oh it can barely do 128" to "more responsive than that was, with 2 million" in a few gens.

reply
throwaway6977
3 hours ago
[-]
Chess on M series Macs has the same issue. Even level 1 is easily 2000+ Elo because of the same thing.
reply
microtherion
28 minutes ago
[-]
Oh, this led me down a rabbit hole…

I was maintainer of the Chess app from the early 2000s to about 2015. We first noticed in 2004 that level 1 (which was then "Computer thinks for 1 second per move) was getting stronger with each hardware generation (and in fact stronger than myself).

So we introduced 3 new levels, with the Computer thinking 1, 2, or 3 moves ahead. This solved the problem of the engine getting stronger (though the jump from "3 moves ahead" to "1 second" got worse and worse).

A few years after I had handed off the project, somebody decided to meddle with the level setting code (I was not privy to that decision). The time based levels were entirely replaced with depth based levels (which eliminates the strength inflation problem, but unfortunately was not accompanied by UI changes). But for some reason, parsing of the depth setting was broken as well, so the engine now always plays at depth 40 (stronger than ever).

This should be an easy fix, if Apple gets around to make it (Chess was always a side project for the maintainers). I filed feedback report 21609379.

It seems that somebody else had already discovered this and fixed it in a fork of the open source project: https://github.com/aglee/Chess/commit/dfb16b3f32e5a6633d2119...

reply
hinkley
2 hours ago
[-]
I found a used copy of Warcraft 3 at the store about ten years after it came out, proudly brought it home, fired it up and didn’t recall the graphics being quite that awful, but the first time I tried to scroll the map sideways it shot to the far end because they didn’t build a timing loop onto the animation and I shut it down, disappointed.

Unfortunately they never released a remastered version of it. They seem to have made some clone of it called “reforged” whatever the fuck that means.

reply
jasonwatkinspdx
2 hours ago
[-]
Yeah, Reforged was received very poorly so they basically end of life'd the franchise.

There is a thriving community with a couple different choices for servers to play on. So I'm sure there's a fix for your mouse speed issue.

Check Twitch for people streaming it: https://www.twitch.tv/directory/category/warcraft-iii

Grubby, one of the early esports stars, still streams it regularly and hosts his own for fun tournaments with other streamers.

reply
SOLAR_FIELDS
52 minutes ago
[-]
Reforged was received poorly because it was a lazy half assed job that was a blatant cash grab. Not because culturally we have moved on and the game has aged beyond being fun

You probably knew this, but wanted to make sure others knew that the reason they ended the franchise is not because there was no market, but instead it was pure unadulterated greed that led to that situation. In an alternate reality they would have actually done the remake justice and there would be a lively competitive scene

reply
pixelpoet
21 minutes ago
[-]
Sorry for the aside but,

> SOLAR_FIELDS

Panoramic Greetings!

reply
bombcar
2 hours ago
[-]
There are various hacks and tools for games (especially DOS games, but for W3 there may exist the same) which delayloop various calls to slow things down enough "to work".

The Dolphin emulator has run into similar things; usually doing things "too fast" just gets you more FPS but sometimes it causes the game to go insane.

reply
droptablemain
1 hour ago
[-]
This is pretty much the experience of trying to play any game from the '90s on modern hardware. It always requires a bit of tinkering and usually a patch from the modding community. Funniest one I've found is Fallout Tactics. The random encounter frequency is somehow tied to clock speed so you'll basically get hit with random encounters during map travel about once every half second.
reply
usefulcat
1 hour ago
[-]
I've been enjoying Total Annihilation since 1997. Still works fine on fairly modern hardware with Windows 11. No modifications other than some additional maps that I downloaded decades ago.
reply
afandian
43 minutes ago
[-]
I think it means gcc -O0
reply
psunavy03
1 hour ago
[-]
The original Wing Commander was like that. Playable on 286s/386s, then Pentiums and beyond showed up and it was unplayable. The game started in the "simulator" to show you the controls, and you'd get blown out of space in about 0.5 seconds.
reply
Terr_
59 minutes ago
[-]
Oh man, I remember that: on a newer computer, I'd tap the left arrow to turn and the Hornet would do a 360.

I suppose, technically, that's one way to make the Scimitar feel more responsive...

reply
monster_truck
9 minutes ago
[-]
AFAIK the only reason Chess even ships at all anymore is as a burn utility. They'll set it to AI vs AI at max difficulty to stress the system and make sure the cooling/power management works.
reply
microtherion
5 minutes ago
[-]
Never heard that one (it may indeed be used that way, but if it were the only reason Apple would probably keep it in the Apple internal parts of their OS installs).

It would also be of limited use, as the engine is purely CPU based; it is single threaded and does not even use SIMD AFAIK, let alone GPU features or the neural engines.

reply
Uehreka
25 minutes ago
[-]
> I figured it's how they were able to weaken a chess engine back in the day; can't adjust the overall strength, so add random blunders.

In tom7’s Elo World, he does this (“dilutes” strong Chess AIs with a certain percentage of random moves) to smooth the gradient since otherwise it would be impossible to evaluate his terrible chess bots against something like Stockfish since they’d just lose every time. https://youtu.be/DpXy041BIlA?si=z7g1a_TX_QoPYN9b

reply
lurk2
24 minutes ago
[-]
> I'm only about 2000 on lichess

That puts you in the top 7% of players on the site. I have a hard time believing you could get to that rating without knowing that.

reply
sbrother
3 hours ago
[-]
1. Uh, isn't 2000 like extremely fucking good?

2. I played a chess bot on Delta on easy and it was really bad, felt like random moves. I beat it trivially and I am actually bad at chess, ~1000 on chess.com. I wonder if this one is different?

reply
NewsaHackO
2 hours ago
[-]
Yeah, he just casually said he had an elo that high, as if that doesn't blow 90% of people out of the water.
reply
umanwizard
2 hours ago
[-]
Note that 2000 on lichess is probably weaker than 2000 on chess.com (or USCF or FIDE)
reply
dmuino
2 hours ago
[-]
That's true, I'm 2050-2100 lichess, around 1800 on chess.com. Never played a rated tournament but played some rated players who were 1400-1500 rated USCF, and they were roughly my strength, maybe a bit better. Still the Delta bot, easy mode, was much, much better than me.
reply
fragmede
42 minutes ago
[-]
Casually just in the top 2-3 percent of chess players globally world wide humble brag. I'm not that good at it, just a little bit!
reply
citrus1330
42 minutes ago
[-]
It's still significantly stronger than the average online chess player
reply
AnotherGoodName
3 hours ago
[-]
I wonder if they gave the chess bot X seconds of thinking time in an era when computers were slower?

The way you set difficulty for turn based game ai is that you limit how far ahead the algorithm searches. If you set the lookahead based on compute time your difficulties will be way out of line if someone upgrades the CPU.

reply
Telemakhos
3 hours ago
[-]
Something similar happened to the macOS chess game, which has always been bundled with OSX/macOS. Once upon a time it was easy to beat in easy mode, which restricted how long it could thing in advance.

When Big Sur rolled out around 2020, Apple introduced a bug which disabled the difficulty slider: no matter what it was set to, it was hard or impossible to beat. In macOS Sequoia, the Chess app got updated again, and supposedly they fixed the difficulty slider, but in the interval silicon improved so much that the old restraints (like think for only a second) mean little. The lowest levels play like a grand master.

reply
microtherion
15 minutes ago
[-]
Heh, I was just discussing this some minutes ago: https://news.ycombinator.com/item?id=46595777
reply
mh2266
1 hour ago
[-]
is there some reason to implement it as a time limit instead of iterations or something else deterministic? it being affected by CPU speed or machine load seems obvious.

or whatever makes sense if “iterations” isn’t a thing, I know nothing about chess algorithms

reply
microtherion
9 minutes ago
[-]
A time limit is also deterministic in some sense. Level settings used to be mainly time based, because computers at lower settings were no serious competition to decent players, but you don't necessarily want to wait for 30 seconds each move, so there were more casual and more serious levels.

Limiting the search depth is much more deterministic. At lower levels, it has hilarious results, and is pretty good at emulating beginning players (who know the rules, but have a limited skill of calculating moves ahead).

One problem with fixed search depth is that I think most good engines prefer to use dynamic search depth (where they sense that some positions need to be searched a bit deeper to reach a quiescent point), so they will be handicapped with a fix depth.

reply
twoodfin
1 hour ago
[-]
It’s simpler. Chess is a search through the space of possible moves, looking for a move that’s estimated to be better than the best move you’ve seen so far.

The search is by depth of further moves, and “better” is a function of heuristics (explicit or learned) on the resulting board positions, because most of the time you can’t be sure a move will inevitably result in a win or a loss.

So any particular move evaluation might take more or less time before the algorithm gives up on it—or chooses it as the new winner. To throw a consistent amount of compute at each move, the simple thing to do is give the engine consistent amounts of time per move.

reply
Nition
28 minutes ago
[-]
Alternatively, since there's only one difficulty provided ("easy"), I wondered if the programmer have selected say, DifficultyLevels array index 0 meaning the easiest, but it was actually sorted hardest first.
reply
gowld
3 hours ago
[-]
reply
Sohcahtoa82
6 minutes ago
[-]
Naming it the "Turbo" button rather than making "turbo mode" the default and then pressing a button for "slow" mode, IMO, was marketing genius, even though the results are the same.

Blizzard did a similar thing in World of Warcraft during the beta. After playing for a while, your character would get "exhausted" and start earning half experience for killing mobs. The only way to stop being exhausted would be to log off or spend a LONG time in an inn. At some point, they flipped the script. They made the "exhausted" state the default, and while offline or in an inn, you would gain a "rested" experience buffer, where you would earn double experience.

The mechanic worked exactly the same, but by giving it different terms, players felt rewarded for stepping away from the game occasionally, rather than punished for playing too long. They also marketed it as a way of giving players a way to "catch up" after spending a day or two offline.

reply
tmathmeyer
3 hours ago
[-]
Not only is the delta chessbot bad (My low 1600s lichess-elo self can win handily every single time against any difficulty, white or black), but there's also a sequence of moves I found which deterministically causes the game to crash. I should probably record it next time I'm on a flight.
reply
dmuino
2 hours ago
[-]
I'm 2100 rapid on lichess, 2050 blitz and bullet. I got destroyed every single time I played the easy mode version on Delta. It knew opening theory. It did not blunder a single time in the middle game. I never made it to an end game.
reply
mvkel
3 hours ago
[-]
There's only one difficulty setting
reply
conartist6
3 hours ago
[-]
There used to be a chess program in windows 3.1 that would destroy me every time. Not that I was very good, of course! But I think if you just code the known opening books it's not too hard to make a bot that requires a skilled player to beat.
reply
tromp
2 hours ago
[-]
Sometimes the airlines chess app gives you the option to play another passenger, but even after waiting for half an hour I've never been hooked up with another player. Has anyone else been able to?
reply
chrisfosterelli
1 hour ago
[-]
Yes, as someone who is usually flying with my GF, I love this feature! Unfortunately air canada's implementation is abysmal and anytime there is a pilot announcement it interrupts the game long enough to break the network connection and cause it to end the game.
reply
tantalor
1 hour ago
[-]
The best part about this is sneaking a look at your opponents screen if you are lucky enough to sit behind them.
reply
cheeze
1 hour ago
[-]
Does this... help with chess?
reply
Nition
27 minutes ago
[-]
I think that might have been the joke.
reply
fragmede
41 minutes ago
[-]
you can see the possible moves they're thinking of making
reply
nightpool
1 hour ago
[-]
It only works with passengers on your same flight. In practice, it's good for kids in the same family or school group who are sitting across the aisle from each other. I've used it for some of their other games
reply
acomjean
1 hour ago
[-]
one flight I was on had trivia which allowed multiplayer. We ended up with about 10 playing the game. I thought it was a good idea for a networked computer and captive audience.
reply
bdamm
1 hour ago
[-]
Some day we might fly on the same airplane!
reply
s3p
3 hours ago
[-]
I am so glad this made first page news on HN!!

Years ago I remember flying with Delta and wondering why the delta bot could beat me in a handful of moves on EASY. Absolutely insane.

reply
ccamrobertson
2 hours ago
[-]
United sadly removed games from its in-flight entertainment so I can no longer trounce 6 year old Magnus.
reply
JALTU
4 hours ago
[-]
On the other hand, the poker apps encourage me to consider a career change. I regularly crush the "opposition" with my card-counting skills. World Series of Poker, I am all-in!!! ;-)
reply
LtdJorge
24 minutes ago
[-]
Do you mean Blackjack?
reply
stevage
56 minutes ago
[-]
Card counting in poker?
reply
brewdad
29 minutes ago
[-]
Gotta keep track of how many more cards you get in seven card stud.
reply
efitz
1 hour ago
[-]
Someday a delta engineer will go fix the UI bug where the labels for the difficulty levels were inverted in order compared to the enums used by the chess engine.
reply
hk1337
2 hours ago
[-]
I had similar experiences playing the computer in Tzar: Burden of the Crown. It’s not chess but it is a strategy game.

https://en.wikipedia.org/wiki/Tzar%3A_The_Burden_of_the_Crow...

reply
specproc
3 hours ago
[-]
I used to fly a lot of Turkish, and their one's laughably bad. If anyone here works for Turkish Airlines, get yourself a better Chess bot.
reply
tomjakubowski
1 hour ago
[-]
Don't be surprised when you learn their so-called "chess bots" are actually people, lying hidden below the floor of the passenger cabin, moving pieces with the help of levers and magnets.
reply
anematode
27 minutes ago
[-]
Sounds like a potential Amazon product.
reply
gip
2 hours ago
[-]
I played the bot (probably early 2025) and wasn't that impressed. I won 5-1 or something like it. I did win one or two local chess tournaments in the past but I'm really not an impressive chess player.
reply
shen
2 hours ago
[-]
The Air Canada bot is too easy on medium but hard is unplayable because the computer is too slow at making each move.
reply
lspears
3 hours ago
[-]
This is great
reply