Skip to main content

All Questions

Tagged with
12 votes
4 answers
12k views

Console-based table structure

Personally I often prefer console applications over GUI applications. However, sometimes it is quite a challenge to display everything well-aligned. Therefore I decided to create a console-based table ...
766F6964's user avatar
  • 901
12 votes
2 answers
21k views

Progress Bar in C++

I made a simple progress bar with percentage counter for console applications in C++. Below is my code: ...
Xam's user avatar
  • 365
6 votes
1 answer
7k views

Generic menu class for console applications

Expanding the title: my goal (for hobby project) was to create simple, generic (customizable) and cross-platform menu class for console applications (mostly simple, text-based games). That's what I ...
Toreno96's user avatar
  • 163
8 votes
4 answers
771 views

First Console Game: Tic-Tac-Toe

I have just finished my first true console game using C++. I would love if I could get some feedback on my program, I have a few specific comments in my code that I have questions on and will list a ...
Spencer Duball's user avatar
2 votes
1 answer
537 views

Terminfo parser in C++

I've written a pretty minimal parser for terminfo files which works as intended. It compiles fine and I've actually setup some tests over here which pass successfully too. Now I would like to get it ...
Abhinav Gauniyal's user avatar
5 votes
2 answers
2k views

Colorful output on terminal

I went from manually outputting escape codes in each string to creating a utility struct/class full of static functions and variables that needed to be initialized in source files (static private ...
Abhinav Gauniyal's user avatar
6 votes
0 answers
509 views

Console Command module (in-game console or base for script engine)

I've created a console/terminal command handling module that allows the programmer to bind functions to a command name and later execute them from std::string. What's new is that it handles most stuff ...
RippeR's user avatar
  • 161
-5 votes
1 answer
978 views

Blinking console start menu

gotoxy() allows you to place the blinking text wherever you want. I wasn't able to get it to behave the way I wanted, so you will notice I had to insert a bunch of ...
Rubix's user avatar
  • 1
5 votes
2 answers
255 views

Counting Colors in Conway's Game of Life

I have a basic version of CGoL running with pdCurses. My goal was to have each newly spawned cell take on the dominant color of their neighbors (if a spawned cell is mostly surrounded by red, make it ...
Carcigenicate's user avatar
3 votes
0 answers
230 views

Simple Win32 console library (mimicking almighty SFML) - follow-up

I'm trying to mimic the SFML library to be suitable for text-based games. The library called MSLIB in GitHub here. Here is a sample of the library implementation. It prints gray square onto the ...
MORTAL's user avatar
  • 3,278
19 votes
2 answers
2k views

Hangman on the C++ommand line

I'm wondering if my code is just a tad too long to post here, but if the only consequence seems to be getting high-level reviews, then that's perfectly fine. This is my implementation of Hangman in C+...
vvye's user avatar
  • 699
6 votes
2 answers
895 views

Text-based Snake game on Window

How can I improve this game? ...
MORTAL's user avatar
  • 3,278
7 votes
1 answer
1k views

Simple wrapper class for Win32 console

This is based on a library called Consoledefender V 3.3. I made a minimal class for personal usage based on this library by using C++11. It actually takes user input and prints it back on the console ...
MORTAL's user avatar
  • 3,278
10 votes
4 answers
3k views

Converting GTA Vice City ADF audio files to MP3

I wrote a tiny command line tool that converts ADF audio files from the Grand Theft Auto - Vice City game to MP3 files that can be played outside the game. The ADF file format stores the game ...
glampert's user avatar
  • 17.1k
4 votes
1 answer
970 views

Text-based Tetris game with CRTP - follow-up

Previous question: https://codereview.stackexchange.com/questions/74677/text-based-tetris-game-follow-up-final Summary of improvements: Implementation of a ...
MORTAL's user avatar
  • 3,278

15 30 50 per page