Archive for the ‘Chess’ Category

How to set up the Stockfish chess engine to improve your skills – Neowin

Last year, Netflix aired the mini-series The Queens Gambit which follows the chess adventures of the orphan, Beth Harmon. The release of the show saw viewers flock to chess websites and a general increased interest in the game. If youve decided to start playing on sites like Chess.com or Lichess.org youll likely have been improving your play but the further you climb the tougher it will get, and this is where practising with the best open source chess engine, Stockfish, could come in handy.

At the start of this month, the team behind Stockfish released version 14 for anyone to download. This version of Stockfish has a rating 338 Elo points ahead of Stockfish 8 which famously lost against Alphabets AlphaZero. The boost in its rating largely came from the inclusion of an Efficiently Epdatable Neural Network (NNUE) and its subsequent refining with help from the team behind the LCZero chess engine team. According to CEGT, Stockfish 14 is about 700 Elo points ahead of the current Chess champ, Magnus Carlsen.

To become any good at chess, youll need to become familiar with common patterns and learn to respond to them accurately. Chess engines such as Stockfish can calculate moves with significant depth making them handy for figuring out the best responses to your opponents moves. Of course, you shouldnt use engines when playing live games but memorising moves it suggests is completely fine.

In this guide, Ill be looking specifically at running Stockfish in a program called PyChess which is only available for Windows and Linux but if youre on other platforms there is a dedicated Stockfish Mac App and an iOS app called SmallFish where you can practice with the engine. For those on Android, you should install the DroidFish Chess app and StockFish Engines OEX. The latter app will make Stockfish 12, 13, and 14 available in DroidFish under Manage Chess Engines.

The first thing youll want to do is download and install PyChess which will provide the main interface youll interact with when you play games. On the projects download page, head down to the package list and find the msi package if youre on Windows or follow the instructions for your Linux distribution. Once youve downloaded and installed PyChess you should open the program and close any pop-ups that appear. You may also be informed that a new version of the program is available from the projects GitHub, its entirely up to you if you want to install it or not.

Now that you have the program which can handle the Stockfish engine, youll need to go to the StockFish website and get the latest version. PyChess may already have a version of Stockfish pre-bundled but it isnt the latest version of the engine. To get Stockfish 14, go to the download page and select the version you think will run best on your system, if in doubt, get the most compatible binary.

Once youve finished the download, you will have a zip folder in your downloads folder, right-click it and press Extract All. After the files are extracted, youre ready to load Stockfish into PyChess. In PyChess, simply press the Edit button in the menu and then go to Engines. In the box that appears, you should see a button that allows you to add new engines, press that and direct it to the Stockfish executable in the extracted folder.

Now that Stockfish 14 is installed in PyChess, you will want to make it your default analyser. Press Edit in the menu again and open Preferences, then go to the Hints tab and under the Analysing header, check the use analyser option and pick Stockfish 14 from the dropdown, you can also do this for your opponents analyser.

To put this analyser to work, press Game in the menu, then New Game and then choose one of the options. Under players, select Human Being and pick a rival and start the game. Press View in the menu and select Hint arrow, this will allow the Stockfish analyser to point out the best moves for you to make. Enabling the Spy arrow will display your opponent's best moves.

If youve played a game on a website like Chess.com, its possible to download a PGN file of the games youve played in the past. If you press Game in the PyChess menu, select new game and then load a game from notation, you can view your game move by move and see Stockfishs recommendations with the hint arrows. Once youve analysed your own games, using a chess engine to further help find the best moves will help you the next time youre in a similar position.

When you were choosing the game participants in the last part of the guide, you might have noticed that you can make both players computer-operated, allowing different engines to play against each other. This can be useful if you want to see how the newest Stockfish version performs against older versions, or if you want to try out one engine brand against another. There are lots of chess engines out there but some that are freely available are Komodo and LCZero.

While selecting which engines you want to battle each other, also notice that there is a power bar underneath. If you want the engine to play at its full potential, be sure to rack it up to 20. If you want to play against any of the engines, feel free to lower this level so that you have an easier time playing against the computer.

