Assignment 5: Multi-User Mobile Experience

Since I am starting to become more comfortable with the setup used to get client and server to communicate, I thought this was going to be a fairly simple get, but unfortunately, such was not the case.

Perhaps it’s because I have never worked on any mobile-based pages of any kind before, but, I did struggle a lot to get my mobile page to control my desktop side page using the socket. Eventually, I did just have to ask my friend for help figuring it out.

This makes the mobile piece become the controller for the desktop part, where multiple people can play with the snake and drag it around different directions.

It’s bumpy, to say the least – but it is finally sending data from mobile to desktop.

My code is here.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s