A game inspired with the help of @Atari7! With a live leaderboard, you can compete with friends and compare your skills to other players! Complex strategy, never-ending fun, will keep you busy at night. A farming extravaganza, with strategy, thinking, farming, and a bit of luck, have fun!
PS: Those of you who have seen this before, it now works for anybody!
something is wrong w/ your database specifically the avg function im assumuing its because a user haxor overflowed the average function but i cant test it beacuse in dont have the mongo password
@PYer The average function on the server-side is fine, but only taking the first 8 characters in
getavg makes it work wrong for large numbers. You should use
round or something like this instead. And for security, you could record the users actions and simulate them on the server to make sure the score is legitimate.
@pyelias you would have to do everything on the server move by move because whats stopping someone from faking there actions by changing the benefits that happens while playing. if replit supports it i would recommend websockets to stop the delay from opening a connection and posting each time