Skip to content

Wrapper around the game with a licensing server

Notifications You must be signed in to change notification settings

zaleos/pet-2021p2-mr-part2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo is a wrapper around my browser game.

It acts as a client of Licesing Server. Before letting to play it asks user for his token (aka. login), if the Lisencing Server approves the token - wrapper provides access to the game.

Then, during the whole session wrapper periodically pings licensing server to make sure there were no other sessions authorized with the same token. If there are sessions authorized - wrapper stops older sessions unless reauthorized.

This project is can be tesed here. There are several valid tokens:

  • very-secret-1
  • very-secret-2
  • asdf

For this system to work you may need to warm up Heroku with backend first (Limitations of free tier deplouments). To do that go to the link: https://fast-tor-84943.herokuapp.com/ and wait until website loads.

alt demo

About

Wrapper around the game with a licensing server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 65.1%
  • HTML 22.4%
  • CSS 12.5%