While having the latest Stockfish engine set up is invaluable for developing in chess, the PyChess program also includes other useful features for helping you improve. In PyChess 1.0 and above, be sure to look at the category section in the lower right of the home screen, this contains lots of lectures, lessons, puzzles, and endgames. Having all these items compiled in one place will definitely expedite your chess improvement!

Once youre ready to play real people check out websites like Chess.com and Lichess.org where you will be given a rating based on your wins, losses or draws to help you track how much youre improving. Your constantly adjusted rating on these websites will ensure you play people of your skill level, so dont worry if youre not a good player yet.

See more here:
How to set up the Stockfish chess engine to improve your skills - Neowin

Chess: Viswanathan Anand Draws With Vladimir Kramnik In 2nd Game Of No-Castling Event – Outlook India

Former world champion Viswanathan Anand played out a draw against Russian Grandmaster Vladimir Kramnik in the second game of their four-game match for the Sparkassen Trophy in Dortmund on Thursday. (More Sports News)

The Indian maestro played out a 39-move draw in an English Four Knights variation game with black pieces.He is ahead 1.5-0.5 after Thursday's match.

Earlier in the first game, playing with white pieces, Anand needed 66 moves to beat Kramnik late on Wednesday.

The match is played as part of the "No-Castling" Chess devised by the Russian GM.

Castling is not allowed in this format in an effort to make the game more interesting.

Castling is a special move to protect the king and activate the rook?. It's the only time in chess a player can move two pieces in one move.

The Indian maestro will take on Kramnik, also a former world champion, in the second game on Thursday night.

Anand had returned to over-the-board action in the Croatia Grand Chess Tour tournament in Zagreb last week.

He finished second overall (Rapid and Blitz combined) in that event.

The rest is here:
Chess: Viswanathan Anand Draws With Vladimir Kramnik In 2nd Game Of No-Castling Event - Outlook India

Chess Played Quick Bullet Edition: All The Information – Chess.com

Chess Played Quick is Chess.com's series of monthly events where top chess streamers do live speed runs using one of Chess.com's features.

This month's event, Chess Played Quick Bullet Edition, starts on June 28 at 10 a.m. PT/19:00 CEST. During 3 hours and 20 minutes, streamers will do their best to collect as many bounties as possible. With an open and a U2000 section, the event will feature prizes for the three highest-rated players in each section. Four main bounties and three hidden bounties complete the set of challenges that make up the $12,000 total prize fund.

We will broadcast the entire event on Chess.com/TV and on our Twitch and YouTube channels. During the event, Aranhawaii will provide commentary and highlight different streamers.

Chess Played Quick Bullet Edition features a total prize fund of $12,000, distributed according to the participant's final bullet rating and bounties described below:

Open Prizes

U2000 Prizes

We will announce the hidden bounties 20 minutes before the hour (00:40, 01:40, 02:40 elapsed time). Streamers will have 20 minutes to complete each hidden bounty.

Open Bounties

U2000 Bounties

The event starts on June 28 at 10 a.m. PT/19:00 CEST. We will announce the hidden bounties on our official broadcast 20 minutes before the hour (00:40, 01:40, 02:40 elapsed time).

We will publish the results of the event here.

To participate in the event, fill out the official application form below. Please note that you have to play at least 25 bullet games with your new account before applying. Applications close 48 hours before the event:

Visit link:
Chess Played Quick Bullet Edition: All The Information - Chess.com

The Londoner Inviting a Guy Over to Play Chess – The Cut

New Yorks Sex Diaries series asks anonymous city dwellers to record a week in their sex lives with comic, tragic, often sexy, and always revealing results.

Photo-Illustration: James Gallagher

This week, a woman who spends her birthday week sleeping with an ex and adding a new guy to the rotation: 25, single, London.

DAY ONE

11 a.m. I wake up later than Id like to because my sleep routine is in ruins. Ive been averaging a bedtime of 3 a.m. and honestly I dont even have an excuse (other than being a freelance writer, which allows me to set my own schedule). I scroll through Twitter, send my friends some funny tweets, then make myself a coffee.

3 p.m. I text my favorite ex to confirm our catch-up this evening. This will be the first time Ive seen him in a year, although we have sporadically sexted. I recently got out of a chaotic fling with a graffiti artist that lasted four exhausting months and ended with him blocking me on everything except my Finsta. Tonight, Im ready for some familiar, no-strings-attached fun.

