Strepkills

Making a multiplayer game
- Player controlled avatar
- Eliminating latency/delay
- Mind-blowing Gameplay
WebSockets
A communications protocol
Provides full-duplex communication channels.
Guarantees order of delivery for packets.
ActionCable
ActionCable seamlessly integrates WebSockets with Rails
Provides a client-side JavaScript framework and a server-side Ruby framework
Two sockets one connection
Client socket ——————————— Server socket
123.52.412.2:1337 youtube.com:80
IP address:Port number ——————— Domain:Port number
Rubyracer
Enables JavaScript inside Ruby
Manipulates JavaScript objects and functions from Ruby
Rails
To make a hub for multiple games
Easy to add authentication and deploy to Heroku
Integration with Postgres
The key to success
WebSockets Teamwork
- Excellent board diagrams
- Clear communication
- Efficient delegation of tasks

Challenges
- No idea how web sockets worked
- Eliminating latency and avatar delay
- Running JS in Ruby
- Breaking and remaking the game
- Hackers

Break. Fix. Repeat.

strepsils.herokuapp.com/game

Thank you for playing
Keran
Tim
Rhys
Varun
Xin
Stalk us on GitHub- https://github.com/Xin00163/mmog
Strepsil Wars
By rspecgod
Strepsil Wars
- 374