Skip to content

gcolman/giftswap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GiftSwap App

This is the giftswap react.js app. It's a work in progress!

To run, you will need the gameserver app running on a serverr somewhere. (https://github.com/gcolman/giftswap-gameserver) That server exposes a websocket to the game front end on port 8080. The game serber imports a config file (TODO it's hard coded at the moment) containing all of the uplopaded gift information and image locations.

The front end allows users to log in (god no there's no real security in there!) with a username that must correspond to a user in the config. and then play the game. An admin function to start the game sto, pause, chose next user etc is in there too.

The game will run on Red Hat OPenshift, just use a Node.js S2I image builder and point to this repo.

TODO

  • Externalise things into properties (ws address)
  • All images are in this repo, needs to be config.

About

Redhat Xmas giftswap game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published