0
votes
1answer
48 views

Box(x,y,X,Y), box(x,X,y,Y), box(x,w,y,h), box(x,y,w,h) or box(fromPos,toPos)?

Say you are representing a box, or creating a function that slices a 2d array, or whatever. How do you represent it?
3
votes
2answers
999 views

Optimizing a Deal Or No Deal-style game in Java

could this code be more Efficient? The Game Class import java.util.List; import java.util.Arrays; import java.util.Collections; public class Game { private Case[] cases = new Case[26]; ...
2
votes
1answer
372 views

Can anyone check my code?

Can anyone check this code of mine I want to improve it . give me suggestion or tips and tricks to make this code of mine more efficient Here's my code, I want you guys to give me advices and tips ...