4 karma · joined Jan 28, 2026 (10mo ago) · 14 submissions
2.
Ccraft2 Minecraft Classic server software(github.com ↗)
2 points · by dawidg81 · 8mo ago · discuss
4.
Mcc Minecraft Classic server software(81net.duckdns.org ↗)
1 points · by dawidg81 · 8mo ago · 2 comments
comment 9mo ago · link · parent
comment 9mo ago · link · parent
comment 9mo ago · link · parent
May I at least understand what it has "written". AI help is good but don't replace real programmers completely. I'm enough copy pasting code i don't understand. What if one day AI will fall down and there will be no real programmers to write the software. AI for help is good but I don't want AI to write whole files into my project. Then something may broke and I won't know what's broken. I've experienced it many times already. Told the AI to write something for me. The code was not working at all. It was compiling normally but the program was bugged. Or when I was making some bigger project with ChatGPT only, it was mostly working but after a longer time when I was promting more and more things, everything got broken.
comment 10mo ago · link · parent
Version 0.2.0 is continuation of C++ Minesweeper game development. There are still some bugs which I have no clue how to fix, at least it could be minimalistically playable. The game logic is mostly completed except flags, flags can not be placed yet. Along with that there are no such things like score... for now that is far future.
From other changes, now the project building is handled by GNU Make, no longer CMake. The repository has also moved to other website, no longer GitHub. Along with the Internet location change it may be for now more complicated to git pull/push from/to yhe repository. Git cloning via http should work normally, I haven't encountered any problems.
Any help with the repository is appreciated. See you
9.
C++ Minesweeper v0.2.0(81net.duckdns.org ↗)
1 points · by dawidg81 · 10mo ago · 1 comment
comment 10mo ago · link · parent
Even though the project feels for me lighter after CMake removal I feel like I just lost something. That could be the old fear of deleting whole directory with actually useful for me files.
Also when I looked in the repository statistics I didn't expect so much site visits. I'm pretty new in all this Hacker News website. I'm glad it's effective. Pretty cool website.
Ok This is propably all for now, see you
comment 10mo ago · link · parent
Today in the code, (I hope that) I've fixed some of the bugs you've mentioned, for example tile map. It's still type of an integer but in displayBoard() I've made small number-to-character translation so for example if tileMap is 0 it puts a '#' (unrevealed tile).
I've also completely removed Utils class and files of it, I thought that I don't really need them. Recently I was just learning about classes in C++ and got a little crazy about them, okay maybe not crazy but interested. Utils class may come back if the code will be ever more complicated.
In editDiff() I've replaced functions from Utils class with traditional if statements checking if user doesn't want to put too big board width and height and amount of mines.
There is no game loop yet but I'm going to add it in near future in the main file. I've also made small changes in the initBoard() so the bomb map is cleared first with zeros. Though I'm not sure about the loops randomly filling the map with mines. I've added additional third loop in the two loops iterating.
After making a basic game loop i start making game logic.
comment 10mo ago · link · parent
I make a implementation of minesweeper game in C++. I give link of the repository. Help with the project is appreciated, thank you.
The minesweeper is not yet finished, I have only written basic functions for initializing and displaying the game. However none of these functions have been called anywhere in the code so far: if you choose difficulty in the executable, the program will immidiately exit.
There is also documentation in progress. Any help with the documentation and/or source code will be appreciated.
This is all about this project for now. I have other repositories on my GitHub account but I guess that minesweeper is the easiest one to be written for now. Other projects like Voxelint (supposed to be an SDL voxel renderer) are mostly abandoned for now because they are too hard to be written and implemented. I'm still kind of a beginner in C++ language.
See you.
dawidg81
13.
C++ Minesweeper Implementation(github.com ↗)
3 points · by dawidg81 · 10mo ago · 4 comments