Skip to main content

All Questions

Tagged with
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 ...
Sean Riley's user avatar
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 ...
Andrea Zasa's user avatar
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 ...
puppeteer's user avatar
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 "...
Confused_Scruff's user avatar
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 ...
user avatar
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 ...
Smarticles101's user avatar
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 ...
Ping Lin's user avatar
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 ...
Ping Lin's user avatar
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 ...
Nea's user avatar
  • 349
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 ...
user avatar
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. ...
user avatar
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 ...
andresmijares's user avatar
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: ...
user2260077's user avatar
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." ...
Numpty's user avatar
  • 223