All Questions
94
questions
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 ...
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 ...
6
votes
2
answers
204
views
Simple vocabulary trainer based on flashcards
Motivation
When I was young, I had to learn english in school and I was really bad. My father told me to write words on little cards, with a word on the one side and its foreign counterpart on the ...
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.
...
7
votes
1
answer
207
views
Command-line correlation calculator in Java
I have this Java program that asks for a name of the file containing data rows in the format $$
x_1\ y_1 \\
x_2\ y_2 \\
\vdots \\
x_n\ y_n
$$, and outputs on the command line the Pearson correlation ...
2
votes
0
answers
249
views
Is MVC an overkill for a chess CLI game?
I am working on a CLI chess game that only involves 2 human players, I decided to make it follow the MVC architecture to ensure separation of concern and to make the possibility of a GUI/web ...
4
votes
1
answer
125
views
Funny TextUIWindow.java and a simple colorful text editor
(See this repository for full code.)
Now I have rolled a simple class extending JavaFX Canvas for showing terminal like, colorful console:
TextUIWindow.java:
...
3
votes
1
answer
638
views
ATM Console Program with Java
I am a freshman Computer Engineering student.
Variable names are pretty straightforward; I believe it would be easy to understand.
Program explanation:
First you have to create an account and deposit ...
6
votes
2
answers
819
views
RPG item, character, and display
Question description
I am currently developing an RPG to gain programming experience. An RPG consists of many individual components such as the combat system, quest system and the item system. I ...
5
votes
1
answer
182
views
Simple Console Chat in Java
I have rewritten my little chat application and tried to pay attention to former hints and tips. The viewer and the writer have to run as seperate applications. the Writer.class basically stores ...
4
votes
2
answers
984
views
I made basketball program using Java that runs on console
I made a simple console basketball game using Java.
...
2
votes
1
answer
294
views
Command Line app for calculating payroll in Java
I had an assignment last semester to program a payroll app utilizing methods. I went back to it and re-wrote it to include an extra class as well. I would like some feedback regarding whether my code ...
3
votes
1
answer
72
views
command-line demo app
I started learning from the book: head first design patterns. As I am trying out different programs in the book, I am compiling them in this one demo app. Below is the code for its driver function. ...
4
votes
1
answer
93
views
Discount card reduction calculator
I have started programming a couple of months ago and have recently applied for an internship. One of the assignments was to create a console application, the assignment can be seen here - > HERE
My ...
3
votes
1
answer
101
views
Chat Viewer working with files
I am writing a textual chat app for exercise purposes. All Chatters using my program have access to a network directory, and there my program is stored. This chat app consists of three programs. The ...