levelsystem/levelsystem

PHP class for generating level system

dev-master 2022-11-05 19:24 UTC

This package is not auto-updated.

Last update: 2024-04-09 06:39:46 UTC


README

Scrutinizer Code Quality Code Coverage Build Status

Game user level system

This project is for college.

The class's constructer takes in three arguments. X- and Y-value, which is basically anything you want it to be. These values are calculated inside the class based on the bar level, which is preLevel.

The level system is built on -c = 1x+(-yx), where C is the bar level (bar level = if the user should level up, down or keep same level).

To get the main idea take a look at pictures #1 and #2.

License

This software is free software and carries a MIT license.

test

TESTAR NY