Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
For questions requesting reviews of game development code.
5
votes
Field class used by my trading card game
First, I don't think Field is a good name – it is really generic and doesn't reveal any information.
Now a few notes on your unit tests:
Instead of duplicating the setup Field field = new Field(6) i …
3
votes
Accepted
Trading Card Game's Hand and HandView implementation and unit tests
public interface Viewable<T extends Viewable<T, V>, V extends View<T>> {
public void addViewCallback(final V view);
public void removeViewCallback(final V view);
}
Drop the public keywords …