All Questions
147
questions
5
votes
1
answer
194
views
Parsing command-line arguments with getopt in C++
I did not find anything to parse command-line arguments in C++ (which was surprising), so I fell back to getopt() which has served me well in C (I am currently not ...
4
votes
1
answer
79
views
Terminal based game: Part 3 (Using templated game)
Working from previous posts
In this post: Terminal based game: Part 2 I introduced the concept of a Game object. To build a game like Terminal Base Snake you could ...
4
votes
1
answer
76
views
Terminal Base Snake
Based on this Framework
Terminal based game: Part 2
A game that uses std::cout to print the board and std::cin to get keyboard ...
4
votes
1
answer
91
views
Terminal based game: Part 2
Follow up to: Terminal based game
Finished up the framework.
Still sticking with the X-Term based version.
As I want a very simple framework to use for teaching (not this part initially).
But my next ...
6
votes
2
answers
2k
views
Terminal based game
Looking to build a terminal based game.
I am assuming X-Term like terminal.
This means:
I can use the X-Term control codes to clear and move around the screen.
I can use ...
4
votes
1
answer
100
views
Parametric - a simple program argument parser
I've made a little header-only library for handling user input for console applications, I'd really appreciate it if you guys took a short look at it and told me what you think. The goal of the ...
8
votes
4
answers
3k
views
Recreating Minesweeper
First, I have to say that this game lacks 5 features that I don't care:
Flags
Chording
Timer
Actual mouse movement
Good graphics
When starting the program, the player is meeted with a "Choose ...
2
votes
1
answer
135
views
Tic-tac-toe game for Windows console
I am doing C++ for over a year and this is my game I tried making tic-tac-toe. And it's also my first program that uses multiple source files.
main.cpp
...
2
votes
1
answer
694
views
Little CLI game in C++ with random words
the game is quite simple, you have to constantly guess the letters of a hidden word, but has a limited number of wrong attempts. The word you are looking for should be a random word from Wikipedia. I ...
11
votes
2
answers
2k
views
CAT: Cat Approved TUIs
Cat
Hello everyone! I am working on this TUI framework which aims to abstract the ncurses library. I was wondering how understandable it is, and what I can improve! Any feedback is welcome!!
My ...
2
votes
1
answer
177
views
Command-line parser with built-in error checking
Simple command-line option parser with automatic setting of variables and built-in error checking.
The story is I was working on another new project that had a lot of configurable options, as they ...
6
votes
2
answers
231
views
ds - A directory switcher via tags in Windows command line
I have this repository.
The idea is that there is a file tags sitting in the users home directory, and which contains the tag declarations of the format ...
3
votes
2
answers
333
views
(Rev. 2) Command-line Tower of Hanoi game
This is a follow-up from Command-line Tower of Hanoi game -- many thanks to those whose reviwed it.
By request, the project is also available on GitHub. Forks and bug reports are welcomed.
Compiled ...
5
votes
2
answers
1k
views
Command-line Tower of Hanoi game
This code has been revised. See (Rev. 2) Command-line Tower of Hanoi game
Compiled with g++ 9.4.0. makefile included. Any ...
2
votes
0
answers
384
views
How to make a console menu
Showable
...