7 p.m. I am sat opposite Favorite Ex at his local pub in South London, having taken a 40-minute Uber for the occasion. Hes the funniest person Ive dated, which is evidenced by my fits of laughter that cause the tables next to us to glance over looking increasingly pissed off. Im a few gins down so I dont care. If anything, it only spurs me on.

8 p.m. We tuck into an unsexy feast of nachos loaded with guacamole and a mountain of fried chicken as we continue to catch up. He tells me about his job as a cryptocurrency journalist and recruits me to join his crypto app. I say it sounds like a pyramid scheme but fine, Im horny enough to download it. I update him about my freelance writing and occasional antiques-dealing as I shovel more nachos into my mouth.

11 p.m. After rushing out of the pub, horny Favorite Ex and I are in the elevator of his apartment building. Im pushed up against the wall and were making out while he grabs my ass. He takes me by the hand and leads me into his bedroom, stopping briefly to explain how the layout has changed since I last came round. Pushing me against the wall he pulls my trousers down and whispers I forgot how soft your skin is. We fuck against the wall.

12 a.m. Favorite Ex brings us cups of herbal tea to bed and puts Jaws on the TV. Weve no interest in being romantic; this is a relationship that ended two years ago in a pretty amicable way. Most of my relationships do. As the sleepy herbal tea starts to kick in, we have gentle missionary sex before falling asleep to the sound of a shark attack.

DAY TWO

11 a.m. Favorite Ex and I continue the feasting at breakfast, this time opting for a fry-up at a caf down the road. Somehow theres no hangover; I put it down to the herbal tea he made me last night. We finish our coffee, he walks me to the bus stop and we go for a friendly hug. Well do this again sometime, probably in another year, I say, then embark on the long ride home.

4 p.m. My friend Christina calls to confirm our dinner plans this evening. Shes a self-confessed serial Hinge dater and for the past month things have been going well with a new guy. She asks if he can join us for dessert so I can meet him, because she trusts my judgment.

10 p.m. Christina and I are deep into a few bottles of red at dinner when her new guy arrives, sober and a little shy. Thankfully I am a very friendly drunk and immediately set out to get to know him. I admire how excited and giddy she is to see him and try to think back to when I last had that feeling. I havent dated somebody new in forever and suddenly it dawns on me that Ive just been recycling exes.

12 a.m. Ed, a sweet and very successful guy I dated briefly in 2019, texts me to say hes staying in a nearby hotel and invites me to join. Its a really nice hotel, but hes also drunk as hell and Im ready to call it a night. Christina and her new beau call an Uber together, and I get in one to go home alone.

12:30 a.m. Now that Im home, a wine-induced wave of neediness comes over me. At this point I dont even want sex; just some physical affection, and theres one person on my mind. Graffiti Guy and I ended badly, but weve been speaking most days on my Finsta reminiscing about the occasional good times (weve actually dated on and off for three years) and sexting more often than we should. I remember he has now unblocked my number so I call and he picks up. He says that he is sober and can tell that Im drunk, so coming over isnt a good idea. He is definitely right.

DAY THREE

9 a.m. I wake up and send Graffiti Guy a text apologizing for the drunken phone call. He says not to worry, he did the same thing to me last week. I vow never to do it again but know that I probably will.

1 p.m. I chat with the one new guy on my radar over Instagram. Hes attractive, hes lovely, but unfortunately he lives in Norway. He sends me videos of his lake house and I tell him how much I love his choice in dcor.

2 p.m. This guy is so great that I practice Norwegian on Duolingo with the idea that one day Ill fly over and visit. We call each other kjre; that means honey, but weve never actually met.

7 p.m. My friend Imi and I go for dinner at a Portuguese restaurant; we havent seen each other in months. We drink a big jug of sangria, eat piri-piri chicken and despair at the fact that were both turning 25 this month. I tell her about the Norwegian, scrolling through his Instagram to show her what he looks like. Shes very encouraging and tells me about her trip to Oslo a couple of years ago. She thinks I should definitely go and visit.

