Thursday, August 28, 2014

Play fisherman game on BlueMix

I think most of people played a game named fishermen on Andriod or IOS device.I think we can do a html version on BlueMix.I have deployed it on the http://fisherman.mybluemix.net/,you can play it online.

Actually it is a very simple html js project ,I think you can do it yourself.

1.First download the game source code,you can get it from http://pan.baidu.com/s/1i3IHkK9
2.Unzip the code to your disk for example c:\finsherman
3.use cf command to deploy the code.Use cf command to login.

C:\Users\IBM_ADMIN>cf login
API endpoint: https://api.ng.bluemix.net

Username>XXXXs@gmail.com

Password>
Authenticating...
OK
 4.Since the site is static sites,we will use nginx-buildpack to deploy our application.


C:\fishman>cf push -b https://github.com/cloudfoundry-community/nginx-buildpack
fisherman

After deployed,you can launch the http://fisherman.mybluemix.net to play this game.Just enjoy it!

No comments:

Post a Comment