user point and rank with spending time on site

how can i creat a options that users can got point and level with spending time on site.
if user registered now. status shows 0 point level 1
if user has been registered 1 hour ago . status shows 60 point and shows badge 1 under username in anywhere
if user has been registered 2 hour ago . status shows 120 point and shows badge 2 under username in anywhere
if user has been registered 3 hour ago . status shows 180 point and shows badge 3 under username in anywhere
and …
at all allow users got level and badge with spending time on site
just in wordpress platform
please help tnx