Skip to content

jsolce/PoshOptimizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

This is a optimizer for a Posh order that I wrote for my fiance.

The basic logic goes:

	Intake order
	Order descending by price
	Group into sets of 6 (buy 5, get 6th free)
	Using only groups, determine the party level
	Assign hostess rewards by using credit if over 50% of price,
		else use a 1/2 off item
	Print the final order total

About

Playing around with an algorithm to optimize a Posh order.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages