Questions tagged [console]
Use this tag for programs that interact with their user by means of a character-based console or terminal
843
questions
2
votes
1
answer
569
views
Model-View-Presenter (MVP) pattern implementation
To learn more about design patterns, particularly the Model-View-Presenter (MVP) pattern, I am currently creating a CLI weight tracker application in Python. I would like you to review the code to ...
1
vote
0
answers
118
views
Python CLI tool - automatic mapping from models to parameters with Click
I was working on a small python CLI tool using the Click library for the first time and realized I was defining parameters and mappings from them to objects/classes in multiple places and anytime I ...
6
votes
2
answers
553
views
A simple CLI arbitrary-precision Mandelbrot set calculator (for a single point)
I wrote the following C code that takes a couple of arguments on the command line and calculates a given number of iterations of the Mandelbrot set complex mapping using MPFR arbitrary precision ...
3
votes
1
answer
203
views
Implementing Model-View-Presenter in a console program [closed]
I'm designing a board game with my wife, and am writing a console based program that can track and analyze the statistics of playtests to see if the game is balanced, what the dominant strategies are, ...
4
votes
1
answer
107
views
Basic CLI BlackJack Game in Java
I am looking to see which aspects of this code could use improvement.
In both design, and basic implementation and coding.
I'm using IntelliJ and Java SE 20.
...
3
votes
1
answer
156
views
Terminal Based Blackjack
This is my attempt at a terminal based blackjack game. Currently, the game does not support betting, although I intend to add it in the future.
I would very much appreciate general feedback, but I am ...
5
votes
2
answers
927
views
Skeleton for a command-line program that takes files in C
First. If this question is not allowed, I am sorry. Please, tell me so, and I will try to delete this. If it is, I will delete this paragraph.
Personal-ish note/Motivation
I was studying assembly ...
5
votes
3
answers
2k
views
Currency Converter (calling an api in c#)
I am in my first week of programming and I created a currency converter. I want to use real time exchange rates through an api when sending the result. This code itself works just fine. But, being new ...
5
votes
5
answers
2k
views
unit converter (3 days of C#)
I am new to programming. I picked up a C# course from freeCodeCamp.org a few days ago and today I created my first code from scratch. I know probably it's not the best optimized but it works. Some ...
0
votes
1
answer
161
views
Text based naval game
here is the second game I have made. its not easy and I was hoping someone could test it and bring some improvements to the table. fun project for learning.
...
8
votes
5
answers
2k
views
Python code using *args to print warnings in color
I have this code, which works for the simple tasks I want. But I have questions.
...
3
votes
1
answer
150
views
Python command line password generator
After giving a couple of well-received answers to similar questions, I thought I'd try to come up with my own solution.
I believe that a good password generator can and should be quite simple without ...
2
votes
0
answers
141
views
Truly cryptographically secure password generator in Python, version 2
Following suggestions from answers from my previous question, I have completely rewrote my script, to make it more concise and Pythonic, truly cryptographically secure, and added more functionality.
...
10
votes
3
answers
2k
views
Python command-line program that generates passwords
I took my code from this answer by me, I found it useful, so I developed it further, and here is the result.
This script generates cryptographically secure passwords. The characters used by the ...
5
votes
0
answers
77
views
CLI reading logger in Python
EDIT
Updated code
This is my first real project in Python, and also my first time using sql databases. The purpose was initially to provide a very simple interface to track my reading hours using logs,...