- Jun 02, 2024
-
-
Tokar authored
-
Tokar authored
Fixed the winconditions, earlier you could just flag all the fields and the game would end in a win, added user input in console. I am pretty happy with the end product. I am still including .cpp files instead of .hpp which I know is wrong, but on my laptop it just doesn't work otherwise, it is possible that because of that the code will crash on other PC's and I have no way to fix that. To prove that it works well here I will include screenshots in the commit comments
-
Tokar authored
Moved the game loop into the play class with small changes to make it work. Changed that mines appear only after the first tile is revealed so that the game doesnt finish with the first move. Made the loop break when the game is finished
-
Tokar authored
Made use of my board class function getFieldInfo to choose which picture to print. Added all png files. Works really well, if there will be trouble running it I will attach a debug mode screenshot of the game. All that is left is to integrate TPlay class to add game logic
-
- Jun 01, 2024
-
-
Tokar authored
-
- May 20, 2024
-
-
Tokar authored
Added play logic, changes headers from .h to .hpp, still trying to figure out why it crashes if i include headers in main instead of cpp. I hope it wont be alot of work to change when I finally figure out why. For now wil stick to including cpp, shouldnt matter that much
-
Tokar authored
-
Tokar authored
tested my code amd added TView class. Code crashes when I include headers so for now I am including .cpp
-
Tokar authored
-
Tokar authored
-
Tokar authored
-
Tokar authored
-
Tokar authored
-
- May 06, 2024
-
-
Tokar authored
finished 2nd doc. Handled random mine laying and added gamemodes. Tested many times in main, seems to be working quite wall so far
-
Tokar authored
-
Tokar authored
-
Tokar authored
-
Tokar authored
-
Tokar authored
I finally know what I am doing, from now on commits will actually make sense, previous ones are irrevelant
-
Tokar authored
-
Tokar authored
-
- May 01, 2024