What it does

The game takes an order that is filled with items. The items can be products or payments and then the code returns an output based on the given order values. The game now works as intended so people can't walk away with free items, or incorrect net values.

How we built it

Using a simple limitation on how large a payment can be and checking a range of values for the net value, the code is now secure and works by securing edge cases.

What we learned

Make sure all edges cases thought about and tested before deploying public code.

Built With

Share this project:

Updates