Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I forgot to play it still exploring its source code especially that it is XAML and MVVM
-
donuts238487y@gitpush is that bad? yea its messy.... more interested in getting it running then making it look nice :)
-
@billgates not at all, sorry if it sounded like a bad thing, but I just really like WPF (@jAsE can confirm :p)
and to see it written using mvvm pattern, it made me forget why I entered the repo and kept on reading how you did it. You did a great job there billy
Are contributions welcomed if I found anything to add? -
donuts238487y@gitpush np, was just wondering if you were saying the code was messy and unreadable. I spend a lot of time "exploring" other people's code at work.
-
@billgates so far it is well written and to be honest I'll be using it as a guideline as I rarely find any mvvm code to compare it to mine, I'm no expert in it, but from what I've seen your code follows through the guidelines of it and that's what matters IMO
-
donuts238487yContributions are fine, make sure you can build it first though. I dunno if I checked in all the files needed. But I did add the DLLs rather than use the library references. The source code for the classes though are similar to the ones in the library repo. But just a special built so i don't have to import 4 different projects.
-
donuts238487y@HelloUglyWorld you mean when you click on the empty ones and it expands the surrounding cells?
Yea... about that... I used a recursive call rather than a loop... i just figured it prolly wont cause a stack overflow.... -
@jAsE it was @billgates who made it lol I just forked it for now :P
I only won that game by choosing a custom large size so that it removes almost half the squares on each click and you are left with couple of places to explore, if you have Windows 7 try it you will win for sure :D -
@billgates 'tis fine.
If I remember correctly, I've used a for loop from 0 to 8 with some modulo math and 2 if checks. -
donuts238487y@HelloUglyWorld yea but if the adjacent is also empty you either need to add it to a queue or in my case recursive call the the function again with that cell.
I guess maybe i should change it, i can practicing using Algos... DFS, BFS... -
donuts238487y@gitpush custom large size? what minesweeper is that? I only remember at least the old version... you could only choose the difficulty.
Actually I wonder who wrote the original Minesweeper... would be sort of ironic if it was Bill Gates 😆
Nevermind, it wasnt.... 😞 -
@jAsE One time, I completed this game in 4 seconds. Don't know how it happened, chain reaction God must have been blessing me. So yeah that's my(?) record - 4 freaking seconds!
So as most of you know I was inspired to create a Minesweeper that allows continuing after you hit a mine.
Not sure if such a version existed before but... if it doesn't now it does.
https://github.com/allanx2000/...
Sorry @linuxxx Windows only... don't feel like learning Electron ATM or JavaFX... honestly I just wanted the games to continue after hitting a mine.
rant