DAY FOUR

10 a.m. Its the day before my birthday and Im more excited than I expected. I spent a while dreading this age, but lately Ive embraced it and even come to believe this will finally be my year, whatever that means.

1 p.m. I make a list of all the preparation that needs to be done for tomorrow; Im hosting a dinner party at my place and envisioning it looking something like the set of a Baz Luhrmann movie. There are no exes on the guest list.

5:30 p.m. I exit Whole Foods having done some minor financial damage and cradle my birthday cake the way you might a newborn. Its hot in London and Im dripping sweat on the pavement.

8:00 p.m. Christina comes over to help me set up for tomorrow. We rearrange the furniture, sweating and complaining, then reward ourselves with a glass of prosecco while she updates me about her new guy and their summer evening dates. It sounds lovely and I wouldnt mind something like that myself, but I just cant be bothered to find it.

10 p.m. Now alone, I put on Casino for the hundredth time. I douse myself in Tom Ford Vanille Fatale perfume and make a half-ditched attempt to look glamorous for myself I figure thats what Ginger McKenna would do. Casino is the type of movie that makes you want to have a cigarette so I break my no-smoking-inside rule. I always do.

DAY FIVE

9 a.m. I wake up to the influx of birthday messages and answer a call from my mum, whos singing down the phone.

11 a.m. Two guys I used to date write the exact same message (happy birthday princess), which makes me laugh, and then I receive a happy birthday angel x from a guy I slept with once last year. His name is Felix a friend of a friend I met a while ago at a party. Hes really into playing chess, hes super witty, and we text from time to time. Ive always wanted to improve at chess so I thank him and say he should come and tutor me sometime. Just say the word, he replies.

8 p.m. With everyone now at my flat, the celebrating begins. Theres enough Champagne to serve a village and Ive definitely overdone it with the food spread.

11 p.m. I love my friends so much that I passionately make out with two of them.

1 a.m. Im briefly messaging Graffiti Guy about something irrelevant (despite my friend shouting at me not to) and he hasnt even realized its my birthday. Thanks for the happy birthday you gigantic asshole I write, semi-sincerely.

4 a.m. We sing Olivia Rodrigo good 4 u, because it makes me feel 17, and my upstairs neighbors bang on my ceiling. I figure thats fair enough so I turn the volume down.

DAY SIX

9 a.m. I wake up feeling surprisingly fresh considering we only managed three hours of sleep. A couple friends slept on the sofa so I make us all coffee and we eat leftovers for breakfast.

1 p.m. My friends leave to get a train home, and Graffiti Guy messages me to apologize for forgetting my birthday. I cant stay pissed off for long so obviously I forgive him.

9 p.m. It does not make me proud to admit that were still talking. He tells me Im the best sex hes ever had, but we acknowledge that it cant happen again because together we are a shit show. I suggest friends with benefits as an option but he says hes too possessive and protective over me for that to work.

11 p.m. I am bored of this routine and recognize its not healthy to carry on like we do, so I make the sudden decision not to speak to him again. I delete his number and send Felix a text: so when are we playing chess? He says he is free tomorrow night.

DAY SEVEN

10 a.m. Lately Ive neglected all things admin, so I relish a quiet morning on my laptop sending emails.

1 p.m. Felix texts me to arrange a time for tonight and for once I feel a little bit giddy. I know he doesnt want anything serious and appreciates I dont see him that way; were just two people who want to hook up under the guise of playing chess.

8 p.m. Felix is coming in an hour and Im running extremely late. Im fresh out of a very long shower and now I cant decide what to wear. Mildly stressed, I settle for an old pair of jeans that make my ass look good then run about lighting candles. I hope he doesnt think Im trying to create a romantic setting; I do this for literally everyone.

9 p.m. With the aid of Google, I put the chess pieces on the board when the buzzer suddenly rings. I buzz him up then finish getting ready at breakneck speed. I open the door trying to look composed and there he is. Fuck, he looks amazing better than I remember. Before hes even walked in, we start kissing in the doorway.

