This is an example project I made for Grails using websockets and AngularJS.
Install and play a collaborated blackjack game! Requires Grails version 2.4.0+ (needs Spring 4+)
This code exemplifies
-
hybrid usage of AngularJS / Grails GSP
-
Websockets and Ajax
Still left to do:
-
Authenticate users who subscribed to socket feed
-
Conform the backend to Observer pattern using Spring 4 tools
-
Might want to find a better alternative to "Thread.sleep" for enabling the timer
-
Missing Unit Tests/Integration Test
-
Track how many loses/wins per player