Skip to main content

All Questions

Tagged with
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 ...
ViceroyFaust's user avatar
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 ...
spaghetticode's user avatar
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 ...
Dexter Thorn's user avatar
  • 2,174
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. ...
Reilas's user avatar
  • 151
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 ...
coderodde's user avatar
  • 28.9k
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 ...
Yoh's user avatar
  • 61
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: ...
coderodde's user avatar
  • 28.9k
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 ...
Yigit148's user avatar
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 ...
Dexter Thorn's user avatar
  • 2,174
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 ...
Dexter Thorn's user avatar
  • 2,174
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. ...
user avatar
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 ...
shaggy's user avatar
  • 41
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. ...
fidgetyphi's user avatar
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 ...
ArchibaldRajs's user avatar
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 ...
Dexter Thorn's user avatar
  • 2,174

15 30 50 per page
1
2 3 4 5
7