Skip to content

u/trylist

In this archive from Oct 2017 to Aug 2022

0
posts
14
comments
0
media
527
score

Does android, steam and apple have easy ways to distinguish users without their input?

They all have unique identifiers, yes. The way to handle this is, in your own database you have a table that maps those keys to one of your internal ids. When someone logs in with steam, you look up their steam id to get your internal id.

The thing to watch for is that users will need to manually link accounts, there's usually no way to automatically tell when user #1 from steam is also user #2 from apple.

2 points

That doesn't seem like a good strategy to me. Games take a lot of time, even small ones. If your only goal is to build an audience, you'd be better served through other mediums and then using that to leverage your audience for your game.

Lots of small games (and unless they're genius, small means boring) sounds like a great way to get a small audience over a long period of time.

8 points

FSMs describe not just states, but how to move between them (transitions). The difference between what you're doing and what an FSM does is pretty small, but if you made a mistake and accidentally went from DEAD state to ATTACK state, it would give you an error assuming that wasn't supposed to be allowed.

You would describe your states and where they can go, eg in JSON:

const states = [
    {
        state: 'IDLE',
        transitions: ['CHASE', 'ATTACK', 'JUMP', 'DEAD']
    },
    {
        state: 'DEAD',
        transitions: [] //cant leave dead
    },
    {
        state: 'JUMP',
        transitions: ['IDLE', 'DEAD'] //can only go back to idle from jump or die
    },
    ... //etc
]
4 points

I just put together my laptop over the weekend, first time with arch. I never had to ask any questions, although it was really tough sometimes since I was definitely doing some non basic stuff. One thing I noticed though is that invariably I'd Google something and one of the top results would be some thread where the top reply was someone yelling about using google first.

I promise you it wasn't the newbie who looked stupid there.

3 points

But that lends itself to the setup strategy. If you know the biggest attack area, then you should try to set your ships in a way that they never overlap that area. Probably you're hitting the limits of the original game design of battleship. If you increase the area of the board you negate the strength of those area attacks, if you don't you trivialize the game. There might be a balance between the two however.

1 points

Another way to handle this is to have some sort of benefit to attacking first, like destroying future capability. This means there's a trade off to saving up an attack. Yes it's more efficient to save up and do a big attack, but the less efficient smaller attacks you can do right now might save you more in the long run by damaging your opponents ability to hurt you. This is a common trade off in games (and is a common theme in strategy and tactics).

8 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.