10 p.m. We sit opposite each other at my table with the chessboard between us; unsurprisingly we havent gotten around to playing. The wine is flowing and the conversation is too. Hes genuinely very interesting but honestly, I just want to sit in his lap. Desperately contemplating how to make my move, I get up to pour us another glass in the kitchen. He must have been thinking the same because he quietly comes up behind me and wraps his arms around my waist. Here we go. I fling my arms around his neck and put my tongue in his mouth, then he lifts me up and sits me on the counter. Wrapping my legs around him, he picks me up again and carries me to the bedroom.

10:30 p.m. I am in the presence of what can only be described as a selfless king. His attention is focused solely on me and I realize how much Ive settled in the past for being the one doing all the work, leaving me feeling like Ive just completed a HIIT workout. Well, it is your birthday week after all, you deserve it, Felix says. As soon as we finish Im eager for round two, but in the meantime, its back to the chessboard and a glass of whiskey on the rocks.

4 a.m. Seven hours since he arrived, somehow were still talking. As the sun starts to rise we go to bed for round two, which is even better than before. Lying there in the afterglow, we agree were definitely getting a bit too good at this, and I drift off easily looking forward to waking up beside him. I usually hate sharing a bed but hey, I guess this is the power of genuinely good sex. Something tells me that after tonight, I wont be calling an ex again anytime soon.

Want to submit a sex diary? Email sexdiaries@nymag.com and tell us a little about yourself (and read our submission termshere.)

See the original post:
The Londoner Inviting a Guy Over to Play Chess - The Cut

Why AI Chess Champs Are Not Taking Over the World – Walter Bradley Center for Natural and Artificial Intelligence

At one time, the AI that beat humans at chess calculated strategies by studying the outcomes of human moves. Then, it turned out, there was a faster way:

In October 2017, the DeepMind team published details of a new Go-playing system, AlphaGo Zero, that studied no human games at all. Instead, it started with the games rules and played against itself. The first moves it made were completely random. After each game, it folded in new knowledge of what led to a win and what didnt. At the end of these scrimmages, AlphaGo Zero went head to head with the already superhuman version of AlphaGo that had beaten Lee Sedol. It won 100 games to zero.

Champion Lee Sedol announced his retirement soon after. And AlphaGoZero went on to be defeated by an even bigger AI, AlphaZero.

But does that mean AI can take over and run everything? The University of Washingtons Pedro Domingos offers a different take: Games are a very, very unusual thing:

One characteristic shared by many games, chess and Go included, is that players can see all the pieces on both sides at all times. Each player always has whats termed perfect information about the state of the game. However devilishly complex the game gets, all you need to do is think forward from the current situation.

Plenty of real situations arent like that. Imagine asking a computer to diagnose an illness or conduct a business negotiation. Most real-world strategic interactions involve hidden information, said Noam Brown, a doctoral student in computer science at Carnegie Mellon University. I feel like thats been neglected by the majority of the AI community.

Or, as George Gilder says in Gaming AI, in games like chess and Go, the map is the territory. But in the real world, the map is not the territory:

Self-driving cars, for example, have a hard time dealing with bad weather, or cyclists. Or they might not capture bizarre possibilities that turn up in real data, like a bird that happens to fly directly toward the cars camera. For robot arms, Finn said, initial simulations provide basic physics, allowing the arm to at least learn how to learn. But they fail to capture the details involved in touching surfaces, which means that tasks like screwing on a bottle cap or conducting an intricate surgical procedure require real-world experience, too.

IBM Watson triumphed at Jeopardy where correct answers were available online but then flopped in the medical environment where correct answers dont even exist.

For example, there is no correct way to tell a patient that further efforts against a disease may result only in a less pleasant life, not greater life expectancy. We dont use machines for that. We just walk with the person for a while.

And, as Jeffrey Funk and Gary Smith remind us, failed prophecies of an AI takeover come at a cost: We dont improve what we could improve in human-based services like health care if we are waiting for the phantom AI takeover.

You may also wish to read: How to flummox an AI neural network. Kids can figure out the same-different distinction. So can ducklings and bees. But top AI cant. Can every form of thought be a computation? If not, same-different may be a fundamental limit on computer-based AI.

Go here to read the rest:
Why AI Chess Champs Are Not Taking Over the World - Walter Bradley Center for Natural and Artificial Intelligence