Skip to main content
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
Results tagged with
Search options answers only not deleted user 3934
1 vote

What's the best way to compare blocks in a matching game that can be multiple colors?

This is probably the easiest way to do it - not overcomplicating it at all. However, I'd work with constants rather than variables (assuming those are available in your chosen language). const int CO …
Mario's user avatar
  • 8,527
7 votes

How to handle "weapon slots"?

This is actually rather easy to do. Just get every item some bitmask to define how/where it can be equipped. Some random example: enum Slot { SLOT_NONE = 0x0000, SLOT_LEFT = 0x0001, SL …
Mario's user avatar
  • 8,527