PDA

View Full Version : Help test Seth's thing: Space Casino (a multiplayer web door-game like thing)



Seth
03-27-2018, 03:46 AM
Hey guys,

Here is a new thing I made. It's pretty basic but I hate to play with new technology without actually putting something out the door at the same time (even if tiny), so here we go:

128590

It's browser based but requires a pretty powerful desktop to play, probably won't work on mobile

Play here (https://www.toolfish.com/spacecasino)

So why am I using Facebook at all? Especially since they seem to like handing out your private data to anyone? Well, laziness.

For for a multiplayer game (such as it is) hardening is important and is quite a burden to a tiny dev. A lazy tiny dev like me.

By tying the logon to something external I save myself a lot of responsibility.

For example, I don't have to do the following things:


Monitor accounts created by IP address and limit how many per hour (to stop account creation attacks) (good thing I don't have to do this, because Unity's websocket implementation doesn't even support getting the IP (https://forum.unity.com/threads/llapi-how-can-the-server-get-the-ip-address-of-a-connected-webgl-websocket-connection.510527/) for some reason)
Do IP lookups and stop new accounts from known vpns (again, to stop account creation attacks)
Ask if the users are 13+ for COPPA reasons (FB accounts are assumed to be 13+)
Keep a database of places where people can get unlimited email addresses easily and blacklist them to help with account creation attacks
Require the users email and password
Insure user passwords are reasonable (ie, not 1234 etc)
Insure user passwords are properly securely stored and in an encrypted format. This is important because if I got hacked and users use the same password at multiple sites, it could cause them to lose a lot more than progress in my dumb game. By using an external system I avoid this possibility.
Deal with things like user's that need to change email addresses and passwords (although if someone lost their FB account.. uhh.. well, not much I could do. I don't even know the user's email address so that couldn't be used to verify the owner)


The FB part isn't important, I'd like to support the same thing by using other third party login systems like Twitter and OpenID (what else would be good?) but I haven't gotten around to figuring out how those work. There is also the issue of wanting to allow logins via native iOS/Android apps (non-web) which FB supports with its own plugins but I don't know if the others support this.

The good news is if my servers got hacked, you don't have to worry about any private data such as email or passwords being made available as I don't have any stored. The bad news is that even the minimum FB permissions I request contain your real name, which is private info you shouldn't gave to share with me. (I don't need it or use it)

Unfortunately FB has sort of completely forgotten about the "Anonymous facebook login (https://www.recode.net/2015/3/6/11559878/whatever-happened-to-facebooks-anonymous-login)" system they promised years back. It wouldn't help FB to stop stealing your data in other ways, but at least you wouldn't be giving ANY data (like name) to app-devs like me.

To those not comfortable using Facebook to login: I totally respect and understand this. I've added a "Play as a guest" option so the game can sort of be experienced without any login required.

Special thanks to Akiko for blendering up some 3d models and making the title screen for me.

michaelhans10
03-27-2018, 12:25 PM
Good game seth

Habchy77
03-27-2018, 01:14 PM
Nice.
Glad to see this finally coming true: WebGL > Flash

Raqk
03-27-2018, 06:00 PM
128591

No problems here.

SnowyFox1000
03-29-2018, 03:41 AM
Is this just a temporary game that you're messing around with or is this a game that you think will be here to stay for years to come?

GEN
03-29-2018, 09:56 AM
I tried the game, then I start typing randomly. I type "lol" without realising that it was asking for your username.
Not bad beating Akiko. :rolleyes:

Amity
03-29-2018, 12:02 PM
will try it once I get home; and that could take from anywhere between 8 hours until monday.

GEN
03-30-2018, 07:01 AM
128593
rip

CernodileHD
03-30-2018, 07:26 AM
I understand you want to import your login system from social media, but Facebook really isn't the best option. Especially after what happened with Cambridge Analytica, I'd steer far away from them solely because of permanent data collection. Twitter wouldn't be that bad, though.

Seth
04-01-2018, 12:14 AM
Is this just a temporary game that you're messing around with or is this a game that you think will be here to stay for years to come?

Eh, this gamelet is probably more on the temporary side. Its job is to test modules I wrote. (mysql & login types) If for example, I want to see how a "twitter logon" works, this would be a perfect place to try it so I can figure out if it's going to work before basing a big game on it.


I understand you want to import your login system from social media, but Facebook really isn't the best option. Especially after what happened with Cambridge Analytica, I'd steer far away from them solely because of permanent data collection. Twitter wouldn't be that bad, though.

Yeah, wish I knew about that before I added the FB support, I wouldn't have bothered... :sweatdrop:

Oldsock (IGN)
04-01-2018, 04:50 AM
Good game, appeals to the gambling addiction. I gambled away all 100 credits in 2 games :P

peck
04-04-2018, 11:46 PM
Google Plus would probably be the most supported third party login.

tinyshiny
04-20-2018, 06:01 PM
I understand you want to import your login system from social media, but Facebook really isn't the best option. Especially after what happened with Cambridge Analytica, I'd steer far away from them solely because of permanent data collection. Twitter wouldn't be that bad, though.

Gotta say it's not bad, but I definitely agree with what he's saying.. :whistling:

Gestalt
04-23-2018, 11:46 PM
Guest mode doesn't have problems for me, and it's pretty decent. A bit laggy on mobile (samsung galaxy 2 tablet with Puffin) but works for me. Also that #1 guy on the leaderboards plays this way too much.

- - - Updated - - -


128593
rip

I need to try this

Seth
04-30-2018, 05:32 AM
Game over! Congrats to the winners.

128597

TheArctic
05-01-2018, 12:55 PM
oof I wanted to play, but I was too late.

GEN
05-11-2018, 06:28 AM
Game over! Congrats to the winners.

128597

Not bad at the 9th place.
:yeah:

Oldsock (IGN)
05-17-2018, 12:34 AM
Got meself 3rd place, ggwp.