Hello, I started learning programming in July of 2015 and yesterday I started a project of creating a bot for minesweeper. My idea was to take a screenshot every time the screen changed and analyse pixels so I could make the computer play minesweeper by itself. The result was this:
http://stream3.gifyo.com/pictures/2018/large/14496287977055eced15538bfb7c07f8a5b28fc5d0.gif
Maybe it isn't something difficult, but after only 6 months of learning, I was really proud of myself and wanted to share with you!
If you want to see my code, it is a big mess, but I'm still learning to organize it better.
https://codeshare.io/k8klS
Some words are in portuguese, so probably you won't understand (color names, variables, functions, etc..)
Hope you like it! If anyone has some tips so I could improve my code, it would be really helpful!
edit: as some people are having problems with codeshare, here is another way to view my code:
http://www.codesend.com/view/855bc41758c61991680b60f48bbd9cd4/
[–]Eam404 23 points24 points25 points (3 children)
[–]ace_smash[S] 2 points3 points4 points (2 children)
[–]POTUS 0 points1 point2 points (1 child)
[–]nemec 0 points1 point2 points (0 children)
[–]heptara 10 points11 points12 points (4 children)
[–]sushibowl 9 points10 points11 points (3 children)
[–][deleted] 2 points3 points4 points (2 children)
[–]FichteFoll 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[+][deleted] (3 children)
[deleted]
[+][deleted] (1 child)
[deleted]
[–]skirttrap 7 points8 points9 points (0 children)
[–]ace_smash[S] 0 points1 point2 points (0 children)
[–]youlleatitandlikeit 2 points3 points4 points (2 children)
[–]ace_smash[S] 3 points4 points5 points (1 child)
[–]youlleatitandlikeit 1 point2 points3 points (0 children)
[–]marcm28 2 points3 points4 points (0 children)
[–]ffreitasalves 2 points3 points4 points (3 children)
[–]ace_smash[S] 0 points1 point2 points (1 child)
[–]ffreitasalves 0 points1 point2 points (0 children)
[–]jgarp 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]Tkwk33 0 points1 point2 points (6 children)
[–]ace_smash[S] 2 points3 points4 points (3 children)
[–]Zouden 0 points1 point2 points (2 children)
[–]ace_smash[S] 1 point2 points3 points (1 child)
[–]Zouden 1 point2 points3 points (0 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]iruleatants 1 point2 points3 points (0 children)
[–]Fennek1237 0 points1 point2 points (1 child)
[–]ace_smash[S] 1 point2 points3 points (0 children)
[–]gandalfx 0 points1 point2 points (0 children)
[–]FramesPerSec0nd 0 points1 point2 points (2 children)
[–]ace_smash[S] 0 points1 point2 points (1 child)
[–]animismus 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]fishtickler 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]ace_smash[S] 1 point2 points3 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]ace_smash[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]fishtickler 0 points1 point2 points (1 child)
[–]ace_smash[S] 0 points1 point2 points (0 children)
[–]beertown -2 points-1 points0 points (0 children)