Questions tagged [console]
Use this tag for programs that interact with their user by means of a character-based console or terminal
843
questions
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 ...
5
votes
3
answers
710
views
Rust: Command line menu in ASCII table
Specific areas in which I'd love to get feedback:
Is it good to have the Command struct own the Strings (...
0
votes
0
answers
84
views
Check all files in two folders with partial match in name and update one of the folders with the newest from both
Here is the code I am using it works fine; however, it obviously takes forever when there are a lot of files to check.
exact shell is cmd.exe.
I am really just looking to make it more efficient.
Here ...
0
votes
1
answer
38
views
What command line options style is the best for command similar to `scp`? [closed]
I am writing a command line tool to copy files to or from locations, which can be a path inside a task inside a running Nomad task. The location can be either a stream or location on the local ...
0
votes
1
answer
75
views
Reassure user that python code is running during long imports
I have created a large module for downloading data from SAP and editing and displaying it on a plotly dashboard. While the code is running as desired there is one problem that bugs me:
The submodules ...
7
votes
4
answers
2k
views
C# console app that draws an image to the console using ASCII
I'm semi-new to programming and want to improve my skills by understanding how people might optimize their code and how the code should be structured since I've been told it needs to do more than just ...
3
votes
2
answers
116
views
Text based Java game "Battle Arena"
This is my first java program. I'm coming from a python background. This is a text based combat arena game.
Are there any ways I could better implement the overall code structure?
How might I improve ...
1
vote
1
answer
38
views
Python3 Unix command_line_interface task organizer application using argparse
Greetings.
Lately I've tried to use a branch of text_formatting rules to enhance my productivity while working with different integration tools such as Git, but this formatting convention went so
...
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 ...
12
votes
2
answers
2k
views
Conway's Game of Life Terminal Visualization in C
I'm currently learning C, and decided to practice what I've been working on with a project, namely implementing Conway's Game of Life as a terminal visualization. This is my first project in C.
The ...
1
vote
1
answer
97
views
Sports league creation script
I'm building a little game that lets you generate a random sports league with random teams and random rosters. What are some ways that I can improve the readability and performance for this code?
Main ...
1
vote
2
answers
484
views
Best Practices For A Console Menu App
I am quite fresh to c# and creating programs. I wrote a very basic program which allows you to go through menu selections via up and down arrowkeys and select your selection along with sending you to ...
1
vote
2
answers
403
views
Thread-safe int wrapper in c#
My system is a .NET Core 7 console app, which starts some background threads. I need to pass some int values (counters, etc.) between the main and background ...
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 ...