All Questions
51 questions
5
votes
2
answers
289
views
2048 game in Java
I am a beginner learning Java, and I coded a command line version of the game 2048 for practice. Any feedback, especially regarding best practices, object-oriented principles, and tidying up the code ...
3
votes
1
answer
253
views
Simple blackjack program in Java
I wrote this blackjack game for my APCSA class (already submitted) and was wondering if anyone had feedback on what parts of it are improperly written. My main concern is the fact that I am printing ...
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 ...
2
votes
1
answer
478
views
Guess Number Game - Console based game using Java
This game is pretty common for beginner projects. I wrote a version of this before all in Main - so here I challenge myself to recreate it in a more OO style.
I wanted to take a more OO approach, so ...
10
votes
8
answers
4k
views
OOP implementation of Rock Paper Scissors game logic in Java
What is your opinion on my solution for Rock Paper Scissors game logic in Java?
Round outcome enum class
...
8
votes
1
answer
553
views
My first game - Arkanoid
I'm new to java and I have just finished my very first game - Arkanoid. I would appreciate, if anyone could look at this and tell me some advice and tips how can I optimize my code. Thank you. :)
I ...
7
votes
1
answer
4k
views
java - Basic snake game
This is a snake game I made,
Note: at this point, I would like to hear any thoughts/ reviews about it.
Thank you
Game class:
...
3
votes
0
answers
145
views
Java game: select numbered tiles to form a goal sum
This is a homework project (Soft. Eng.) which I have completed. My teacher gave me a 91, but I am unhappy with this grade because my code is quite messy. (Please excuse incomplete Javadoc, the code is ...
3
votes
1
answer
11k
views
Basic Connect Four game
Here is a simple text-based version of connect four I made. I have been building this in an attempt to improve my Java skills (and possibly mention on my resume).
My goals with this project are as ...
2
votes
1
answer
88
views
Collision detection on Android
This is the same game code from my previous question. I split the code into smaller "logical units". The runnable code "Moon Buggy" is available in beta from the google playstore.
It was previously ...
5
votes
2
answers
5k
views
Tetris game demonstrating OOP principles
I've designed a basic Tetris game, and implemented it in Java language. I'll use it for demonstrating software engineering, designing. I'll re-implement it in many different programming languages, in ...
9
votes
2
answers
4k
views
Android Tetris App Design
Recently I have finished my first bigger Android project. I made a little Tetris App.
Here is a picture of my app in emulator:
My Tetris has following functions:
fast drop down
play tetris music
...
4
votes
1
answer
3k
views
Basic Pong Game
I am very new to programming still but have been learning a lot. I decided to have a go at making the game Pong from scratch, and I want to know how I could have made this more simple than I wrote it. ...
6
votes
1
answer
246
views
Implementing a "Roll Table" data structure
I am trying to implement a helper program for a paper RPG game. In this game, there are a lot of "roll tables". Basically, those are tables which associates the result of a dice roll to a concrete ...
10
votes
1
answer
253
views
Game Tutorial in Java
I’ve been working on a Rampart inspired multiplayer game for a few weeks now, and it is finally in a playable state. The big thing left to do before going alpha was to add a tutorial to the game.
I ...