Перейти к содержимому

Bot Plays Minesweeper in Power Automate Desktop

Dave The RPA Guy

0:00 / 0:00

Bot Plays Minesweeper in Power Automate Desktop

2 126 просмотров · 4 года назад
Dave The RPA Guy
5,61 тыс. подписчиков
2 126 просмотров · 4 года назад
In this Power Automate Desktop (PAD) video, I show a demo of and then give a walkthrough of my solution for playing and solving Minesweeper in Power Automate Desktop. It’s important to recognize that this solution uses almost entirely Image Recognition (Image-based actions), so traditional ways of interacting with a UI do not work. For example, modes such as Win32, UIA, and AA do not work for this desktop app. I got the original idea to automate Minesweeper a couple of years ago from Baris Karakas. He automated Minesweeper in a web application using Blue Prism. Check out his video here:    • Minesweeper is played by RPA - Blue Prism   --------------------------------------------------------------------------------------------------------- Power Automate Desktop Version 2.16.00306.22020 Windows 10 Pro SQL Server Management Studio SQL Server 2019 Developer Edition Minesweeper X (https://minesweepergame.com/download/...) ---------------------------------------------------------------------------------------------------------   / davemorrisatl   --------------------------------------------------------------------------------------------------------- 00:00 Intro/Demo 06:37 Intro to playing Minesweeper 09:31 Capturing images 13:34 Efficient looping using SQL Server 20:18 Subflows: OpenMinesweeper and GetDimensions 23:51 Subflow: Setup (for SQL Server table) 25:56 If Image action and 32:46 Subflow: Get_XY_By_RowColumn 34:18 Subflow: Get_TileType_By_Image 36:10 Subflows: RightClickTile, LeftClickTile, CheckWinLose 42:10 Subflow: RefreshBoardReference 46:48 Subflow: GetNearbyLists 50:51 Subflow: LoopNumberTiles 52:26 Subflow: TakeAction (which is inside LoopNumberTiles) 58:38 Continue Subflow: LoopNumberTiles 59:38 Continue Main Flow to Display Message 1:01:35 Separate Desktop Flow: Move Window 1:03:46 Final Demo/Test for 3 Difficulty Settings 1:18:57 End of Final Demo/Test (Expert Level reached lose condition) 1:20:19 Conclusion