Questions tagged [console]
Use this tag for programs that interact with their user by means of a character-based console or terminal
834
questions
2
votes
0
answers
28
views
Tic Tac Toe CLI in Clojure
I wrote a command line tic tac toe game in Clojure. I've broken this post into three sections: Feedback Requests, Gameplay, and Code
Feedback Requests
I'm looking for feedback on:
How "idiomatic&...
3
votes
2
answers
104
views
Get Terminal Size, Enable and Disable Terminal Raw Mode without NCURSES
I searched around and found these 7 ways to determine the width and height of the terminal:
...
8
votes
1
answer
501
views
Battleship vs. computer with Python
I am still pretty new to Python. After spending time on Code Wars and copying a handful of projects from Al Sweigart's Big Book of Small Python Projects, I wanted to build something completely from ...
4
votes
2
answers
286
views
Simple size difference measuring tool
Simple tool I wrote in an hour or two (I'm not very fast, but I eventually get there - also for the "spending 6 hours to save 6 seconds" meme).
Would've written this in shellscript given ...
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 ...
10
votes
2
answers
242
views
A simple ray marcher for the command line
This is my attempt at creating a ray marcher for the command line for fun.
I have some prior experience with C programming, although I'm far from being an expert, and little to no experience with ...
4
votes
1
answer
93
views
rock paper scissors game in console
I've made a simple rock paper scissors game using javascript. Any feedback appreciated. This is a first project I've done with almost no help
...
3
votes
1
answer
73
views
Display summary statistics about Discord messages
This is just a program that displays summary statistics about discord messages sent to a certain user using a Discord data package. The CSV of messages to a user is ...
5
votes
2
answers
242
views
Simple Java Command-line Checkers Game
I was working on a checkers game for a college project.
After I did a sprint to finish it, I want to improve the movement logic.
Right now, it is housed within the ...
18
votes
3
answers
3k
views
A tic-tac-toe game in C
I am (trying) to learn the C programming language for fun with my father's book "The C Programming Language". I tried writing a tic-tac-toe game in C. I have no professional experience, so ...
2
votes
1
answer
61
views
Text-based tic-tac-toe in bash (continued)
I wrote this two-player tic-tac-toe program in bash. To make a move, you enter a number between 1 and 9 which corresponds to the square:
...
1
vote
1
answer
93
views
Linux terminal like parsing
I'm creating a program that will hopefully operate like linux terminal (basic commands) for learning purposes.
...
6
votes
1
answer
176
views
Text based tic-tac-toe in bash
I wrote this two player tic-tac-toe program in bash. To make a move you enter a number between 0 and 8 which corresponds to the square:
0|1|2
3|4|5
6|7|8
This is ...
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 ...