All Questions
14 questions
6
votes
1
answer
663
views
Crossword puzzle app
I was hoping someone could give me any tips or advice on this program I wrote for my high school class. The point of the program is to create a workable crossword puzzle in the console. If it works ...
1
vote
1
answer
493
views
Java implementation of Yahtzee
I'm trying to implement the game of Yahtzee in java.
This is for a project at my university so I tried to be as clean and to use the best code practices as possible. The part in particular that I ...
5
votes
1
answer
709
views
Space Invaders clone for a college project
Edit: the project was submitted, and I got a good grade! :D
I am finishing up a project for my computer science class. The project is a space invaders clone that uses the JavaFX library to provide ...
3
votes
1
answer
1k
views
Singly linked list for a marble game
I have an assignment in programming using Java, which is about a marble game. When you're entering a marble the marble has a color and a value. When there's 4 of the same color in a row it will be "...
4
votes
1
answer
2k
views
Java game that generates and compares random numbers, looking for matches
I have written some Java code for a school assignment. It is a game, and it works as follows:
The game makes 4 random numbers, all different, as the users ticket.
It then generates 4 other random ...
5
votes
1
answer
22k
views
Java Connect Four "Four in a row" detection algorithms
I am making a connect four type game for my end of the year project in my programming class. I am about to start building off of the console based version I have made and add a GUI, but I feel sort ...
3
votes
1
answer
1k
views
"Destroy the Asteroid" Game
I made this game for my computer science class.
Here is my professor's requirements:
Write a Processing program that draws a triangle in the middle of the window.
Rotate the triangle when the ...
2
votes
2
answers
178
views
My spaceship is slow to explode after being hit by the asteroid
I am making a game for my computer science class. My professor's requirements are:
Write a Processing program that draws a triangle in the middle of the window.
Rotate the triangle when the left and ...
16
votes
5
answers
27k
views
Yahtzee game (using arrays and object classes)
As part of an assignment for my intro Java class (please bear with my beginner skill set), I'm working on a program for which a Die object class is used to play a Yahtzee game. An overview of the ...
6
votes
1
answer
1k
views
Finite Automaton for a Typing Game
I'm creating a game that implements a finite automaton and I don't know if I'm doing it right. Any advice?
Game class
...
10
votes
2
answers
2k
views
Guess a random number between a selected interval
My project for my class is to create a Java-based game where the user must enter a number between 1-20 and a number between 250 and 300. The computer randomly chooses a number between those 2 numbers. ...
4
votes
2
answers
3k
views
Battleship type game in Java
I made the code, and it works, but it uses many if conditions and it looks ugly. I would really appreciate it if someone could give me a hand by pointing me in the ...
2
votes
1
answer
218
views
High School Java Class: Pong Project External Reviewer
It would be a huge help if you could tell me ways to make my code run smoother and if I could add more code to my program to make my program more unique.
Panelball class:
...
12
votes
6
answers
17k
views
Does my Rock Paper Scissors game look good?
I'm doing some homework and am just curious if everything I've done looks good and/or if you'd suggest I modify something to keep with "javaese."
...